docs: update README about conditional
This commit is contained in:
parent
9852bf3530
commit
95600b80c9
10
README.md
10
README.md
@ -7,6 +7,13 @@ It's just for fun, the Unet model does not include attention, normalization, etc
|
|||||||

|

|
||||||

|

|
||||||
|
|
||||||
|
## Classifier Guidence DDPM
|
||||||
|
ref: Diffusion Models Beat GANs on Image Synthesis (https://arxiv.org/abs/2105.05233)
|
||||||
|
- generate "7"
|
||||||
|
- 
|
||||||
|
- generate "2"
|
||||||
|
- 
|
||||||
|
|
||||||
## Traning
|
## Traning
|
||||||
|
|
||||||
Before training, please set up the config.ini file:
|
Before training, please set up the config.ini file:
|
||||||
@ -36,5 +43,6 @@ To generate 16 pictures, run the following command:
|
|||||||
The pictures will be output to the `./output` directory.
|
The pictures will be output to the `./output` directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ python sample 16
|
$ python sample 16 # unconditional
|
||||||
|
$ python sample 16 7 # condiditional, want to generate "7" pictures
|
||||||
```
|
```
|
||||||
BIN
images/Screenshot_20230322_161942.png
Normal file
BIN
images/Screenshot_20230322_161942.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
BIN
images/Screenshot_20230322_162114.png
Normal file
BIN
images/Screenshot_20230322_162114.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
Loading…
Reference in New Issue
Block a user