Unable to open file yolov4.h5
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
请问你解决了吗?我现在跟你遇到了同样的问题
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.