-
-
Notifications
You must be signed in to change notification settings - Fork 16.5k
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
TypeError: must be real number, not str with evolve #566
Comments
Hello @gizemtanriver, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Jupyter Notebook , Docker Image, and Google Cloud Quickstart Guide for example environments. If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you. If this is a custom model or data training question, please note Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:
For more information please visit https://www.ultralytics.com. |
@gizemtanriver hi, thank you for the bug report. Yes you are correct, --evolve is currently out of order due to recent PRs. It's on a long list of TODOs. I can not give you an ETA. In the meantime it's inoperable. |
@gizemtanriver this bug should be fixed now. Let me know if you find otherwise. |
Hi, I'm on master branch with commit 9cf80b7. I'm still getting this error |
@weizhou1001 👋 hi, thanks for letting us know about this possible problem with YOLOv5 🚀. --evolve works correctly, I just tested now: !python train.py --img 640 --batch 16 --epochs 3 --data coco128.yaml --weights yolov5s.pt --evolve 5 We've created a few short guidelines below to help users provide what we need in order to get started investigating a possible problem. How to create a Minimal, Reproducible ExampleWhen asking a question, people will be better able to provide help if you provide code that they can easily understand and use to reproduce the problem. This is referred to by community members as creating a minimum reproducible example. Your code that reproduces the problem should be:
For Ultralytics to provide assistance your code should also be:
If you believe your problem meets all the above criteria, please close this issue and raise a new one using the 🐛 Bug Report template with a minimum reproducible example to help us better understand and diagnose your problem. Thank you! 😃 |
Hi, thanks for this amazing repo first of all!
I am working with the v2.0 release of the repo and so far I got quite promising results on my custom dataset. I tried to use --evolve today but I am getting a TypeError from the print_mutation function in utils.py at the end of the first run. It seems to be related to 'SGD' in hyp dictionary - which is a string. I see that the optimizer parameter was added to the dict in v2.0 so I guess this wasn't an issue in the previous release.
Input:
Output:
The text was updated successfully, but these errors were encountered: