-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ways of further improving #1
Comments
Hi @seovchinnikov, very cool. No I didn't do that, that might be a good thing to try. |
Also, Im planning to try feature fusion for all layers as in https://arxiv.org/pdf/1604.00133.pdf |
I will check it out, thanks for the link. Would be great if you let us know how it went, would be good for others (including me) who might want to replicate. |
Ok, thank you, I'll write here about results. |
Also @seovchinnikov, would be great if you can put pointers here for your Keras code as well if you are okay with that. |
I've created draft for resnet50 here (hardcoded include_top=True) |
I've finished evaluation and it's 98.0 now. So it improved for around 1.3% on my dataset. I think its good result because it doesnt require additional computation of convolutions. |
Also, I would like to try resnet101, resnet152, and apply the same technique |
@seovchinnikov I am working on something similar, do you have a notebook where I can test your approach? Also are you using the same INRIA Holiday Photos Dataset? |
@anilmaddala, hey I did not test it on holiday dataset but on my own dataset it increases accuracy (look at some comments above). So you need just replace factory function call in the code by ResNet50Fused and train as usual. Please see https://github.com/sujitpal/holiday-similarity/blob/master/src/03-pretrained-nets-vectorizers.ipynb Please let me know if you'll get numbers on the holiday dataset |
Thats great, be careful though, it may be more prone to overfitting because it contains more low level features |
Hi @seovchinnikov thank you very much for posting your code and as @taflahi pointed above it shown a great improvement in accuracy for holiday dataset. Can I use your code keras code for applying it to any other similar applications ? |
I'm glad it helps you, feel free to try it on other datasets (big enough) 👍 |
Thank you very much @seovchinnikov |
Hi @seovchinnikov @sujitpal , |
If you do have problem with simply change it happens due to differences in Keras versions |
@taflahi |
Hey,
Ive tried your different setups, and I got around 96.7 on my dataset with resnet and nn classifier with l1 distance.
Did you try combine multiple pretrained cnns to get more features for classification step?
The text was updated successfully, but these errors were encountered: