Open
Description
Hey,
I was trying to run TestOnline.py 's code and faced this issue
AttributeError Traceback (most recent call last)
<ipython-input-8-b74b6227f978> in <module>
6
7 # Load models - change to device = 'gpu' to run with cuda support
----> 8 ga = gaze_estimation.GazeEstimation(device='gpu', info3D_lib_path=openfacewrapper_path)
9
10 dir = os.path.dirname(__file__)
~/brainalive/RecurrentGaze/gaze_estimation.py in __init__(self, model_type, device, info3D_lib_path)
48
49 self.batch_size = 1
---> 50 self.landmarks_model = LandmarksEstimation(device=device).get_model()
51 self.gaze_model = ExperimentHelper.get_experiment(model_type.value)
52 self.info3D_model = Info3DEstimation(lib_path=info3D_lib_path)
~/brainalive/RecurrentGaze/landmarks_estimation.py in get_model(cls)
18 @classmethod
19 def get_model(cls):
---> 20 return LandmarksEstimation.landmarks_model
AttributeError: type object 'LandmarksEstimation' has no attribute 'landmarks_model'
I have followed the steps in the README.md and provided the path to libOpenFaceWrapper.so file in openfacewrapper_path
as "../OpenFaceWrapper/build"
Any help is appreciated
Edit :
When trying to run
face_alignment.FaceAlignment(model_type, flip_input=False, device='cuda')
separately It runs with no issues, and I have copies the AU_predictors and model folder to the script's location
Edit 2:
I using Ubuntu 16.04 and Test.py is working fine
Metadata
Metadata
Assignees
Labels
No labels