Skip to content

Commit

Permalink
add running cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
CIntellifusion committed Jun 8, 2024
1 parent 10c25ce commit eeec73f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ Compare the result with papers.

> we don’t understand what we can’t create.


**Notice: This repo is under heavy development.**



# Task 1 Unconditional Diffusion

- [x] Implement a DDPM and DDIM
Expand Down Expand Up @@ -93,6 +99,21 @@ python main.py --train ---batch_size=128 --imsize=32
- [ ] lpips and discriminator loss
- [ ] diffusion on other latent space: text , audio , mesh , etc.



## 2.1 Train Latent DIffusion

```shell
#step 1
python vae.py -b configs/train_vae.yaml
#step 2
#note: please add the path of pretrained vae to config
#and also specify l
python main.py -b configs/train_ldm.yaml
```



## VAE results

### result on mnist
Expand Down Expand Up @@ -175,6 +196,12 @@ VAE的部分follow其他实现,写成first_stage_condition。



# Acknowledgements

- thanks timechess (https://github.com/timechess) for adding nix and poetry environment in this project.






Expand Down

0 comments on commit eeec73f

Please sign in to comment.