yinguobing / face-mesh-generator

Generate face mesh dataset using Google's FaceMesh model.
GNU General Public License v3.0
118 stars 22 forks source link

ValueError: Could not open 'assets/face_landmark.tflite'. #10

Closed andihaki closed 3 years ago

andihaki commented 3 years ago

(venv) ➜ face-mesh-generator git:(master) ✗ python generate_mesh_dataset.py 2021-09-24 19:46:31,683 - main - INFO - Starting to process dataset: ibug Traceback (most recent call last): File "generate_mesh_dataset.py", line 335, in process(ds_ibug) File "generate_mesh_dataset.py", line 78, in process md = MeshDetector("assets/face_landmark.tflite") File "/Users/users/Documents/_ai/face-mesh-generator/mesh_detector.py", line 16, in init self.interpreter = tf.lite.Interpreter(model_path=model_path) File "/Users/users/Documents/_ai/face-mesh-generator/venv/lib/python3.8/site-packages/tensorflow/lite/python/interpreter.py", line 365, in init _interpreter_wrapper.CreateWrapperFromFile( ValueError: Could not open 'assets/face_landmark.tflite'.