Skip to content

About

Code for Implicit Inversion turns CLIP into a Decoder

Resources

Stars

10 stars

Watchers

0 watching

Forks

Repository files navigation

Installation

conda env create -f environment.yml

``

Config

We use Hydra as configuration manager. To change any parameter, you can either modify the config.yaml file or pass it as a command line argument. For example, to change the project dataset to laion, you can run

    python run.py "project_dataset=laion"

For the prompt, do as follows

    python run.py "prompt=[an ice skater dancing]"

If you have multiple, just add them to the list

    python run.py "prompt=[an ice skater dancing, a cat on a skateboard]"

If you want to run multiple hyperparameter values, just use the -m or --multirun flag

    python run.py -m "project_dataset=laion,flickr" 

To run a grid search

sbatch --export=ALL,PROMPT_FILE=/leonardo_work/IscrC_MGNTC/dcrisost/implicit-inversion/dataset/stanislav.txt slurm/grid.slurm

Citation

@inproceedings{d2026implicit,
  title={Implicit Inversion turns CLIP into a Decoder},
  author={D'Orazio, Antonio and Briglia, Maria Rosaria and Crisostomi, Donato and Loi, Dario and Rodol{\`a}, Emanuele and Masi, Iacopo},
  booktitle={International Conference on Learning Representations (ICLR)},
  year={2026}
}

About

Code for Implicit Inversion turns CLIP into a Decoder

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages