Replies: 1 comment
-
I've heard this type of thing too, but I don't know if there is real evidence to back it up.
So you used the cross entropy loss for training?
Well in pretty much every application, people will start with a pretrained model. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all, thanks for this excellent library and it really helps.
I was told metric learning was very helpful for few shot learning problem, but I don't know if my coding logic is correct ,because I got different result in experiment.
The dataset I use is an open source plant species dataset and total of 30 categories, each category 50 images.
Using the resnet50(pretrained = True) to process the dataset, highest accuracy is about 96%
Using the resnet50(pretrained = True) as backbone to form the siamese network (positive pair and negative pair) to process the dataset, highest accuracy is about 90%
It seems that siamese network cannot perform better than single CNN even in very small size dataset.
I have some thoughts
50 images for each category is not small a size dataset, probably I should use 5 images for each category.
Probably use pretrained model is not fair for metric learning method.
Welcome to discuss.
Beta Was this translation helpful? Give feedback.
All reactions