Skip to content

Commit ccdc5cc

Browse files
committed
Fix dataset_tool.py example in the README
Use --resolution=WxH as --width/--height are not supported options anymore.
1 parent e889add commit ccdc5cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ python dataset_tool.py --source=/tmp/images1024x1024 --dest=~/datasets/ffhq-1024
153153

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

159159
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.

0 commit comments

Comments
 (0)