-
-
Notifications
You must be signed in to change notification settings - Fork 16.4k
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
Fix segment evolution keys #9742
Conversation
Hi, python segments/train.py --data coco128-seg.yaml --weights yolov5s-seg.pt --img 640 --epochs 1 --batch-size 3 --evolve still produces this: File ".../PycharmProjects/yolo/segment/train.py", line 674, in Cheers, |
@AdrianStkr hi, thank you for your feature suggestion on how to improve YOLOv5 π! The fastest and easiest way to incorporate your ideas into the official codebase is to submit a Pull Request (PR) implementing your idea, and if applicable providing before and after profiling/inference/training results to help us understand the improvement your feature provides. This allows us to directly see the changes in the code and to understand how they affect workflows and performance. Please see our β Contributing Guide to get started. |
Hi,
best wishes, |
@AdrianStkr you can see the segmentation losses here: Lines 104 to 111 in 16f87bb
I'd recommend not modifying the order of the keys in utils/segment/metrics.py |
@glenn-jocher Thank you for the very fast response and the valuable information! the correct set and order of keys used in print_mutation is: IΒ΄ll implement the solution in a PR. |
@AdrianStkr great, thanks! |
I would like to ask question. I still get the same error after training when i enable --evolve parameter. 1 epochs completed in 0.002 hours. is there any solution for this? |
@ahmadtulsi I've able to reproduce this with Lines 556 to 645 in 443ef7f
|
I have created a PR (#11109 ) that fixes this error. |
@iker-lluvia That's fantastic! Thank you for your contribution. I'll review the PR as soon as possible. Your help is much appreciated! |
π οΈ PR Summary
Made with β€οΈ by Ultralytics Actions
π Summary
Refinement of mutation results reporting in training scripts.
π Key Changes
print_mutation
function to acceptkeys
as a parameter.train.py
andsegment/train.py
to specify keys when callingprint_mutation
.print_mutation
function inutils/general.py
.π― Purpose & Impact