docker - 为什么对象检测模型在不同的机器上给出不同的结果
问题描述
我已经训练了一个手部检测模型并将其导出为 tensorflow 服务格式以提供服务。我使用不同的包和库的版本进行了以下设置,我正在使用:
1)使用冻结图检测手
versions--
Tensorflow- 1.9.0
numpy 1.16.3
scipy 0.19
ternsorflow-server 1.10.0
opencv - 4.1.0
Results - Bounding box of hands - (86, 169, 186, 161)
Results of Hand Detection Model - Correct
2)通过从本地机器上访问 tensorflow 服务器来检测手
versions--
Tensorflow- 1.9.0
numpy 1.16.3
scipy 0.19
ternsorflow-server 1.10.0
opencv - 3.4.1
Results - Bounding box of hands - (86, 169, 186, 161)
Results of Hand Detection Model - Correct
3) 为 tensorflow 服务和客户端(flask)创建了一个 Docker 映像,现在通过使用 POSTMAN 访问 tensorflow 服务器来检测手GPU
versions--
Tensorflow- 1.13.1
numpy 1.16.2
scipy 0.19
ternsorflow-server 1.13.0
opencv version - 3.1.0
Results - Bounding box of hands - (86, 169, 186, 161)
Results of Hand Detection Model - Correct
4) 为 tensorflow 服务和客户端(flask)创建了一个 Docker 映像,现在通过使用 POSTMAN 访问 tensorflow 服务器来检测手CPU
Tensorflow- 1.13.1
numpy 1.16.2
scipy 0.19
ternsorflow-server 1.13.0
opencv version - 3.4.1
Results - Bounding box of hands - (137, 204, 124, 205)
Results of Hand Detection Model - Wrong
请帮助我找出我得到不同结果的原因CPU
。如果需要任何其他信息,请告诉我。
解决方案
推荐阅读
- python - 使用 BERT 模型进行推理时没有 batch_size
- javascript - setState 回调函数没有被调用?
- python - 为什么我不能在 PyCharm 中导入两个模块?
- excel - VBA 如何只运行 3 个潜艇中的 1 个?
- django - 在 Django manage.py runserver 默认输出中添加用户名和客户端 IP 地址
- android - 使用反射为私有方法编写测试
- java - 合并我的项目后,如何解决 razorpay 中的 com.razorpay.CheckoutActivity Class not found 异常?在合并之前它工作正常
- javascript - 如何为 prettyPhoto 实现自定义标记触发器
- java - 如何使用 URL 调用 python 脚本
- php - 无法安装 barryvdh/laravel-dompdf