CenterNet icon indicating copy to clipboard operation
CenterNet copied to clipboard

Transfer Learning on Small Dataset

Open shen338 opened this issue 5 years ago • 7 comments

Hi Xingyi:

Thank you for providing this implementation, Great work!

I was able to get the reported result on COCO dataset. But recently, I need to fine-tune CenterNet model on a small but unique dataset with only ~10000 images.

I plan to freeze the backbone network to train a new classifier and fine-tune whole model afterwards. Is this easy to implement on CenterNet by Torch? Could you provide some necessary information for this? For example, the layer name I need to freeze,

Thank you!

shen338 avatar Jun 10 '19 18:06 shen338

Thanks for your interests. You can refer to DEVELOP.md if you want to try new datasets. 10k images are good enough, I won't freeze any layers. You can finetune from the COCO model by --load_model ../models/ctdet_coco_dla_2x.pth.

xingyizhou avatar Jun 10 '19 21:06 xingyizhou

@xingyizhou Thank you for the quick reply! I will try to fine-tune the whole network with my dataset.

My dataset has some other categories other than COCO's 81 classes. I may need to build my own Dataset instance with src/lic/datasets.

I will report my procedure and result here after I am done. Thank you!

shen338 avatar Jun 11 '19 05:06 shen338

Hey @shen338 ! Have you fine-tuned the model? Can you share your trained model?

PRYUS avatar Jun 24 '19 12:06 PRYUS

@shen338 have some finetuning results to sharing? I met some troubles with finetueing or retraining the network with new dataset?

Ai-is-light avatar Sep 09 '19 15:09 Ai-is-light

The model is related to your specific dataset and it is no need to look at other people's model. Feel free to open a separate issue for your case.

xingyizhou avatar Sep 09 '19 15:09 xingyizhou

Anyone finetunes on own dataset (custom dataset) and gets better results than model provided by the author (Xingyi)? I finetuned and get worset results.

sisrfeng avatar Sep 25 '20 08:09 sisrfeng

Any git hub path for centernet implementation

JSNaidu avatar Aug 11 '22 00:08 JSNaidu