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

KeyError: 'obj' During YOLOv9 Training Continuation #613

Open
4-alok opened this issue Nov 17, 2024 · 0 comments
Open

KeyError: 'obj' During YOLOv9 Training Continuation #613

4-alok opened this issue Nov 17, 2024 · 0 comments

Comments

@4-alok
Copy link

4-alok commented Nov 17, 2024

I opened a fresh Google Colab and added the new best.pt from the previous session and want to continue training for another 100 epochs.

%cd {HOME}/yolov9
!python train.py \
--batch 16 --epochs 50 --img 640 --device 0 --min-items 0 --close-mosaic 15 \
--data {dataset.location}/data.yaml \
--evolve --resume '/content/yolov9/best (1).pt' \
--cfg models/detect/gelan-c.yaml \
--hyp hyp.scratch-high.yaml

Traceback (most recent call last):
File "/content/yolov9/train.py", line 634, in
main(opt)
File "/content/yolov9/train.py", line 604, in main
hyp[k] = max(hyp[k], v[1]) # lower limit
KeyError: 'obj'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant