-
Notifications
You must be signed in to change notification settings - Fork 168
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
getting error when converting yolo-obj.weights to yolo-obj.h5 #12
Comments
Make sure these are correct: Deep-SORT-YOLOv4/tensorflow1.14/deep-sort-yolov4/convert.py Lines 163 to 166 in 695ef5d
|
@LeonLok yes, I changed them and then the above error is coming. Is there anything to do with custom cfg file?. |
Perhaps this is not correct:
|
Input shape, anchors and classes are correct.
and for my custom weights model, it is something like this:
the weights (32032000 and 6400) are around too more for yolov4.weights compare to my model. Is there something to do with this or it doesn't matter?. Should I train fully [ 2000 *3 i.e. according to darknet ,we should train for 2000 *len(labels) times ] for 6000 iterations and obtain weights file(yolo-obj_6000.weights), then I should convert it to keras model or I can convert yolo.weights model to keras model at any iteration? |
To be honest, I don't know. I've never had that problem. Perhaps this is your problem: qqwweee/keras-yolo3#17 (comment) I did not write |
Hello, has anyone solved this problem yet? |
bump? |
Any Fix? |
I stumbled into this issue too. The repo has repeated code for boilerplate of
You just need to copy the |
Hi,
I have worked on training yolo-custom.weights with my own dataset. I took the mode(yolo-obj_1000.weights) when it finished 1000 iterations and tried to convert it to yolo-obj_1000.h5.
But I am getting the following error:
also while testing my custom model yolo-obj_1000.weights, I am getting good results for images and videos
The text was updated successfully, but these errors were encountered: