-
Notifications
You must be signed in to change notification settings - Fork 8k
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
About Mixup #4446
Comments
Just set in cfg-file:
Use flag if you don't want to show them (just for saving jpg files) use: For Classifier there are:
For Detector there are: |
Hi @AlexeyAB , thank you very much for your help. Can't cutmix=1 be used to train a detector yet? Looking forward to hearing from you, thanks a lot. |
@AlexeyAB
|
If you set both - then will be used only Mosaic
Because in the most tests MixUp doesn't give any gain in AP during training Detector (MixUp gives boost of accuracy only for training Classifier with mixup=1, and then this pre-trained weights file with higher Top1 is used for training Detector with mixup=0 - so it gives higher ~+4 AP) Mosaic should increase accuracy for both training Classifier and Detector. So is recommended:
|
@AlexeyAB Or should I train Classifier with mosaic=1 at first,and then this pre-trained weights file with higher Top1 is used for training Detector with mosaic=1? |
Yes, you can. And it will increase accuracy. |
@AlexeyAB But I can train |
|
|
@AlexeyAB |
@AlexeyAB |
@AlexeyAB
|
@AlexeyAB |
@nyj-ocean Re-train Darknet53.cfg classifier with and use this new pre-trained weights |
@AlexeyAB After training, I use the
It gets a 0.6% improvement in I am not sure this improvement in |
@nyj-ocean In such cases, they usually train 3 times with mixup=1 and 3 times without, and take average accuracy. But instead I suggest to train Detector with new mosaic=1 |
@AlexeyAB |
@AlexeyAB
It gets a 0.2% improvement in
|
@nyj-ocean Do you use the latest version of Darknet? |
I download this repo and start to train |
Hi, @AlexeyAB .
How to use mixup in training networks?
How to see the changes in training images and save them?
The text was updated successfully, but these errors were encountered: