You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you do not know the root cause of the problem / bug, and wish someone to help you, please
include:
I am trying to run the demo script, I have followed the installation in INSTALL.md.
I have an mp4 file and a jpg that I am trying to test.
I get this error when running these: python3 demo/demo.py --config-file configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml --input demo/photo.jpg --opts MODEL.WEIGHTS detectron2://COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x/137849600/model_final_f10217.pkl
(demo.py:23305): Gtk-ERROR **: 22:18:12.953: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
/usr/lib/python3.6/multiprocessing/semaphore_tracker.py:143: UserWarning: semaphore_tracker: There appear to be 1 leaked semaphores to clean up at shutdown
len(cache))
Trace/breakpoint trap (core dumped)
To Reproduce
I have not changed any of the source, I installed and then ran.
The commands are listed above.
I can provide more details if needed, I don't have a 'full log'.
Expected behavior
I was expecting the model to show me the object detections for the video and the image.
I am not too familiar with GTK or multiprocessing, so I don't have a great idea for how to resolve this myself.
Environment
I am on Ubuntu 18.04 on a Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz.
My graphics cards is a GTX 970.
Your version of opencv cannot do imshow. According to the message, it is likely because the GTK version it is built with, is incompatible with some other libraries that's being used (likely matplotlib).
You can use --output to save outputs to files so it does not have to show a window.
To resolve this you'll need to find a different way to install opencv or in the worst case recompile it with proper GTK support so that it works in your environment. We unfortunately cannot help more since it is about installation of opencv.
If you do not know the root cause of the problem / bug, and wish someone to help you, please
include:
I am trying to run the demo script, I have followed the installation in INSTALL.md.
I have an mp4 file and a jpg that I am trying to test.
I get this error when running these:
python3 demo/demo.py --config-file configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml --input demo/photo.jpg --opts MODEL.WEIGHTS detectron2://COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x/137849600/model_final_f10217.pkl
python3 demo/demo.py --config-file configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml --video-input demo/video.mp4 --opts MODEL.WEIGHTS detectron2://COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x/137849600/model_final_f10217.pkl
To Reproduce
I have not changed any of the source, I installed and then ran.
The commands are listed above.
I can provide more details if needed, I don't have a 'full log'.
Expected behavior
I was expecting the model to show me the object detections for the video and the image.
I am not too familiar with GTK or multiprocessing, so I don't have a great idea for how to resolve this myself.
Environment
I am on Ubuntu 18.04 on a Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz.
My graphics cards is a GTX 970.
Thank you, let me know if more information is needed.
The text was updated successfully, but these errors were encountered: