MohsenZand / ObjectBox

(ECCV 22 Oral) ObjectBox: From Centers to Boxes for Anchor-Free Object Detection
GNU General Public License v3.0
131 stars 16 forks source link

Training collapse at about 188 epochs. #12

Closed GeoffreyChen777 closed 1 year ago

GeoffreyChen777 commented 1 year ago

Hi, thanks for your great work!

I'm using your code on a custom dataset. I transformed my dataset into your required format and then train the model on it.

At the beginning of the training, everything was fine. But at about 188 epochs, I got this:

image

Do you have any insights on this such as any parameters changes at this step?

Best wishes.

MohsenZand commented 1 year ago

Thank you! You can start with a smaller initial learning rate (it's in the 'hyp.yaml'). Also, changing the learning rate at epoch ~ 150 would help. Some data augmentations are also possible. Despite being available in the code, they are not utilized in the reported results. So, check out the 'hyp.yaml' and 'flag_sets.py'.

GeoffreyChen777 commented 1 year ago

Thanks!