-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
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
resume problem #1884
Comments
@sezarxray --resume accepts zero additional arguments. The proper usage is: python train.py --resume # resumes from most recent training
python train.py --resume path/to/last.pt |
thanks but even with you code problem exist! |
before resume: Epoch gpu_mem box obj cls total targets img_size 17/149 7.45G 0.01701 0.0367 0.0006905 0.05439 116 1024: 89%|▉| 1108/1247 [1:45:07<13:11, 5.69^C after resume: Epoch gpu_mem box obj cls total targets img_size 16/149 7.41G 0.1392 0.08824 0.009352 0.2368 114 1024: 1%|▏ | 8/1247 [00:10<23:21, 1.13s/it] |
@sezarxray --resume operates correctly. If you believe otherwise please file a full bug report with exact code to reproduce. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Before submitting a bug report, please be aware that your issue must be reproducible with all of the following, otherwise it is non-actionable, and we can not help you:
If this is a custom dataset/training question you must include your
train*.jpg
,test*.jpg
andresults.png
figures, or we can not help you. You can generate these withutils.plot_results()
.🐛 Bug
resume comment results in drop in accuracy
To Reproduce (REQUIRED)
python train.py --img 1024 --batch 16 --epochs 150 --data dataset_9910.yaml --weights yolov5m.pt --hyp hyp_evolved.yaml --workers 8 --name=p1 --resume
Environment
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: