YuvalNirkin / fsgan

FSGAN - Official PyTorch Implementation
https://nirkin.com/fsgan
Creative Commons Zero v1.0 Universal
754 stars 147 forks source link

ModuleNotFoundError: No module named 'fsgan.preprocess' #169

Open BCL123456-BAL opened 1 year ago

BCL123456-BAL commented 1 year ago
  1. l have set fsgan file path as system environment variable PYTHONPATH , varibale value is D:\Desktop
  2. it throws a error that ModuleNotFoundError: No module named 'fsgan.preprocess' when i run the command 'python fsgan/inference/reenact.py SOURCE D:/Desktops/000012.jpg' in D:\Desktop\fsgan or 'python D:\Desktop\fsgan\fsgan\inference\reenact.py SOURCE D:/Desktops/000012.jpg'
  3. the error image is given by image
har-simran commented 10 months ago

try to run setup.py file given in the directory, it will resolve the issue.