Skip to content
/ SMM Public
forked from caichengyi/SMM

[ICML 2024 Spotlight] "Sample-specific Masks for Visual Reprogramming-based Prompting"

License

Notifications You must be signed in to change notification settings

tmlr-group/SMM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample-specific Multi-channel Masks for Visual Reprogramming

This is the implementation of our paper submitted for ICML2024.

The seeds we use in our experiments are 0, 1, 2.

Installation

    conda create -n reprogram
    conda activate reprogram
    pip install requirements.txt

Training

    python instancewise_vp.py --dataset cifar10 --network resnet18 --seed 0
    python instancewise_vp.py --dataset cifar10 --network ViT_B32 --seed 0

About

[ICML 2024 Spotlight] "Sample-specific Masks for Visual Reprogramming-based Prompting"

Resources

License

Stars

Watchers

Forks

Languages

  • Python 100.0%