yinguobing / facial-landmark-detection-hrnet

A TensorFlow implementation of HRNet for facial landmark detection.
GNU General Public License v3.0
156 stars 40 forks source link

generate_mesh_dataset.py #6

Closed MacBook-Pro-gala closed 3 years ago

MacBook-Pro-gala commented 3 years ago

after I use generate_mesh_dataset.py,A 300vw.record file was generated.But how should I use this file for model training.

Traceback (most recent call last):
  File "train.py", line 167, in <module>
    model.fit(dataset_train,
  File "/Users/liuyuhan/miniforge3/envs/tensorflow/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py", line 1110, in fit
    raise ValueError('Expect x to be a non-empty array or dataset.')
ValueError: Expect x to be a non-empty array or dataset.
yinguobing commented 3 years ago

正如错误信息所述,x必须是非空矩阵。建议把当前x的具体数值打印出来看下。