lucidrains / lightweight-gan

Implementation of 'lightweight' GAN, proposed in ICLR 2021, in Pytorch. High resolution image generations that can be trained within a day or two
MIT License
1.63k stars 222 forks source link

training does not start #54

Open molo32 opened 3 years ago

molo32 commented 3 years ago

training does not start

when i run ! python /content/lightweight-gan/lightweight_gan/lightweight_gan.py --data / content / faces / --image-size 256 does not start training the cell finishes executing immediately and nothing happens

I am using colab.

lucidrains commented 3 years ago

@molo32 hello! it's actually a command-line tool, so you just have to do

$ lightweight_gan --data /content/faces --image-size 256
JanFschr commented 3 years ago

training does not start

when i run ! python /content/lightweight-gan/lightweight_gan/lightweight_gan.py --data / content / faces / --image-size 256 does not start training the cell finishes executing immediately and nothing happens

I am using colab.

clone and install, than use as cli

%cd /content !git clone https://github.com/lucidrains/lightweight-gan %cd lightweight-gan !pip install . !pip install pytorch_fid

!lightweight_gan ....