Skip to content

Commit

Permalink
Generation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterScrat committed Jul 19, 2022
1 parent a79da2f commit b3f0c9a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,22 @@ Specifically, the features we've added allow for better scaling of training on T
pip install -r requirements.txt
```

## 🖼 Generate images

Download checkpoints from the [latest release](https://github.com/nyx-ai/stylegan2-flax-tpu/releases).

```
python generate_images.py \
--checkpoint checkpoints/cookie-256.pkl \
--seeds 0 42 420 666 \
--truncation_psi 0.7 \
--out_path generated_images
```

Check the Colab notebook for more examples:
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/)


## 💾 Preparing Datasets
Add your images into a folder `/path/to/image_dir`:
```
Expand Down

0 comments on commit b3f0c9a

Please sign in to comment.