mingyuliutw / UNIT

Unsupervised Image-to-Image Translation
Other
1.98k stars 360 forks source link

No module named 'net_config' #30

Closed chikiuso closed 6 years ago

chikiuso commented 6 years ago

Hi, I tried to run the training with CelebA dataset, and got the following error when I started train :

Traceback (most recent call last): File "cocogan_train.py", line 6, in from tools import File "/home/paperspace/Downloads/UNIT/src/tools/init.py", line 6, in from net_config import ModuleNotFoundError: No module named 'net_config'

Do you have any hints I could solve it? thanks!

mingyuliutw commented 6 years ago

@chikiuso I think you didn't set up the path correctly.

MartinMeliss commented 6 years ago

I was helped by the use of Python 2.7

mingyuliutw commented 6 years ago

I think this is due to the difference between Python 2 and Python 3. The entire code base was developed using Python 2 and I believe that you were using Python 3. I guess this can be fixed following https://stackoverflow.com/questions/12172791/changes-in-import-statement-python3

chikiuso commented 6 years ago

@mingyuliutw I just switched the conda to python 2 and work really well, thanks for your and Nvidia great work!

mingyuliutw commented 6 years ago

@chikiuso Thanks. I will be adding the multi-scale discriminators that we reported in our pix2pixHD work to this repo. Hope this could better stabilize the training.