sugyan / face-generator

56 stars 14 forks source link

cannot import dcgan properly #3

Open MichaelShen97 opened 7 years ago

MichaelShen97 commented 7 years ago

Traceback (most recent call last): File "train.py", line 7, in from dcgan import DCGAN File "C:\Files\code\py\practice\face-generator\dcgan.py", line 1, in submodules/tf-dcgan/dcgan.py NameError: name 'submodules' is not defined

sugyan commented 7 years ago

hmm.. Have you done $ git submodule update --init ?

MichaelShen97 commented 7 years ago

Yes I have. Maybe because it's running in Windows environment?

sugyan commented 7 years ago

Maybe, I think so. Unfortunately I don't have a windows machine.. 'dcgan.py' is just a symbolic link, so you can copy from https://github.com/sugyan/tf-dcgan/blob/master/dcgan.py and overwritie it.