Skip to content

adaptation of huggingface's dreambooth training script to support depth2img

License

Notifications You must be signed in to change notification settings

styrmis/dreambooth_depth2img

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dreambooth with depth2image

This repo adapts the dreambooth script from diffusers to train the stabilityai/stable-diffusion-2-depth model.
It works by creating a depth map from all the input images, then adds those depth maps as conditioning to the unet.
Check out the notebook for a demo of how to use the script.
I used the conda environment.yaml from the stable diffusion GitHub repo.

NOTICE

At the time of writing, StableDiffusionDepth2ImgPipeline is supported only on the main branch of transformers. Install it with the following:

pip uninstall -y transformers
pip install git+https://github.com/huggingface/transformers.git@main

About

adaptation of huggingface's dreambooth training script to support depth2img

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.5%
  • Jupyter Notebook 12.5%