python - Tensorflow 对象检测 API,具有不同结果的教程

标签 python matplotlib tensorflow

我按照建议的步骤进入 installation section ,然后我执行了 suggested example .令人惊讶的是,如果我们比较演示页面中显示的解决方案,则会获得不同的值。我想探讨这种行为是正确的还是我的实现错误。

我正在使用 tensorflow 1.2.1 我关注了这些 instructions ,我使用建议的测试测试了安装:

test executed

我正在使用 MacOs SO,并将这些 lib 版本用于我的环境:pillow 4.2.0、protobuf 3.3.0、matplotlib 2.0.2、lxml 3.8.0。

这是执行后的结果: 结果 1 enter image description here 结果 2 enter image description here 但是这个结果与演示文稿中显示的示例完全不同,准确性不同: enter image description here

最佳答案

我认为您正在使用 ssd_mobilenet_v1_coco_11_06_2017 模型来测试结果。尝试使用其他模型:

MODEL_NAME = 'ssd_mobilenet_v1_coco_11_06_2017'

MODEL_NAME = 'ssd_inception_v2_coco_11_06_2017'

MODEL_NAME = 'rfcn_resnet101_coco_11_06_2017' 

MODEL_NAME = 'faster_rcnn_resnet101_coco_11_06_2017'

MODEL_NAME = 'faster_rcnn_inception_resnet_v2_atrous_coco_11_06_2017'

faster_rcnn_inception_resnet_v2_atrous_coco_11_06_2017 将为您提供与教程中所示相同的结果。

关于python - Tensorflow 对象检测 API,具有不同结果的教程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44884887/

相关文章:

tensorflow - 如何在 Keras 中使用函数式 API 在快捷连接中添加卷积层?

Python NLTK : parse sentence using conjoint structure, 进入无限递归

python - 由于单引号和双引号,正则表达式不工作

python - 使用 Python Win32com 在 Outlook 中提取收件人电子邮件地址

python - 如何使用 matplotlib 绘制条形范围图?

python - 在 Tensorflow 中删除张量的维度

python - 使用 Matplotlib 在一张条形图中绘制两个字典

pandas - 使用 Pandas 数据框在 Seaborn stripplot 中注释点

python - matplotlib 颜色条和具有共享轴的直方图

tensorflow - tensorflow 中的 stop_gradient