shaoanlu / faceswap-GAN

A denoising autoencoder + adversarial losses and attention mechanisms for face swapping.
3.38k stars 842 forks source link

ModuleNotFoundError: No module named 'detector' #130

Open finnickniu opened 5 years ago

finnickniu commented 5 years ago

colab: ModuleNotFoundError: No module named 'detector'

I cant change the detector path, why do you use '-' to name folder.

shellwolrd commented 4 years ago

@finnickniu 请问您解决这个问题了吗?

AKwoKWH commented 4 years ago

@finnickniu @shellwolrd having same issues.

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-22-674e704224b2> in <module>
      1 import keras.backend as K
----> 2 from detector.face_detector import MTCNNFaceDetector
      3 import glob
      4 
      5 from preprocess import preprocess_video

ModuleNotFoundError: No module named 'detector'
walter-grace commented 4 years ago

@AKwokwh @finnickniu I am having the same issue? Any advice? I tried installing many packages and nothing worked

Sepideh-Rezaeirad commented 4 years ago

I am having the same issue? :(((

How can I fix it ?

notsaved commented 3 years ago

same issue here, any help?

MuhammadShifa commented 3 years ago

This issue is solved, run the below code in separate cell.

from google.colab import drive drive.mount('/content/drive')

!git clone https://github.com/shaoanlu/faceswap-GAN.git

%cd "faceswap-GAN"

Now run import script.