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

Unable to open file yolov4.h5 #25

Open
AlexDeLara opened this issue Jan 7, 2021 · 2 comments
Open

Unable to open file yolov4.h5 #25

AlexDeLara opened this issue Jan 7, 2021 · 2 comments

Comments

@AlexDeLara
Copy link

Hi,

First of all, cogratulations on your project. I'm trying to run it streaming my android camera. However, after running both files and opening localhost:5000, this error pops up in the app.py console. I've already modified it to use just one camera. GPU is enabled and already increased the time in base_camera.py to prevent YOLO threat from shutting down. Did you face something similar? I would appretiate your advice.

Stopping YOLO thread for device 0 due to error.
Unable to open file (unable to open file: name = 'model_data/yolo4.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

Thank you in advance,
-Alex

@xd905
Copy link

xd905 commented Jan 23, 2021

请问你解决了吗?我现在跟你遇到了同样的问题

@joelmap
Copy link

joelmap commented Jan 27, 2021

You have to download yolov4.weights as indicated here (https://github.com/Ma-Dan/keras-yolo4) and follow the conversion instructions, so you will get the .h5 file.

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