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_mutationfunction to acceptkeysas a parameter.train.pyandsegment/train.pyto specify keys when callingprint_mutation.print_mutationfunction inutils/general.py.🎯 Purpose & Impact