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

No detection with custom weight #140

Open
ndmreda opened this issue May 12, 2022 · 3 comments
Open

No detection with custom weight #140

ndmreda opened this issue May 12, 2022 · 3 comments

Comments

@ndmreda
Copy link

ndmreda commented May 12, 2022

Hello,
I tried to run the algorithm on my custom weights file but when I launch the code on my camera it detects nothing knowing that I tested the saved_model.pb file and it detects well, Did anyone come across any problems that I have and came up with a solution, please?
I use Tensorflow-gpu 2.6

@AliAlmuhaysin
Copy link

try replacing save_model.py in the current repository
by save_model.py in theAIGuysCode/yolov4-custom-functions then save the model again and don't forget to change the model config and classes file

I found that there are some issue in saving the weights when you use GPU to run the code.
hope it will fix your problem.

@ndmreda
Copy link
Author

ndmreda commented May 27, 2022

it doesn't work, I think it's the same file there is no difference between the two

@selfcar2022
Copy link

Did you reinstall tensorflow-gpu==2.3.0 ?

Installing that version of Tensorflow solved the Binding Box problem.

So try the next code.

pip install tensorflow-gpu==2.3.0

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

3 participants