yinguobing / facial-landmark-detection-hrnet

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

百度云盘没有下载到hrnet的模型 #12

Open haoxurt opened 3 years ago

haoxurt commented 3 years ago

您好,我通过: https://pan.baidu.com/s/1EQsB0LnSkfvoNjMvkFV5dQ只下载到一个saved_model.pb,没有看到predict.py中需要的“./exported/hrnetv2”。请问是我下载错误了吗

yinguobing commented 3 years ago

你把文件放在目录下试试。

haoxurt commented 3 years ago

下载解压后一级目录名为exported, 其中包含assets、saved_model.pb、variables三个子文件。按照代码中的写法detector_face = Detector('assets/face_model'),我将saved_model.pb、variables 复制到assets/face_model下,但是我没有发现model = tf.keras.models.load_model("./exported/hrnetv2")中需要的hrnetv2

yinguobing commented 3 years ago

把解压后的三个文件放在hrnetv2目录下试试。

haoxurt commented 3 years ago

我的理解 网盘下载的3个文件是用于detector_face的,难道saved_model.pb、variables是hrnetv2的权重? 那detector_face的权重呢?

yinguobing commented 3 years ago

detector_face的权重自带的。