CloserLookFewShot icon indicating copy to clipboard operation
CloserLookFewShot copied to clipboard

At finetue stage, is that classifier is new, not finetune from trained?

Open banjuanshua opened this issue 5 years ago • 4 comments

Thank's for your work! I have a question that is it classifier at test stage is new? I can't find classifier loading trained weights in code.

banjuanshua avatar Jul 29 '19 08:07 banjuanshua

The classification layer of baseline and baseline++ is new. For other meta-learning methods, protonet/matchingnet/relationnet do not have classification layer, and MAML would load the trained weight for the entire model (including classification layer).

wyharveychen avatar Jul 30 '19 01:07 wyharveychen

Tanks for your answer. And did you analyze the difference of protonet implement be between yours (74.65% ResNet34) and MetaOptNet(75.60% ResNet12 feature_dimension=16000). I find backbone is different. What's the feature dimension in your protonet?

banjuanshua avatar Aug 02 '19 06:08 banjuanshua

Hello, for the ResNet 34 model, the feature dimension of the final layer is 7x7x2048, but we have included the avg pooling layer, so our feature dimension is 2048.

wyharveychen avatar Aug 03 '19 05:08 wyharveychen

As the difference is not large, it could depend on parameters for training.

wyharveychen avatar Aug 03 '19 05:08 wyharveychen