-
Notifications
You must be signed in to change notification settings - Fork 914
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
How do you resume training? #38
Comments
I simply replaced that part of code with |
How can do it for training from scratch there is no model.load in the no transfer. |
You can simply cut the line "model.load_weights(FLAGS.weights)" and paste it before the "if transfer != none". It will then load the weights you specified. This weight flag then should contain the path to your previously trained weights, something like "./dirPath/yolov3_train_100.tf". Hope this is still of use, if not, maybe for future users having problems with this part. |
Have any of you successfully resumed I tried the method mentioned above but I got:
This is the same error I'd get if I didn't specify the --weight_classes parameter. |
What specific flags should I pass into train.py in order to resume my training checkpoint? I'm not sure if --transfer none, fine_tune, freeze, darknet fit the criteria to resume as they all involve freezing or getting rid of some parts of the weights.
The text was updated successfully, but these errors were encountered: