最近,我一直在研究年龄和性别识别问题。在搜索现有解决方案时,我遇到了一个 Open Vino 工具包。 https://docs.openvinotoolkit.org/
他们使用许多模型来完成深度学习任务,其中之一是 https://docs.openvinotoolkit.org/latest/_models_intel_age_gender_recognition_retail_0013_description_age_gender_recognition_retail_0013.html
现在这些模型可以免费使用并且可以轻松下载。我下载了模型 zip 文件夹,其中包含一个 .xml 文件。该文件显示了层和每层中的维度以及有关模型结构的其他有用信息。 另一个文件是 .bin 文件,这个(我猜)是真实的模型文件,但我不知道如何加载保存为 .bin 文件的模型。
The image attached contain the content of the .xml file 需要帮忙。
最佳答案
你应该在你的电脑上安装 openvino 工具包。并在部署工具文件夹中找到 object_detecction_ssd.py
文件,该文件将存储在 openvino 工具包的安装文件夹中。然后您可以将 XMl 和 bin 文件作为参数传递给 python 文件。
关于keras - 如何加载 .bin 模型文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59477176/