Skip to content

UCLA-StarAI/Tiramisu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Tiramisu

This is the official implementation of "Image Inpainting via Tractable Steering of Diffusion Models".

Usage

Follow the readme instructions in exps/generate_images to generate inpainted images. The Probabilistic Circuits required by the generation process can either be downloaded from here or trained following the instructions in exps/lvd_training.

Structure of the datasets

CelebA:

CelebA
β”œβ”€β”€ train256
β”‚   β”œβ”€β”€ 11900.jpg
β”‚   β”œβ”€β”€ 11901.jpg
β”‚   β”œβ”€β”€ ...
β”œβ”€β”€ val256
β”‚   β”œβ”€β”€ 12291.jpg
β”‚   β”œβ”€β”€ 12297.jpg
β”‚   β”œβ”€β”€ ...

ImageNet:

ImageNet
β”œβ”€β”€ train
β”‚   β”œβ”€β”€ filelist.txt
β”‚   β”œβ”€β”€ n01697457
β”‚   β”‚   β”œβ”€β”€ n01697457_11482.JPEG
β”‚   β”‚   β”œβ”€β”€ n01697457_11492.JPEG
β”‚   β”‚   β”œβ”€β”€ ...
β”‚   β”œβ”€β”€ n01698640
β”‚   β”‚   β”œβ”€β”€ ...
β”‚   β”œβ”€β”€ ...
β”œβ”€β”€ val
β”‚   β”œβ”€β”€ filelist.txt
β”‚   β”œβ”€β”€ n01698640
β”‚   β”‚   β”œβ”€β”€ ILSVRC2012_val_00000090.JPEG
β”‚   β”‚   β”œβ”€β”€ ILSVRC2012_val_00001338.JPEG
β”‚   β”‚   β”œβ”€β”€ ...
β”‚   β”œβ”€β”€ n01704323
β”‚   β”‚   β”œβ”€β”€ ...
β”‚   β”œβ”€β”€ ...

LSUN-Bedroom:

LSUN
β”œβ”€β”€ bedrooms
β”‚   β”œβ”€β”€ train
β”‚   β”‚   β”œβ”€β”€ 0
β”‚   β”‚   β”‚   β”œβ”€β”€ ...
β”‚   β”‚   β”œβ”€β”€ 1
β”‚   β”‚   β”‚   β”œβ”€β”€ ...
β”‚   β”œβ”€β”€ val
β”‚   β”‚   β”œβ”€β”€ 0
β”‚   β”‚   β”‚   β”œβ”€β”€ ...
β”‚   β”‚   β”œβ”€β”€ 1
β”‚   β”‚   β”‚   β”œβ”€β”€ ...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages