(Ubuntu)Tensorflow object detection API——(2)运行已经训练好的模型

1、在models/research/文件下运行命令:

jupyter-notebook

在弹出的页面里点击

 http://localhost:8888/?token=6d343b91cce1d30e8b3d13fbaa3fd9d0e86a9cd770c8ce26


2、打开object_detection文件夹

点击object_detection_tutorial.ipynb

在新标签页中打开 Object Detection Demo,点击上方的 “Cell”-"Run All",

就可以直接看到结果,最后输出的是两张图片的识别结果,分别是狗,以及沙滩。第一次运行由于需要下载训练好的模型,耗时较长。第二次之后可以将 .ipynb文件中 Download Model 即 in[5]部分的代码注释掉,以加快运行速度。

原文地址:https://www.cnblogs.com/long5683/p/12885793.html