patrikhuber / eos

A lightweight 3D Morphable Face Model library in modern C++
Apache License 2.0
1.89k stars 596 forks source link

Errors running demo.py #275

Closed imaccormick275 closed 4 years ago

imaccormick275 commented 4 years ago

Hi,

I'm trying to run main.py and running into the following three errors.

Error 1/2 are likely related but I am unsure how to resolve. Error 3 is simply the file "sfm_model_contours.json" is missing from the directory. I just wanted to check that this is now "model_contours.json"?

Error 1/2:

landmark_mapper = eos.core.LandmarkMapper('eos/share/ibug_to_sfm.txt')

RuntimeError: parse_data: unknown line

contour_landmarks = eos.fitting.ContourLandmarks.load('eos/share/ibug_to_sfm.txt')

RuntimeError: parse_data: unknown line

Error 3:

model_contour = eos.fitting.ModelContour.load('eos/share/sfm_model_contours.json')

Error opening given file: eos/share/sfm_model_contours.json

Iain

imaccormick275 commented 4 years ago

Re-downloaded the file and worked fine. Bizarre.