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

README Update/ Tutorial on How to Run Program #2

Open
dejazzhands opened this issue May 10, 2023 · 4 comments
Open

README Update/ Tutorial on How to Run Program #2

dejazzhands opened this issue May 10, 2023 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@dejazzhands
Copy link

I read your research paper and I was really impressed with your work. I am trying to train an AI model to do the same thing, and so I tried getting your program to work on my system. I ran into an error "Could not load the Qt platform plugin 'xcb'", among other similar errors from different package installations (to my understanding.)

If you are willing to, would you be able to provide a more comprehensive README on how to set up and get your model running?
I would appreciate it very much.

@zillur-av
Copy link
Owner

zillur-av commented May 10, 2023

Thanks for your interest. Can you please post a screenshot of the error here? You do not need to install anything for my model to work. Just install python packages for yolov5. Besides, please mention your system info like os, python version, cuda version, pytorch, etc.
Also, can you please tell me which part of the readme file you difficult to understand? It would be helpful for me to update it.

@dejazzhands
Copy link
Author

dejazzhands commented May 10, 2023

Sure! I think my current error has to do with a missing .pt file:
image

OS: Windows 10 Home x64, Ubuntu Windows Subsystem for Linux
Python version: 3.8.10
Cuda version: No CUDA IDE installed, no GPU
Pytorch version: 2.0.1

@zillur-av
Copy link
Owner

zillur-av commented May 10, 2023

Yes, you did not download and put the my_coco.pt file in ./yolov5/my_coco.pt. Please use the link mentioned in the readme file. Also, I have not tested it with Pytorch 2.0.1. In case it becomes an issue, use a conda environment on windows.

@zillur-av zillur-av added the documentation Improvements or additions to documentation label May 10, 2023
@dejazzhands
Copy link
Author

dejazzhands commented May 11, 2023

this is the error i get after following the steps:
image

It appears to be the xcb error I was talking about. There's a guide on using opencv-python-headless instead, but I couldn't get it to work.
wkentaro/labelme#842

UPDATE: This might be an issue with OpenCV on Linux.

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

No branches or pull requests

2 participants