Comments (4)
Thank you for the catch.
In food101 (shot 4,8,16), we find that the searched subset performs much better (in shot 8, 71.5 on average) if it inherits weights from its supernet rather than retraining. So we report this performance on the paper. But, in other datasets, we do not find this phenomenon
from noah.
Thanks for clarifying @davidzhangyuanhan. Can you help with replicating 71.5 on food 101? I am planning to do the following:
- Train supernet on food 101 dataset using the following command.
python supernet_train_prompt.py --data-path=./data/${DATASET} --data-set=${DATASET}-FS --cfg=${CONFIG} --resume=${CKPT} --output_dir=./saves/few-shot_${DATASET}_shot-${SHOT}_seed-${SEED}_lr-${LR}_wd-${WEIGHT_DECAY}_supernoah --batch-size=64 --lr=${LR} --epochs=300 --weight-decay=${WEIGHT_DECAY} --few-shot-seed=${SEED} --few-shot-shot=${SHOT} --launcher="none"
where CKPT=pretrained vit16, CONFIG=./experiments/NOAH/supernet/supernet-B_prompt.yaml, LR=5e-4, WEIGHT_DECAY=0.0001, SHOT=8, DATASET=food-101
- Run eval using the optimal architecture you already found and written in config with using above trained weights as resume checkpoint.
I am guessing I need not do search since the optimal architecture configuration is already provided in the config.
Is that right? or should I retrain the architecture with weights initialized from the supernet trained above?
Please let me know if I am doing anything wrong.
from noah.
Yes, you are correct.
I'd like to share with you the (seed-0) checkpoint of the supernet and the evaluation log for reference.
from noah.
Thank you!!
from noah.
Related Issues (12)
- About #params of Adapter HOT 8
- Searched configurations in the main table HOT 1
- How to plot the Figure 1(b)? HOT 1
- What is the difference between the used ViT-B/16 weights and the weights provided by timm? HOT 1
- About GPU consumption HOT 1
- lib folder is not uploaded to the main repository HOT 1
- About the slurm setting HOT 14
- Table results from the last model or the best model? HOT 4
- caltech dataset HOT 7
- CONFIG = $1, where to find config? HOT 16
- One question about experiments on domain generalization. HOT 4
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 noah.