Inference colab notebook error
sangeethkumar1997 opened this issue · 1 comments
sangeethkumar1997 commented
AttributeError Traceback (most recent call last)
in ()
----> 1 from mmdet.apis import init_detector, inference_detector, show_result_pyplot
2 import mmcv
3 # Load model
4 config_file = '/content/CascadeTabNet/Config/cascade_mask_rcnn_hrnetv2p_w32_20e.py'
5 checkpoint_file = '/content/epoch_36.pth'
16 frames
/usr/local/lib/python3.7/dist-packages/cv2/gapi/init.py in ()
288
289
--> 290 cv.gapi.wip.GStreamerPipeline = cv.gapi_wip_gst_GStreamerPipeline
AttributeError: module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline'
sangeethkumar1997 commented
Uninstall cv2
pip install opencv-contrib-python