安装前提:已安装python3.6+tensorflow-gpu1.8 显卡:GTX1080ti
c://users/Lyapunov//AppData//Local//Programs//Python//Python3.6//Lib//site-packages//tensorflow
1 从github下载models:https://github.com/tensorflow/models放到了D:\models-master
2 protobuf编译:https://download.csdn.net/download/zxf20063033/9893084下载protoc-3.3.0-win32.zip,解压后将bin文件夹中的【protoc.exe】放到C:\Windows下
# From tensorflow/models/research
protoc object_detection/protos/*.proto --python_out=.
不报错即可将protosw文件夹下得文件生成.proco格式,每个文件下面对应一个该格式文件,即编译成功。
3 测试
再在models-master处打开powershell,输入jupyter-notebook
打开research\object_detetion中\object_detection_tutorial.ipynb\ cell-run all
出现no mode