NVlabs / denoising-diffusion-gan

Tackling the Generative Learning Trilemma with Denoising Diffusion GANs https://arxiv.org/abs/2112.07804
Other
697 stars 77 forks source link

How should I put the location of dataset? #15

Open Jamie-Cheung opened 2 years ago

Jamie-Cheung commented 2 years ago

(th1.71) zzj@zzj:~/disk1/zzj/denoising-diffusion-gan-main$ python train_ddgan.py --dataset lsun starting in debug mode Traceback (most recent call last): File "train_ddgan.py", line 600, in init_processes(0, size, train, args) File "train_ddgan.py", line 470, in init_processes fn(rank, gpu, args) File "train_ddgan.py", line 226, in train train_data = LSUN(root='/datasets/LSUN/', classes=['church_outdoor_train'], transform=train_transform) File "/home/zzj/disk1/zzj/denoising-diffusion-gan-main/datasets_prep/lsun.py", line 95, in init transform=transform)) File "/home/zzj/disk1/zzj/denoising-diffusion-gan-main/datasets_prep/lsun.py", line 33, in init readahead=False, meminit=False) lmdb.Error: /datasets/LSUN//church_outdoor_train_lmdb: No such file or directory

image

KomputerMaster64 commented 2 years ago

I am facing similar issue. How did you resolve it.. I have main dataset directory datasets which contains directory ffhq-lmdb which then contrains the train.lmdb and validation.lmdb directories. image

ChauvinisticJonatha commented 2 years ago

I am facing similar issue. How did you resolve it.. I have main dataset directory datasets which contains directory ffhq-lmdb which then contrains the train.lmdb and validation.lmdb directories. image

Sorry, I haven't solved it.