factor-fields icon indicating copy to clipboard operation
factor-fields copied to clipboard

FFHQ Dataset

Open hotmanparis opened this issue 2 years ago • 1 comments

Hi,

I want to try out the 2D set regression experiment (2D_set_regression.ipynb), but it expects the following file as the dataset: data/ffhq/ffhq_512.npy.

I assume that file is your preprocessed 800 FFHQ images? How can I obtain the .npy file?

hotmanparis avatar Aug 18 '23 08:08 hotmanparis

ffhq_512.npy is a tensor array at a shape NxHxWx3, where N is 800 here, we used the first 0-800 images from the FFHQ dataset. You could obtain it by loading images and concatenating them;)

apchenstu avatar Aug 18 '23 21:08 apchenstu