GithubHelp home page GithubHelp logo

changdaeoh / blackvip Goto Github PK

View Code? Open in Web Editor NEW
100.0 4.0 8.0 1.85 MB

Official implementation for CVPR'23 paper "BlackVIP: Black-Box Visual Prompting for Robust Transfer Learning"

Python 95.79% Shell 4.21%
black-box-optimization foundation-models parameter-efficient-tuning prompt-tuning transfer-learning visual-prompting

blackvip's People

Contributors

changdaeoh 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

Watchers

 avatar  avatar  avatar  avatar

blackvip's Issues

Adaptation of BlackVIP to custom datasets

Dear authors,

thanks for the great work and the very interesting method!

What hyperparameter is crucial (or how did you tune them) when adapting BlackVIP to custom datasets? Because when I use the default hyperparameters the training seems to diverge and the loss couldn't go down.

Thanks in advance.

Question about running code for VPWB

I want to run the code for VP (white-box), and use the code according to your suggestion: "sh tl_bench.sh oxford_flowers 100 40.0", and I also change the tl_bench.sh file like this:
image
Is it right? But it reports an error like this:
image

If I still run the code like this "sh tl_bench.sh oxford_flowers 100 0.5 0.2 0.02 1.0". It can run without errors.
I just wonder how to evaluate VP(white-box), e.g. for oxford_flowers datasets, the parameters, and the tl_bench.sh file.

Thanks!

How long does it takes to reproduce the results in the paper?

We are interested in your work, and we want to reproduce the results. But we find that it runs extremely slow, e.g., about 2 days 8h with a single RTX3090.

We set CFG=vit_b16 and ptb=vit-base, and others followed the configuration.md.

Is something wrong?

Unable to reproduce VPOUR results

We are trying to reproduce the results of VPOUR, but we failed to reproduce the results of VPOUR (Blackbox VP using SPSA-GC). For example, the result we reproduced on EUROSAT dataset is 51.1, which is far below 70.9 reported in the paper. Would you mind checking if the hyperparameters provided are correct?

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.