yolov3-tf2
yolov3-tf2 copied to clipboard
How to resume training
How do i resume training, what changes shiuld i make to continue training from where it left
You can just start from the new checkpoint you generated from before. If you take a look on "train.py" you see that every epoch is generating a check point on /checkpoints folder. You can use it as a new weight to start your new train from.
Hmmm, got the same question.
Already tried using the ModelCheckpoint weights, but I receive the following error when doing that:
ValueError: Shapes (255,) and (75,) are incompatible
- Trained the network with the original weights (yolov3.tf) for 10 epochs [colab_gpu.ipynb step 5]
- On epoch 10 'yolov3_train_10.tf' is created
- Restart the training, but instead of passing 'yolov3.tf', I gave it 'yolov3_train_10.tf'
- Throws above error..
Am I missing something?
Hmmm, got the same question.
Already tried using the ModelCheckpoint weights, but I receive the following error when doing that:
ValueError: Shapes (255,) and (75,) are incompatible
- Trained the network with the original weights (yolov3.tf) for 10 epochs [colab_gpu.ipynb step 5]
- On epoch 10 'yolov3_train_10.tf' is created
- Restart the training, but instead of passing 'yolov3.tf', I gave it 'yolov3_train_10.tf'
- Throws above error..
Am I missing something?
@Tomiha Did you solve it?
Regards
Hi @amh28,
Yes, I got it working. If I remember correctly, there was an issue with the number of classes I passed through when training from previous weights.