w86763777 / pytorch-ddpm

Unofficial PyTorch implementation of Denoising Diffusion Probabilistic Models
Do What The F*ck You Want To Public License
506 stars 62 forks source link

Question about the dataset called cifar10.train.npz #23

Open Spichick opened 4 months ago

Spichick commented 4 months ago

Hello, I want to know what's in the file called cifar10.train.npz. ? If I want to use my own dataset, how to create a file .npz like this? Thank you for your answer.

w86763777 commented 4 months ago

Hi, the script for calculating those cached statistics is not included in this repository. However, the format of this type of npz file is commonly used, so you can use any similar script you find to calculate it. Here is another one of my projects that offers exactly the script you need. See the section Prepare Statistical Reference for FID for more information.