Closed DavidKong96 closed 4 years ago
You should train the pre-trained encoder using only the training categories in our setting. As the pre-trained model by torchvision may use the categories that serves as our testing categories to train the model, you should train the encoder from scratch. According to Table A5 in this paper, the model size does not have a significant impact on the few-shot classification performance. Hope that answers your questions.
ok,thanks. i will try it .It's very helpful
Thanks for your sharing. There is a question about should i train the pre-trained encoder from 0 ,or i can transfer the weights of resnet10/18/34 to train the model. Will that have any impact? Such as decreased accuracy, overfitting? And is ResNet34 performs worse than resnet10 or 18? I just got in touch with this cross-domain not long,hope you can reply.It will help me a lot. Thank you so much!