jeffheaton / t81_558_deep_learning

T81-558: Keras - Applications of Deep Neural Networks @Washington University in St. Louis
https://sites.wustl.edu/jeffheaton/t81-558/
Other
5.72k stars 3.03k forks source link

t81_558_class_07_2_train_gan source file #155

Closed webdevserv closed 1 year ago

webdevserv commented 1 year ago

Data raw: my images folder contains another folder called frames and they are *.png files but the command line fails saying: Error: Missing input file or directory: /content/drive/MyDrive/data/gan/images/old

do they have to be *.jpg? mine are 1024 x 1024 png files. Thanks for your great channel.

CMD = "python /content/stylegan2-ada-pytorch/dataset_tool.py " "--source /content/drive/MyDrive/data/gan/images/frames " "--dest /content/drive/MyDrive/data/gan/dataset"

webdevserv commented 1 year ago

sorted they were grayscales that needed to be converted to RGB