610265158 / face_landmark

A simple method for face alignment based on wingloss and mutitask learning :)
Apache License 2.0
251 stars 80 forks source link

转化tflite模型后,测试部分代码报错 #46

Closed ccl-private closed 3 years ago

ccl-private commented 3 years ago

File "/home/ccl/Documents/codes/python/face_landmark-master/tools/convert_to_tflite.py", line 32, in tflite_results = interpreter.get_tensor(output_details[2]['index']) IndexError: list index out of range

ccl-private commented 3 years ago

Screenshot from 2020-09-07 15-03-26 训练出来的模型比预训练模型少一个variables.data-00000-of-00002,正常吗

ccl-private commented 3 years ago

终于搞定了,应该是tflite后面更新了,把face_landmark.py文件改成这样就可以了. Screenshot from 2020-09-14 09-29-10