1adrianb / face-alignment

:fire: 2D and 3D Face alignment library build using pytorch
https://www.adrianbulat.com
BSD 3-Clause "New" or "Revised" License
6.94k stars 1.33k forks source link

AttributeError: type object 'LandmarksEstimation' has no attribute 'landmarks_model' #173

Closed nmbtwzt closed 3 years ago

nmbtwzt commented 4 years ago

when i run ,i get this error,please help me thank you.

Traceback (most recent call last): File "F:/nmbtwzt/Desktop/视觉预测/RecurrentGaze-master/TestOnline.py", line 11, in ga = gaze_estimation.GazeEstimation(device='cpu', info3D_lib_path=openfacewrapper_path) File "F:\nmbtwzt\Desktop\视觉预测\RecurrentGaze-master\gaze_estimation.py", line 51, in init self.landmarks_model = LandmarksEstimation(device=device).get_model() File "F:\nmbtwzt\Desktop\视觉预测\RecurrentGaze-master\landmarks_estimation.py", line 20, in get_model return LandmarksEstimation.landmarks_model AttributeError: type object 'LandmarksEstimation' has no attribute 'landmarks_model'