AttributeError: 'module' object has no attribute 'ocl'
See original GitHub issueWhen invoke this command:
python2 tools/infer_simple.py \
--cfg configs/12_2017_baselines/e2e_mask_rcnn_R-101-FPN_2x.yaml \
--output-dir /tmp/detectron-visualizations \
--image-ext jpg \
--wts https://s3-us-west-2.amazonaws.com/detectron/35861858/12_2017_baselines/e2e_mask_rcnn_R-101-FPN_2x.yaml.02_32_51.SgT4y1cO/output/train/coco_2014_train:coco_2014_valminusminival/generalized_rcnn/model_final.pkl \
demo
got this error:
Traceback (most recent call last):
File "tools/infer_simple.py", line 51, in <module>
cv2.ocl.setUseOpenCL(False)
AttributeError: 'module' object has no attribute 'ocl'
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
How to solve AttributeError: 'module' object has no attribute ...
When this code is executed I get the result, AttributeError: 'module' object has no attribute 'createBackgroundSubtractorMOG'.
Read more >AttributeError: 'module' object has no attribute 'face' [closed]
I am trying to install OpenCV with the extra modules in opencv_contrib ... AttributeError: 'module' object has no attribute 'face' [closed].
Read more >Path Missing 3D Surface (OCL and ... - FreeCAD Forum
3) The 3D Path menu and toolbar only have 3D Pocket available, no 3D ... <class 'AttributeError'>: module 'ocl' has no attribute 'CylCutter'...
Read more >[Solved] AttributeError: 'module' object has no attribute
Click here to subscribe - https://www.youtube.com/channel/UCeVMnSShP_Iviwkknt83cww▻Instagram ...
Read more >Error loading napari-pyclesperanto-assistant - Usage & Issues
_napari_plugin' 319 if self.is_registered(module): File ... 57 return result AttributeError: 'SignalInstance' object has no attribute ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I compiled OpenCV 3.4 from source, and can confirm that this error was fixed by using OpenCV 3.4.
Maybe you’re using opencv 2?