patrikhuber / eos

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

Errors running demo.py #275

Closed imaccormick275 closed 5 years ago

imaccormick275 commented 5 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 5 years ago

Re-downloaded the file and worked fine. Bizarre.