-
-
Notifications
You must be signed in to change notification settings - Fork 16.8k
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
best.pt not saved when it is from the last epoch #542
Labels
bug
Something isn't working
Comments
@AlexWang1900 yes, good point! I do believe you've found a bug. Would you like to submit a PR or should I include this in the next push? |
I'd Like to summit a PR!
…---Original---
From: "Glenn Jocher"<notifications@github.com>
Date: Wed, Jul 29, 2020 02:21 AM
To: "ultralytics/yolov5"<yolov5@noreply.github.com>;
Cc: "Mention"<mention@noreply.github.com>;"AlexWang1900"<41888506@qq.com>;
Subject: Re: [ultralytics/yolov5] best.pt not saved when it is from the last epoch (#542)
@AlexWang1900 yes, good point! I do believe you've found a bug. Would you like to submit a PR or should I include this in the next push?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
AlexWang1900
added a commit
to AlexWang1900/yolov5
that referenced
this issue
Jul 29, 2020
Merged
glenn-jocher
added a commit
that referenced
this issue
Jul 31, 2020
Issue resolved, removing TODO. |
KMint1819
pushed a commit
to KMint1819/yolov5
that referenced
this issue
May 12, 2021
* fix ultralytics#541 ultralytics#542 * Update train.py Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
KMint1819
pushed a commit
to KMint1819/yolov5
that referenced
this issue
May 12, 2021
* fix ultralytics#541 ultralytics#542 * Update train.py * Add Frelu * Update activations.py PEP8 and format updates for commonality with models.common.Conv() * Update activations.py Update case * Update activations.py Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
BjarneKuehl
pushed a commit
to fhkiel-mlaip/yolov5
that referenced
this issue
Aug 26, 2022
* fix ultralytics#541 ultralytics#542 * Update train.py Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
BjarneKuehl
pushed a commit
to fhkiel-mlaip/yolov5
that referenced
this issue
Aug 26, 2022
* fix ultralytics#541 ultralytics#542 * Update train.py * Add Frelu * Update activations.py PEP8 and format updates for commonality with models.common.Conv() * Update activations.py Update case * Update activations.py Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
git fetch && git status -uno
to check andgit pull
to update repoIf 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
in train.py line: 390
```
if (best_fitness == fi) and not final_epoch: ###
torch.save(ckpt, best)
del ckpt
The text was updated successfully, but these errors were encountered: