Open golnazhabibi3 opened 4 years ago
I have moved this file to outside of scripts and it did not give me that error.
I have met the same problem with you ,according to the author, the problem had solved after the file was moved outside of the scripts. Maybe you should also take care of the gpu_num,i have met errors,then changed.
If you are using Linux, go to the folder /sgan, open the terminal and type 'export PYTHONPATH=.' . This should solve your problem.
may be you can try to use this following code:sys.path.append('..') line 7 in train.py
Hi,
Thanks for sharing the code. I am trying to evaluated the pretrained model, but i have got the following error, I have installed all requirement and followed the steps: File "scripts/evaluate_model.py", line 7, in
from sgan.data.loader import data_loader
ImportError: No module named 'sgan'
Could you help me how i can fix it? thanks!