You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the YOLOv5 issues and discussions and found no similar questions.
Question
I am new to using the --image-weights flag to train a model. The training process is going well except for the last 25 epochs. During these epochs, the training and validation losses continue to improve, but the mAPs start to decrease. I am wondering if there is some mechanism (such as --image-weights) that is automatically disabled in the last few epochs? (I have searched through the code but cannot find any related code)
👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.
For additional resources and information, please see the links below:
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!
Thank you for your contributions to YOLO 🚀 and Vision AI ⭐
@tino926 the --image-weights flag is not automatically disabled in the last epochs. It continues to be applied during the entire training process. It's likely that other factors, such as learning rate, data augmentation, or model capacity, may be affecting your mAP in the end stages. Feel free to tweak these hyperparameters to further diagnose the issue. If you have other questions, check out the Ultralytics Docs.
Search before asking
Question
I am new to using the
--image-weights
flag to train a model. The training process is going well except for the last 25 epochs. During these epochs, the training and validation losses continue to improve, but the mAPs start to decrease. I am wondering if there is some mechanism (such as--image-weights
) that is automatically disabled in the last few epochs? (I have searched through the code but cannot find any related code)Additional
the training command:
CUDA_VISIBLE_DEVICES=0 python train.py \ --project ... --cfg ... --data ... --img 480 --batch-size 64 --workers 16 --weights ... \ --hyp ./data/hyps/hyp.scratch-low_mosYes_0.0072.yaml \ --image-weights \ --patience 200 --epoch 400 \ --name test_imWgt \ --resume ".../last.pt"
the content in hyp.scratch-low_mosYes_0.0072.yaml
The text was updated successfully, but these errors were encountered: