We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Why is this command throwing an error? python train.py --img 640 --batch 32 --epochs 100 --data QMUL.yaml --weights yolov5m6.pt --cache --evolve
python train.py --img 640 --batch 32 --epochs 100 --data QMUL.yaml --weights yolov5m6.pt --cache --evolve
The error message:
Traceback (most recent call last): File "train.py", line 610, in <module> hyp[k] = max(hyp[k], v[1]) # lower limit KeyError: 'anchors'
The text was updated successfully, but these errors were encountered:
I just solved the issue by following https://docs.ultralytics.com/yolov5/tutorials/hyperparameter_evolution#issuecomment-692599379
However, I still don't understand the effect of removing the anchors.
Sorry, something went wrong.
@OrjwanZaafarani for evolution you should uncomment the anchor field in your hyp file. This will allow the anchor count to evolve.
hyp['anchors']
Successfully merging a pull request may close this issue.
❔Question
Why is this command throwing an error?
python train.py --img 640 --batch 32 --epochs 100 --data QMUL.yaml --weights yolov5m6.pt --cache --evolve
The error message:
The text was updated successfully, but these errors were encountered: