stylegan2-pytorch
stylegan2-pytorch copied to clipboard
AssertionError: No images were found in ./data for training
Hi, thank you so much for making easy repo for styleGAN2.
I have a problem with using this code.
stylegan2_pytorch -- DCGAN/Knee_GAN/processed/2/test/
When I tried to use the above code, it shows error messages like this
AssertionError: No images were found in ./data for training
And DCGAN/Knee_GAN/processed/2/test/ is the path for data that I want to train. Can you help me out?
Thank you
Gun Ahn
@gunahn Hi! There's an error in your command; it should be stylegan2_pytorch --data DCGAN/Knee_GAN/processed/2/test/
Hi @lucidrains.
I've got same type of problem with @gunahn .
AssertionError: No images were found in /home/nagalab/Kazuyuki/Data/train_data_resize/ for training
Here is the code that I tried,
stylegan2_pytorch --data /home/nagalab/Kazuyuki/Data/train_data_resize/ --name forOriginalImg --results_dir /home/nagalab/Kazuyuki/research/stylegan2_pytorch/results --models_dir /home/nagalab/Kazuyuki/research/stylegan2_pytorch/models --batch-size 256
In /home/nagalab/Kazuyuki/Data/train_data_resize/, there are JPG images which is 1024x1024 Could you please help me?
Thank you Kazuyuki Fukuda