Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'face_alignment' #36

Open
modoneer opened this issue May 7, 2021 · 0 comments
Open

ModuleNotFoundError: No module named 'face_alignment' #36

modoneer opened this issue May 7, 2021 · 0 comments

Comments

@modoneer
Copy link

modoneer commented May 7, 2021

Hi, I ran the demo code
python demos/demo_reconstruct.py -i TestSamples/examples --saveDepth True --saveObj True
and got this error message:

total 9 images
Traceback (most recent call last):
File "F:\Softwares\AI\DECA-master\demos\demo_reconstruct.py", line 103, in main(parser.parse_args())
File "F:\Softwares\AI\DECA-master\demos\demo_reconstruct.py", line 36, in main
testdata = datasets.TestData(args.inputpath, iscrop=args.iscrop, face_detector=args.detector)
File "F:\Softwares\AI\DECA-master\decalib\datasets\datasets.py", line 70, in init
self.face_detector = detectors.FAN()
File "F:\Softwares\AI\DECA-master\decalib\datasets\detectors.py", line 21, in init
import face_alignment
ModuleNotFoundError: No module named 'face_alignment'

Not sure what's going wrong.

Several things I noticed but not sure if they are related to this issue:

  1. After ran python demos/demo_reconstruct.py --help
    it mentioned "detector for cropping face, check decalib/detectors.py for details", but detectors.py is located in decalib\datasets directory.
  2. Inside BFM_to_FLAME folder (after unzip) there's no FLAME_albedo_from_BFM.npz but BFM_to_FLAME_corr.npz. Do I need to change the filename to BFLAME_albedo_from_BFM.npz and place it to .\data?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant