DevashishPrasad / CascadeTabNet

This repository contains the code and implementation details of the CascadeTabNet paper "CascadeTabNet: An approach for end to end table detection and structure recognition from image-based documents"
MIT License
1.46k stars 422 forks source link

Inference colab notebook error #165

Closed sangeethkumar1997 closed 2 years ago

sangeethkumar1997 commented 2 years ago

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 2 years ago

Uninstall cv2 pip install opencv-contrib-python