ewrfcas / Face-Super-Resolution

Face super resolution based on ESRGAN
257 stars 64 forks source link

No module named 'models.modules' #3

Closed saiamrit closed 4 years ago

saiamrit commented 4 years ago

On running the test.py, code is throwing an error saying No module named 'models.modules'. There is no modules file in the modules folder.

ewrfcas commented 4 years ago

Maybe it is the error of pytorch multi-gpu with DataParallel? Is your pytorch version==1.2.0?

saiamrit commented 4 years ago

Yes my pytorch version is 1.3.1 but I donot think it has any thing to do with pytorch version. The error reads : File "/home/saiamrit/Face-Super-Resolution/models/networks.py", line 3, in import models.modules.discriminator_vgg_arch as SRGAN_arch ModuleNotFoundError: No module named 'models.modules' Which i feel is because the import is expecting a modules file in the models directory which is not present in the original repository. Kindly have a look at it.

ewrfcas commented 4 years ago

sorry for missing them, i have updated the codes

saiamrit commented 4 years ago

Thank you