1 Star 1 Fork 0

FaceAI/MaskDetection

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
TFModelMessage.py 506 Bytes
一键复制 编辑 原始数据 按行查看 历史
FaceSearch 提交于 2024-12-30 22:28 +08:00 . Python Project
import platform
import tensorflow as tf
# 获取模型的信息数据
tflite_model_path = "train_images/new3/new3_fp16.tflite"
interpreter = tf.lite.Interpreter(model_path=tflite_model_path)
interpreter.allocate_tensors()
# Get input and output details
input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()
# Get model metadata
model_metadata = interpreter.get_tensor_details()
# Print model metadata
for metadata in model_metadata:
print(metadata)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/onDeviceAI/MaskDetection.git
git@gitee.com:onDeviceAI/MaskDetection.git
onDeviceAI
MaskDetection
MaskDetection
main

搜索帮助