Skip to content

Commit

Permalink
Use --resize-filter=box for scaling FFHQ down to 256x256 to match pap…
Browse files Browse the repository at this point in the history
…er FID scores
  • Loading branch information
nurpax authored Sep 22, 2023
1 parent 6f160b3 commit d72cc7d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,12 @@ Step 3: Create ZIP archive using `dataset_tool.py` from this repository:
python dataset_tool.py --source=/tmp/ffhq-unpacked --dest=~/datasets/ffhq.zip

# Scaled down 256x256 resolution.
#
# Note: --resize-filter=box is required to reproduce FID scores shown in the
# paper. If you don't need to match exactly, it's better to leave this out
# and default to Lanczos. See https://github.com/NVlabs/stylegan2-ada-pytorch/issues/283#issuecomment-1731217782
python dataset_tool.py --source=/tmp/ffhq-unpacked --dest=~/datasets/ffhq256x256.zip \
--width=256 --height=256
--width=256 --height=256 --resize-filter=box
```

**MetFaces**: Download the [MetFaces dataset](https://github.com/NVlabs/metfaces-dataset) and create ZIP archive:
Expand Down

0 comments on commit d72cc7d

Please sign in to comment.