shaoanlu / faceswap-GAN

A denoising autoencoder + adversarial losses and attention mechanisms for face swapping.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can not import faceswapGanModel

kehsan opened this issue · comments

@shaoanlu
I have download the repository and trying to run the import code, everything looks in place but I get this error:


from networks.faceswap_gan_model import FaceswapGANModel

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-11-a14853a05d7d> in <module>
----> 1 from networks.faceswap_gan_model import FaceswapGANModel

ModuleNotFoundError: No module named 'networks.faceswap_gan_model'

I solved it by adding the file init.py inside networks. But I wonder if these paths are defined else where