GithubHelp home page GithubHelp logo

bf3s's People

Contributors

gabrieldemarmiesse avatar gidariss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bf3s's Issues

Regarding training on novel classes

@gidariss Hi, very interesting work. I had a doubt regarding the training mechanism for novel classes. Do you freeze the feature extractor and fine tune on just classification layer (And do you add new classification head for the novel tasks)?

where is the pickle files?

in the code, some codes say that load the miniImageNet_category_split_train_phase_train.pickle
miniImageNet_category_split_train_phase_val.pickle
miniImageNet_category_split_train_phase_test.pickle
miniImageNet_category_split_val.pickle
miniImageNet_category_split_test.pickle

but how can i find this files?

Can the loss on ImageNet-FS finally converge to a small number?

Hi @gidariss , right now I am reproducing the procedure on ImageNet-FS, and trying to train ResNet-10 from scratch by using the following command python scripts/train_fewshot.py --config=ImageNet/ResNet10CosineClassifierRotSelfsupervision --num_workers=8. However, according to my experiement, it seems that the loss of the base model cannot converge to a small number. More specifically, the figure for this will be about 2.0. In this case, I wonder if this result is normal. If not, there may be something wrong for my experiment.

about the backpropogation

when we use patch location prediction as auxiliary task:
feature extractor-->patch location task --> classifier
I wonder : can the gradient be backpropogated from classifier to feature extractor?(because utils.patch_location_task is not in the net graph)
thx!

AccuracyNovel on validation is very high!

Hi!
I was trying to run the script:
python scripts/train_fewshot.py --config=miniImageNet/WRNd28w10CosineClassifierRotAugRotSelfsupervision

The 'AccuracyNovel' of the last few epochs seem to be very high, around 67%. I expected it to be around 62% as reported in the paper. I do not understand why. Could you please upload the training's log?

Here is my training's log:log.txt

patches have different channels

Sorry to bother you !
I have a question: when we use patch location self supervsion, the patches pairs have different channels(6) from image(3), how can we use the same feature extractor?

Config file for prototypical network (not cosine classifier)

@gidariss From the code it is difficult for me to understand how you are handling prototypical networks (not the cosine classifier). Config file for the prototypical network for any of the base networks (conv 4- 64, conv 4-512 ) will make this extremely clear. Please provide such a config file.

How to get confidence interval

Hello, I am confused about how to get the confidence interval of the result, I run BF3S and I can only get a single accuracy rate at one time. Is the confidence interval obtained by running BF3S/scripts/test_fewshot.py many times using the same model ?How many times?

How to run the code with multi-GPUs?

Hi,
I have cloned the code and run it as the instructions, but I find that even I set 4 visible gpu devices but it still use the first gpu in all that I set. And also I find that there isn't "DataParallel" object in the whole program. So I'm wandering if the network could be trained with multi-GPUs?
Many Thanks! And thank you for sharing the great work, I'm really interested in it.

Best,
Yifu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.