当前位置:网站首页>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
边栏推荐
- The four connection methods of JDBC are directly coded
- 关于超星脚本出现乱码问题
- [issue 18] share a Netease go experience
- Statistics 8th Edition Jia Junping Chapter 1 after class exercises and answers summary
- 刷视频的功夫,不如看看这些面试题你掌握了没有,慢慢积累月入过万不是梦。
- 王爽汇编语言学习详细笔记一:基础知识
- "If life is just like the first sight" -- risc-v
- 《統計學》第八版賈俊平第七章知識點總結及課後習題答案
- The common methods of servlet context, session and request objects and the scope of storing data in servlet.
- [pointer] counts the number of times one string appears in another string
猜你喜欢
1. Payment system
数据库多表链接的查询方式
The salary of testers is polarized. How to become an automated test with a monthly salary of 20K?
四元数---基本概念(转载)
内网渗透之内网信息收集(三)
MySQL中什么是索引?常用的索引有哪些种类?索引在什么情况下会失效?
Wang Shuang's detailed notes on assembly language learning I: basic knowledge
. Net6: develop modern 3D industrial software based on WPF (2)
5 minutes to master machine learning iris logical regression classification
Keil5 MDK's formatting code tool and adding shortcuts
随机推荐
Fundamentals of digital circuits (I) number system and code system
数字电路基础(一)数制与码制
C language do while loop classic Level 2 questions
My first blog
Vysor uses WiFi wireless connection for screen projection_ Operate the mobile phone on the computer_ Wireless debugging -- uniapp native development 008
5分钟掌握机器学习鸢尾花逻辑回归分类
【指针】八进制转换为十进制
DVWA exercise 05 file upload file upload
Statistics 8th Edition Jia Junping Chapter 4 Summary and after class exercise answers
Statistics 8th Edition Jia Junping Chapter 12 summary of knowledge points of multiple linear regression and answers to exercises after class
内网渗透之内网信息收集(三)
Es full text index
Statistics, 8th Edition, Jia Junping, Chapter VIII, summary of knowledge points of hypothesis test and answers to exercises after class
Pointer -- eliminate all numbers in the string
Statistics 8th Edition Jia Junping Chapter 7 Summary of knowledge points and answers to exercises after class
MySQL中什么是索引?常用的索引有哪些种类?索引在什么情况下会失效?
Sentinel overall workflow
[pointer] find the length of the string
Statistics, 8th Edition, Jia Junping, Chapter 6 Summary of knowledge points of statistics and sampling distribution and answers to exercises after class
Express