TensorFlow Object Detection实现过程中的笔记

1. 下载TensorFlow Object Detection

1.1 linux中用命令下载GitHub项目:

TensorFlow Object Detection 实现过程中的笔记

git clone https://github.com/tensorflow/models
其中https://github.com/tensorflow/models是TensorFlow Object Detection在GitHub上的项目地址

了解项目纲领:

TensorFlow Models
This repository contains a number of different models implemented in TensorFlow:
The official models are a collection of example models that use TensorFlow’s high-level APIs. They are intended to be well-maintained, tested, and kept up to date with the latest stable TensorFlow API. They should also be reasonably optimized for fast performance while still being easy to read. We especially recommend newer TensorFlow users to start here.
The research models are a large collection of models implemented in TensorFlow by researchers. They are not officially supported or available in release branches; it is up to the individual researchers to maintain the models and/or provide support on issues and pull requests.
The samples folder contains code snippets and smaller models that demonstrate features of TensorFlow, including code presented in various blog posts.
The tutorials folder is a collection of models described in the TensorFlow tutorials.
Contribution guidelines
If you want to contribute to models, be sure to review the contribution guidelines.
License
Apache License 2.0

tensorflow模型:

  1. 包含大量模型(使用tensorflow实现的)
  2. 模型分为四类:
    2.1 第一类:官方模型 (official models)包含可用的、稳定的模型;
    2.2 第二类:研究模型(research models)包含网民自行使用tensorflow开发的模型;
    2.3 第三类:样品模型(samples models)包含小型的、展示tensorflow新特性的模型;
    2.4 第四类:教程模型(tutorials folder);

2. 遇到问题:缺少protobuf

2.1 什么是 protobuf 呢?

解释来自:谷歌开发者文档

What are protocol buffers?
Protocol buffers are a flexible, efficient, automated mechanism for serializing structured data – think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages. You can even update your data structure without breaking deployed programs that are compiled against the “old” format.
大致意思是 protocol buffers 是一个可以将数据序列化成不同格式的数据结构,以便用在各种平台上(改一份原始数据,然后用protocol buffers就可以生成可以在其他平台运行的代码)

2.2 安装过程

2.2.1 下载-编译-运行

下载:

$wget https://github.com/google/protobuf/archive/v3.6.1.zip
$unzip protobuf-3.6.1.zip
$cd protobuf-3.6.1

下载自github的代码需要首先执行 $ ./autogen.sh 生成configure文件

$ ./configure
$ make
$ make check
$ sudo make install

protobuf安装完成:
TensorFlow Object Detection 实现过程中的笔记

相关文章:

  • 2021-09-08
  • 2021-12-05
  • 2021-09-19
  • 2022-12-23
  • 2021-07-30
  • 2022-01-02
  • 2021-12-04
  • 2021-05-14
猜你喜欢
  • 2021-09-06
  • 2021-11-08
  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案