sd-webui-deforum/README.md

42 lines
1.7 KiB
Markdown

# Deforum Stable Diffusion
<p align="left">
<a href="https://github.com/deforum/stable-diffusion/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/deforum/stable-diffusion"></a>
<a href="https://github.com/deforum/stable-diffusion/network"><img alt="GitHub forks" src="https://img.shields.io/github/forks/deforum/stable-diffusion"></a>
<a href="https://github.com/deforum/stable-diffusion/commits"><img alt="Last Commit" src="https://img.shields.io/github/last-commit/deforum/stable-diffusion"></a>
<a href="https://github.com/deforum/stable-diffusion/issues"><img alt="GitHub issues" src="https://img.shields.io/github/issues/deforum/stable-diffusion"></a>
<a href="https://colab.research.google.com/github/deforum/stable-diffusion/blob/main/Deforum_Stable_Diffusion.ipynb"><img alt="Colab" src="https://colab.research.google.com/assets/colab-badge.svg"></a>
<a href="https://replicate.com/deforum/deforum_stable_diffusion"><img alt="Replicate" src="https://replicate.com/deforum/deforum_stable_diffusion/badge"></a>
</p>
## Local Setup
clone the github repository:
```
git clone -b local https://github.com/deforum/stable-diffusion.git
cd stable-diffusion
```
clone dependencies:
```
git clone https://github.com/shariqfarooq123/AdaBins.git
git clone https://github.com/isl-org/MiDaS.git
git clone https://github.com/MSFTserver/pytorch3d-lite.git
```
create anaconda environment:
```
conda create -n dsd python=3.9 -y
conda activate dsd
conda install pytorch cudatoolkit=11.6 torchvision torchaudio -c pytorch -c conda-forge -y
```
install required packages:
```
python -m pip install -r requirements.txt
```
run deforum stable diffusion:
```
python Deforum_Stable_Diffusion.py
```