Comments (3)
Hi !
Thank you very much for your interest and for raising this issue. I've tried running 10'000 16-ways -1-shot tasks using the models I had trained (the ones available for download) and I get the following convergence plot for TIM-GD:
with a final result just below 49%, and a baseline (i.e SimpleShot method) around 39%, which makes more sense. I will investigate further on the training script, and run everything from scratch to make sure no mistake was introduced in my latest commits. I will get back to you soon.
UPDATE : It seems in my latest commit I introduced a duplicate scheduler.step() in both main.py and trainer.py, which caused the learning rate to decay twice as fast as it should, degrading the results. Using the "bugged" coded, I was still able to get 44% in your setting, and fixing the bug I could obtain 48% + after training. I have pushed my changes. Please could you pull and see if that solves your problem ? Thank you :)
Malik
from tim.
Hi !
Thank you very much for your interest and for raising this issue. I've tried running 10'000 16-ways -1-shot tasks using the models I had trained (the ones available for download) and I get the following convergence plot for TIM-GD:with a final result just below 49%, and a baseline (i.e SimpleShot method) around 39%, which makes more sense. I will investigate further on the training script, and run everything from scratch to make sure no mistake was introduced in my latest commits. I will get back to you soon.
UPDATE : It seems in my latest commit I introduced a duplicate scheduler.step() in both main.py and trainer.py, which caused the learning rate to decay twice as fast as it should, degrading the results. Using the "bugged" coded, I was still able to get 44% in your setting, and fixing the bug I could obtain 48% + after training. I have pushed my changes. Please could you pull and see if that solves your problem ? Thank you :)
Malik
Thank you for your efforts!
It was my fault that I didn't mention further details on how I obtained the 39.44% result. I didn't use TIM-GD or other TIM-* methods to do this, instead I trained a classifier with WRN as the backbone and a FC layer attached to it, using the training parameters adopted in this project, so I think the "bugged" code will not affect the result I got (my codes are based on pretrain.py and model/models/classifier.py in FEAT) .
It should be fine if the configuration in the scripts/train/wideres.sh and src/trainer.py is nothing wrong. Besides, I noticed you introduced a MixUp augmentation in the training process of trainer.py, but it seems to be deprecated in recent versions. Could you tell me if you activated it when getting the results shown on the paper? That may be a crucial factor. Thanks :)
from tim.
Hi,
- I recommend you use the code from this repo to pre-train your model if you want to obtain results for TIM. From what I see, the code in pretrain.py from the FEAT code is not using a standard cross-entropy training as we do, but an episodic one. In this case, using the same hyperparameters as the ones I am using does not really make sense. Am I missing something ?
- I have left the possibility to use mixup for future attempts, but the results presented in our paper does not include mixup augmentation during pre-training.
Best,
Malik
from tim.
Related Issues (11)
- URL
- unknown to the library visdom_logger HOT 1
- Hyperparameters for TIM
- ModuleNotFoundError: No module named 'visdom_logger' HOT 3
- Question
- AttributeError: 'Trainer' object has no attribute 'meta_val_interval' HOT 1
- tuning parameters HOT 3
- How can I adapt this method to another dataset? HOT 4
- About Adapting This Method to Other Datasets HOT 1
- Train a model to reproduce domain-shift results HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tim.