Comments (12)
Yes, the demo can be used well, now the experimental results are the same as those in the paper. Thank you!
from vpt.
Hi, @111chengxuyuan , to debug, I wonder if you can use the one of the 3 vtab-datasets in the demo.ipynb, and see if the results are the same.
from vpt.
After a quick check on the config, the feature is different: should be "sup_vitb16_imagenet21k" instead of "sup_vitb16_224".
But I still recommend using the 3 vtab datasets in demo as a starting point for reproducing our results.
from vpt.
OK,thank you,I'll try
from vpt.
let me know how it goes! btw, could you use the lr, wd, seed values specified in the demo as well?
from vpt.
Awesome! I'm glad to hear that! Will close the issue for now, feel free to reopen if you have other questions!
from vpt.
After a quick check on the config, the feature is different: should be "sup_vitb16_imagenet21k" instead of "sup_vitb16_224".
But I still recommend using the 3 vtab datasets in demo as a starting point for reproducing our results.
what is the difference between these two models? using different datasets to pre-train?
the link provided in README, is it sup_vitb16_imagenet21k or sup_vitb16_224?
from vpt.
sup_vitb16_imagenet21k is not supported since you did not provide imagenet21k_ViT-B_16.npz.
I can only set "sup_vitb16" as the pretrained model.
from vpt.
sup_vitb16_imagenet21k is not supported since you did not provide imagenet21k_ViT-B_16.npz. I can only set "sup_vitb16" as the pretrained model.
can you be more specific? i don't quite understand you.
from vpt.
sup_vitb16_imagenet21k is not supported since you did not provide imagenet21k_ViT-B_16.npz. I can only set "sup_vitb16" as the pretrained model.
can you be more specific? i don't quite understand you.
I am asking the similar questions like yours.
from vpt.
I cannot run with the feature set to sup_vitb16_imagenet21k.
from vpt.
@qianlanwyd @zhaoedf I see that there is some confusion over the feature names. The link provided in README is for ViT-Base pre-trained with ImageNet-21k, which is the main pre-trained model we used in the paper.
Due to legacy issue, I renamed the downloaded ckpt to imagenet21k_ViT-B_16.npz
from ViT-B_16.npz
. The new ckpt name is used for building the model. If you don't rename the checkpoint and set DATA.FEATURE = "sup_vitb16_imagenet21k"
, you will get a FileNotFound error.
There are two solutions:
(1) rename the downloaded ckpt to imagenet21k_ViT-B_16.npz
.
(2) change L35 of src/models/build_vit_backbone.py to ViT-B_16.npz
.
I recommend to use solution (1). I also added a note in README about this.
from vpt.
Related Issues (20)
- GPU issue HOT 1
- What is the use of grid search HOT 2
- How did you set the random seed of Table 1. HOT 1
- AssertionError: Datasets/Stanford_Dogs/train.json dir not found HOT 2
- About stanford cars HOT 1
- About your released performance file(xxxx.csv)
- How to evaluate if I get a checkpoint file? HOT 1
- After joining the prompt, has the dimension changed? HOT 1
- Compared with full fine-tuning, did the training time get reduced?
- Dataset Link Update HOT 1
- TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
- Segmentation task
- CUB dataset HOT 2
- Wrong MoCo-v3 pretrained weights?
- How to perform segmentation task on my own segmentation dataset?
- How to train? HOT 1
- Run the final evaluation using the full training data? HOT 1
- Result summarization wrong?
- Hello, save model
- Hello, I would like to know about transfer_type
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 vpt.