Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gtk-ERROR: Using GTK+ 2.x and GTK+ 3 in the same process is not supported #86

Closed
Tetsujinfr opened this issue Apr 1, 2021 · 1 comment

Comments

@Tetsujinfr
Copy link

Tetsujinfr commented Apr 1, 2021

hi

I got the below error, did anyone had this? I do not know where that comes from, no much details in the error message.
Based on some internet research, it might be due to the program linking a mix of gtk 2.0 and gtk3.0 libraries at compilation time: is that possibly related to the cytonizing step ?
Where is gtk used in this ? for rendering the windows displaying the images/videos processed?

I am on Jetson XavierNX.
I have tried this fix but that did not work for me...

Thanks for your help.

The error message at inference time:

python3 eval.py --trained_model=weights/yolact_edge_54_800000.pth --score_threshold=0.3 --top_k=100 --image=input_image.png:output_image.png

(eval.py:14109): Gtk-ERROR **: 10:52:44.269: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
Trace/breakpoint trap

@Tetsujinfr
Copy link
Author

so I could not find a way to solve the above, but I know the issue arises from the import matplotlib.pyplot as plt instruction in eval.py, so i did comment it for now since I do not need to generate plots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant