anotherjesse / cog-blank-stable

a prototype of downloading weights on the fly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stable Diffusion Dreambooth model template

This is the template used by replicate.com dreambooth api to build custom dreambooth models.

This template is based on cog-stable-diffusion which uses diffusers.

Usage

This template is primarily intended for use by Replicate's DreamBooth API, which is what you probably want to use to train and publish your own model.

If you really want to use this template locally, you can do so by following these steps:

  1. Generate some weights, put them in weights/ (use our trainer or your own)
  2. Download NSFW safety_checker weights using script/download-weights
  3. Install cog & docker
  4. Build cog build
  5. Predict cog predict -i prompt="photo of zzz" -i seed=42 ...

About

a prototype of downloading weights on the fly

License:Apache License 2.0


Languages

Language:Python 76.6%Language:Shell 23.4%