Giter Club home page Giter Club logo

Comments (12)

111chengxuyuan avatar 111chengxuyuan commented on September 27, 2024 1

Yes, the demo can be used well, now the experimental results are the same as those in the paper. Thank you!

from vpt.

KMnP avatar KMnP commented on September 27, 2024

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.

KMnP avatar KMnP commented on September 27, 2024

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.

111chengxuyuan avatar 111chengxuyuan commented on September 27, 2024

OK,thank you,I'll try

from vpt.

KMnP avatar KMnP commented on September 27, 2024

let me know how it goes! btw, could you use the lr, wd, seed values specified in the demo as well?

from vpt.

KMnP avatar KMnP commented on September 27, 2024

Awesome! I'm glad to hear that! Will close the issue for now, feel free to reopen if you have other questions!

from vpt.

zhaoedf avatar zhaoedf commented on September 27, 2024

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.

qianlanwyd avatar qianlanwyd commented on September 27, 2024

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.

zhaoedf avatar zhaoedf commented on September 27, 2024

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.

qianlanwyd avatar qianlanwyd commented on September 27, 2024

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.

qianlanwyd avatar qianlanwyd commented on September 27, 2024

I cannot run with the feature set to sup_vitb16_imagenet21k.

from vpt.

KMnP avatar KMnP commented on September 27, 2024

@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)

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.