Skip to content

Commit

Permalink
Fix dataset_tool.py example in the README
Browse files Browse the repository at this point in the history
Use --resolution=WxH as --width/--height are not supported
options anymore.
  • Loading branch information
nurpax committed Oct 16, 2021
1 parent e889add commit ccdc5cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ python dataset_tool.py --source=/tmp/images1024x1024 --dest=~/datasets/ffhq-1024

# Scaled down 256x256 resolution.
python dataset_tool.py --source=/tmp/images1024x1024 --dest=~/datasets/ffhq-256x256.zip \
--width=256 --height=256
--resolution=256x256
```

See the [FFHQ README](https://github.com/NVlabs/ffhq-dataset) for information on how to obtain the unaligned FFHQ dataset images. Use the same steps as above to create a ZIP archive for training and validation.
Expand Down

0 comments on commit ccdc5cc

Please sign in to comment.