Hi,
I am trying to run the demo but for some reason it only throws me an error. Can anybody help me with this?
File "F:\Users\Daniel\Downloads\pytorch_mpiigaze_demo-master\pytorch_mpiigaze_demo-master\ptgaze\demo.py", line 11, in
from gaze_estimator import GazeEstimator
File "F:\Users\Daniel\Downloads\pytorch_mpiigaze_demo-master\pytorch_mpiigaze_demo-master\ptgaze\gaze_estimator.py", line 12, in
from utils import get_3d_face_model
File "F:\Users\Daniel\Downloads\pytorch_mpiigaze_demo-master\pytorch_mpiigaze_demo-master\ptgaze\utils.py", line 13, in
from common.face_model_mediapipe import FaceModelMediaPipe
File "F:\Users\Daniel\Downloads\pytorch_mpiigaze_demo-master\pytorch_mpiigaze_demo-master\ptgaze\common\face_model_mediapipe.py", line 8, in
@dataclasses.dataclass(frozen=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\danie\AppData\Local\Programs\Python\Python311\Lib\dataclasses.py", line 1213, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\danie\AppData\Local\Programs\Python\Python311\Lib\dataclasses.py", line 958, in _process_class
cls_fields.append(_get_field(cls, name, type, kw_only))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\danie\AppData\Local\Programs\Python\Python311\Lib\dataclasses.py", line 815, in _get_field
raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'numpy.ndarray'> for field LANDMARKS is not allowed: use default_factory