当前位置:网站首页>Install and run tensorflow object detection API video object recognition system of Google open source
Install and run tensorflow object detection API video object recognition system of Google open source
2022-07-06 14:53:00 【gmHappy】
Linux install
Refer to official documents :
https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md
install Python
Download address https://www.python.org/, Proposed installation Anaconda, Download address https://www.anaconda.com/download/, The latest version of the official website is Anaconda3-5.1.0, Select the corresponding operating system to install , The version selected by the author is 4.3.8.
Anaconda download
https://www.anaconda.com/download/ ( Not recommended , The official website is slow to download )
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ ( recommend , Tsinghua University open source software image station to download and configure the image )
https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/ (mini edition ,, Tsinghua University open source software image station )
install TensorFlow
The author used to pip Way to install
install CUP Version of TensorFlow:
pip install tensorflow
- 1.
install CUP Version of TensorFlow:
pip install tensorflow
- 1.
The author chose TensorFlow The version is 1.5.0, therefore :
pip install tensorflow==1.5.0
- 1.
install Protoc
Protoc Used to compile related program running files , Get into Protoc Download page , Select the corresponding version according to the specific operating system , The author is Win7 Download something like the one shown in the figure below win32 The package , After decompression bin In the folder protoc.exe copy to c:\windows\system32 Under the table of contents
What I choose is :
Because of the recent 3.5.1 There is BUG Can operate Object Detection API Can't compile .
install git
Get into git Official website download Windows Platform git
Download the code and compile
stay cmd Enter the following code :
git clone https://github.com/tensorflow/models.git
- 1.
Or in the Official website , download ZIP package :
cmd Enter into models/research/ Folder , compile Object Detection API Code for :
# From models/research/
protoc object_detection/protos/*.proto --python_out=.
- 1.
- 2.
Add library to PYTHONPATH,models/research and models/research/slim The directory should be attached to PYTHONPATH in .
D:\models-master\research;D:\models-master\research\slim
- 1.
Test installation , Test whether you have correctly installed... By running the following command Tensorflow Object Detection API:
python object_detection/builders/model_builder_test.py
- 1.
function notebook demo
stay models-master\research Run the following command under file :
notebook demo
- 1.
The browser opens automatically , The following screen is displayed :
choice object_detection Get into
choice object_detection_tutorial.ipynb Get into
Click on Cell Internal Run All, Wait a few minutes or so ( Download model ), The following results are displayed :
So far, the official website example has been set up and run
边栏推荐
- 浙大版《C语言程序设计实验与习题指导(第3版)》题目集
- 王爽汇编语言学习详细笔记一:基础知识
- Database monitoring SQL execution
- Transplant hummingbird e203 core to Da Vinci pro35t [Jichuang xinlai risc-v Cup] (I)
- Statistics, 8th Edition, Jia Junping, Chapter 11 summary of knowledge points of univariate linear regression and answers to exercises after class
- 【指针】使用插入排序法将n个数从小到大进行排列
- My first blog
- Four methods of exchanging the values of a and B
- Pointer -- output all characters in the string in reverse order
- Common Oracle commands
猜你喜欢
内网渗透之内网信息收集(三)
“Hello IC World”
“Hello IC World”
Fundamentals of digital circuit (V) arithmetic operation circuit
Statistics 8th Edition Jia Junping Chapter 7 Summary of knowledge points and answers to exercises after class
[Ogg III] daily operation and maintenance: clean up archive logs, register Ogg process services, and regularly back up databases
《统计学》第八版贾俊平第五章概率与概率分布
Statistics, 8th Edition, Jia Junping, Chapter 11 summary of knowledge points of univariate linear regression and answers to exercises after class
Soft exam information system project manager_ Project set project portfolio management --- Senior Information System Project Manager of soft exam 025
王爽汇编语言学习详细笔记一:基础知识
随机推荐
Statistics 8th Edition Jia Junping Chapter 1 after class exercises and answers summary
SystemVerilog discusses loop loop structure and built-in loop variable I
My first blog
[pointer] counts the number of times one string appears in another string
MySQL interview questions (4)
【指针】查找最大的字符串
Solutions to common problems in database development such as MySQL
The salary of testers is polarized. How to become an automated test with a monthly salary of 20K?
Function: string storage in reverse order
函数:计算字符串中大写字母的个数
数字电路基础(五)算术运算电路
The common methods of servlet context, session and request objects and the scope of storing data in servlet.
Common Oracle commands
Keil5-MDK的格式化代码工具及添加快捷方式
【指针】求二维数组中最大元素的值
《统计学》第八版贾俊平第十一章一元线性回归知识点总结及课后习题答案
What is the transaction of MySQL? What is dirty reading and what is unreal reading? Not repeatable?
《统计学》第八版贾俊平第七章知识点总结及课后习题答案
移植蜂鸟E203内核至达芬奇pro35T【集创芯来RISC-V杯】(一)
Why can swing implement a form program by inheriting the JFrame class?