zoukankan      html  css  js  c++  java
  • Ubuntu18.04下安装、测试tensorflow/models Tensorflow Object Detection API 笔记

    参考:https://www.jianshu.com/p/1ed2d9ce6a88

    安装

    1.  安装conda+tensorflow库
    2. 下载protoc linux x64版,https://github.com/protocolbuffers/protobuf/releases
    3. 将下载的zip文件,进入解压后的文件,将里面的bin/protoc文件复制到/usr/bin/protoc
      sudo cp bin/protoc /usr/bin/protoc
    4. 下载models仓库
      git clone https://github.com/tensorflow/models.git
    5. 在models/research/目录下,运行
      protoc object_detection/protos/*.proto --python_out=.
      python setup.py install
    6. 删除models/research/slim/BUILD文件,并运行
      python setup.py install

    测试

    1. 运行测试脚本,结果出现OK字样则表示正确。
      python object_detection/builders/model_builder_test.py
    2. 在models下打开jupyter-notebook,并运行research/object_detection/object_detection_tutorial.ipynb,运行成功后出现下图
      jupyter notebook .

  • 相关阅读:
    asp .net 文件浏览功能
    Angular组件间的数据传输
    Angular自定义表单验证
    asp .net Cookies
    带参跳转其他controller
    asp .net 页面跳转
    发送邮件
    ubuntu之Matlab安装
    清华宿舍楼
    ubuntu窗口打开指定文件夹
  • 原文地址:https://www.cnblogs.com/xbit/p/10062570.html
Copyright © 2011-2022 走看看