Skip to content
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

W&B id is always the same and continue with the old logging. #1851

Closed
TommyZihao opened this issue Jan 6, 2021 · 5 comments · Fixed by #1852
Closed

W&B id is always the same and continue with the old logging. #1851

TommyZihao opened this issue Jan 6, 2021 · 5 comments · Fixed by #1852
Labels
bug Something isn't working

Comments

@TommyZihao
Copy link
Contributor

When I run train.py to train a new mission, W&B always generates the same ID and continue(append) with the old visualization.
I have tried to relogin wandb, change the --name, --project, --data, but not work.
I tried wandb init, it indeed generates a new ID, but when I run train.py, it's the old ID again.

@TommyZihao TommyZihao added the bug Something isn't working label Jan 6, 2021
@TommyZihao
Copy link
Contributor Author

I also tried to reboot my cloud server, change the user account of W&B

@TommyZihao
Copy link
Contributor Author

image

@TommyZihao
Copy link
Contributor Author

image

TommyZihao added a commit to TommyZihao/yolov5 that referenced this issue Jan 6, 2021
Fix the bug of always the same W&B ID  and continue  overwrite with the old logging.
BUG report
ultralytics#1851
@TommyZihao
Copy link
Contributor Author

I have fixed this bug.
See my PR
#1852

TommyZihao added a commit to TommyZihao/yolov5 that referenced this issue Jan 6, 2021
fix the bug of ultralytics#1851
If we had trained on yolov5s.pt, the program will generate a new unique W&B ID.
If we hadn't, the program will keep the old code, we can still use --resume aug.
@glenn-jocher
Copy link
Member

@TommyZihao thanks for the PR, will move the conversation over there.

@glenn-jocher glenn-jocher linked a pull request Jan 7, 2021 that will close this issue
glenn-jocher added a commit that referenced this issue Jan 7, 2021
* Update train.py

Fix the bug of always the same W&B ID  and continue  overwrite with the old logging.
BUG report
#1851

* Fix the bug of duplicate W&B ID

fix the bug of #1851
If we had trained on yolov5s.pt, the program will generate a new unique W&B ID.
If we hadn't, the program will keep the old code, we can still use --resume aug.

* Update general.py

* revert train.py changes

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
KMint1819 pushed a commit to KMint1819/yolov5 that referenced this issue May 12, 2021
* Update train.py

Fix the bug of always the same W&B ID  and continue  overwrite with the old logging.
BUG report
ultralytics#1851

* Fix the bug of duplicate W&B ID

fix the bug of ultralytics#1851
If we had trained on yolov5s.pt, the program will generate a new unique W&B ID.
If we hadn't, the program will keep the old code, we can still use --resume aug.

* Update general.py

* revert train.py changes

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
vasilije77 added a commit to vasilije77/YOLOV5 that referenced this issue May 29, 2022
* Update train.py

Fix the bug of always the same W&B ID  and continue  overwrite with the old logging.
BUG report
ultralytics/yolov5#1851

* Fix the bug of duplicate W&B ID

fix the bug of ultralytics/yolov5#1851
If we had trained on yolov5s.pt, the program will generate a new unique W&B ID.
If we hadn't, the program will keep the old code, we can still use --resume aug.

* Update general.py

* revert train.py changes

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this issue Aug 26, 2022
* Update train.py

Fix the bug of always the same W&B ID  and continue  overwrite with the old logging.
BUG report
ultralytics#1851

* Fix the bug of duplicate W&B ID

fix the bug of ultralytics#1851
If we had trained on yolov5s.pt, the program will generate a new unique W&B ID.
If we hadn't, the program will keep the old code, we can still use --resume aug.

* Update general.py

* revert train.py changes

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
SecretStar112 added a commit to SecretStar112/yolov5 that referenced this issue May 24, 2023
* Update train.py

Fix the bug of always the same W&B ID  and continue  overwrite with the old logging.
BUG report
ultralytics/yolov5#1851

* Fix the bug of duplicate W&B ID

fix the bug of ultralytics/yolov5#1851
If we had trained on yolov5s.pt, the program will generate a new unique W&B ID.
If we hadn't, the program will keep the old code, we can still use --resume aug.

* Update general.py

* revert train.py changes

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
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants