D:\Anaconda3\envs\tf2.3\python.exe D:/Facial-Landmark-Detection/reference/facial-landmark-detection-hrnet-master/face-mesh-generator/generate_mesh_dataset.py
2020-12-28 19:23:22,786 - main - INFO - Starting to process dataset: wflw_train
Traceback (most recent call last):
File "D:/Facial-Landmark-Detection/reference/facial-landmark-detection-hrnet-master/face-mesh-generator/generate_mesh_dataset.py", line 341, in
process(ds_wflw)
File "D:/Facial-Landmark-Detection/reference/facial-landmark-detection-hrnet-master/face-mesh-generator/generate_mesh_dataset.py", line 82, in process
tf_writer = MeshRecordOperator(
File "D:\Facial-Landmark-Detection\reference\facial-landmark-detection-hrnet-master\face-mesh-generator\tfrecord_operator.py", line 44, in init
self._writer = tf.io.TFRecordWriter(filename)
File "D:\envs\tf2.3\lib\site-packages\tensorflow\python\lib\io\tf_record.py", line 298, in init
super(TFRecordWriter, self).init(
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 70: invalid continuation byte
由此导致无法训练模型进行下一步工作,大佬可以指教一下吗
我是在facial-landmark-detection-hrnet项目中转过来的。我看facial-landmark-detection-hrnet的训练需要json文件,应该是通过本项目生成样本,但是我将wflw从官方下载解压后运行generate_mesh_dataset.py后,碰到如下问题:
D:\Anaconda3\envs\tf2.3\python.exe D:/Facial-Landmark-Detection/reference/facial-landmark-detection-hrnet-master/face-mesh-generator/generate_mesh_dataset.py 2020-12-28 19:23:22,786 - main - INFO - Starting to process dataset: wflw_train Traceback (most recent call last): File "D:/Facial-Landmark-Detection/reference/facial-landmark-detection-hrnet-master/face-mesh-generator/generate_mesh_dataset.py", line 341, in
process(ds_wflw)
File "D:/Facial-Landmark-Detection/reference/facial-landmark-detection-hrnet-master/face-mesh-generator/generate_mesh_dataset.py", line 82, in process
tf_writer = MeshRecordOperator(
File "D:\Facial-Landmark-Detection\reference\facial-landmark-detection-hrnet-master\face-mesh-generator\tfrecord_operator.py", line 44, in init
self._writer = tf.io.TFRecordWriter(filename)
File "D:\envs\tf2.3\lib\site-packages\tensorflow\python\lib\io\tf_record.py", line 298, in init
super(TFRecordWriter, self).init(
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 70: invalid continuation byte
由此导致无法训练模型进行下一步工作,大佬可以指教一下吗