-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Unstable training #974
Comments
I run into the same problem, my dataset has a lot of small targets。 |
This is something I've noted in Yolov5 as well, some time ago. There was a longer discussion about it here 👍 ultralytics/yolov5#5721 There, as well, a suspicion was, that it was due to very small objects in the custom training data. I have to say that I didn't do anything to tackle this problem, however, with the latest version of yolov5 the training with the same data is running much smoother, without any sudden dopps of performance. Since this Yolov7 repository is based heavily on the Yolov5 implementation, I can only assume, that is has the same issues, which do not seem to be present in the current Yolov5 version but still persist in Yolov7. |
I really appreciate that you took your time emailed me about these.I have learned what you said and it has helped me a lot. Thank you very much and wish you have a good day!
在 2022-10-25 16:07:36,"Gordon Böer" ***@***.***> 写道:
This is something I've noted in Yolov5 as well, some time ago. There was a longer discussion about it here ultralytics/yolov5#5721
There, as well, a suspicion was, that it was due to very small objects in the custom training data. I have to say that I didn't do anything to tackle this problem, however, with the latest version of yolov5 the training with the same data is running much smoother, without any sudden dopps of performance.
Since this Yolov7 repository is based heavily on the Yolov5 implementation, I can only assume, that is has the same issues, which are do not seem to be present in the current Yolov5 version.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Greetings Contributors,
I trained yolov7 with my custom dataset and got weird results.
After 140 epochs, one goes to 0 mAP and the other one swings strangely.
The only thing I do is just augmentation like copy & paste, which copies objects from another images and paste it.
I know that "copy & paste" is for segmentation, because in detection, it have to copy its background as well.
So, there might be some flaws. However it is well trained on yolov5. Also, It was stable.
And more strange thing is that it is well trained at next try with powerful recover ability. It recovered from 0 mAP.
Is it common in yolov7? Could you let me know why it happens?
Learning rate can be shown in below.
The text was updated successfully, but these errors were encountered: