sihyun-yu / digan

Official PyTorch implementation of Generating Videos with Dynamics-aware Implicit Generative Adversarial Networks (ICLR 2022).
https://sihyun.me/digan/
182 stars 19 forks source link

Zip dataset #8

Closed torxxtorxx closed 2 years ago

torxxtorxx commented 2 years ago

Hi,

thanks for your work! I want to use your repo with a .zip dataset, however I get following error:

File "/DIGAN/training/dataset.py", line 538, in init classes, class_to_idx = find_classes(path) File "/DIGAN/training/dataset.py", line 68, in find_classes classes = [d for d in os.listdir(dir) if os.path.isdir(os.path.join(dir, d))] NotADirectoryError: [Errno 20] Not a directory: '/DIGAN/data/dataset.zip'

Also I wanted to ask if I can somehow combine your model with the FVD evaluation of StyleGAN-V. Can you maybe integrate their evaluation protocol into your pipeline on the fly during training? I am having problems doing that and I think their evaluation protocol uses a better FVD evaluation

sihyun-yu commented 2 years ago

Sorry for the confuse. We currently do not support .zip dataset -- but some snippets still remain in our implementation, as the original codebase supported it.

For FVD evaluation proposed by StyleGAN-V, I certainly believe you can somehow combine our implementation and their evaluation, since they compared our method as a baseline. You may ask the StyleGAN-V authors how did they achieve this.