Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
guoyww committed Jul 12, 2023
1 parent 05fdf47 commit 3742e3e
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 16 deletions.
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@ Our approach takes around 60 GB GPU memory to inference. NVIDIA A100 is recomman

```
git clone https://github.com/guoyww/animatediff.git
cd animatediff
cd AnimateDiff
conda create -n animatediff python=3.8
conda env create -f environment.yaml
conda activate animatediff
pip install -r requirements.txt
```

### Download Base T2I & Motion Module Checkpoints
Expand Down Expand Up @@ -65,7 +63,7 @@ bash download_bashscripts/8-GhibliBackground.sh
```

### Inference
After downloading the above peronalized T2I checkpoints, run the following commands to generate animations.
After downloading the above peronalized T2I checkpoints, run the following commands to generate animations. The results will automatically be saved to `samples/` folder.
```
python -m scripts.animate --config configs/prompts/1-ToonYou.yaml
python -m scripts.animate --config configs/prompts/2-Lyriel.yaml
Expand Down Expand Up @@ -100,7 +98,16 @@ python -m scripts.animate --prompt configs/prompts/lora.yaml
``` -->

## Gallery
Here we demonstrate several best results we got in previous experiments.
Here we demonstrate several best results we found in our experiments or generated by other artists.
<table class="center">
<tr>
<td><img src="__assets__/animations/model_07/01.gif"></td>
<td><img src="__assets__/animations/model_07/02.gif"></td>
<td><img src="__assets__/animations/model_07/03.gif"></td>
<td><img src="__assets__/animations/model_07/04.gif"></td>
</tr>
</table>
<p style="margin-left: 2em; margin-top: -1em">Model:<a href="https://civitai.com/models/107295?modelVersionId=115371">holding_sign</a> (samples are contributed by CivitAI artists)</p>

<table class="center">
<tr>
Expand Down
Binary file added __assets__/animations/model_07/01.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __assets__/animations/model_07/02.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __assets__/animations/model_07/03.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __assets__/animations/model_07/04.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions environment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: animatediff
channels:
- pytorch
- xformers
dependencies:
- python=3.10
- pytorch==1.12.1
- torchvision==0.13.1
- torchaudio==0.12.1
- cudatoolkit=11.3
- xformers
- pip
- pip:
- diffusers[torch]==0.11.1
- transformers==4.25.1
- imageio==2.27.0
- gdown
- einops
- omegaconf
- safetensors
10 changes: 0 additions & 10 deletions requirements.txt

This file was deleted.

0 comments on commit 3742e3e

Please sign in to comment.