Skip to Content
深度学习入门 : 基于Python的理论与实现
book

深度学习入门 : 基于Python的理论与实现

by 斋藤康毅
July 2018
Intermediate to advanced
310 pages
8h 21m
Chinese
Posts & Telecom Press
Content preview from 深度学习入门 : 基于Python的理论与实现
8.4  深度学习的应用案例 
255
8.4.2
 图像分割
图像分割是指在像素水平上对图像进行分类。如图8
-
19 所示,使用以像
素为单位对各个对象分别着色的监督数据进行学习。然后,在推理时,对输
入图像的所有像素进行分类。
8-19 图像分割的例子(引用自文献[34]):左边是输入图像,右边是监督用的带标签图像
之前实现的神经网络是对图像整体进行了分类,要将它落实到像素水平
的话,该怎么做呢?
要基于神经网络进行图像分割,最简单的方法是以所有像素为对象,对
每个像素执行推理处理。比如,准备一个对某个矩形区域中心的像素进行分
类的网络,以所有像素为对象执行推理处理。正如大家能想到的,这样的
方法需要按照像素数量进行相应次
forward
处理,因而需要耗费大量的时间
(正确地说,卷积运算中会发生重复计算很多区域的无意义的计算)。为了解
决这个无意义的计算问题,有人提出了一个名为
FCN
Fully Convolutional
Network
[37]
的方法。该方法通过一次
forward
处理,对所有像素进行分类(图
8
-
20)。
FCN
的字面意思是 “全部由卷积层构成的网络”。相对于一般的
CNN
含全连接层,
FCN
将全连接层替换成发挥相同作用的卷积层。在物体识别
中使用的网络的全连接层中,中间数据的空间容量被作为排成一列的节点进
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

ルールズ・オブ・プログラミング ―より良いコードを書くための21のルール

ルールズ・オブ・プログラミング ―より良いコードを書くための21のルール

Chris Zimmerman, 久富木 隆一

Publisher Resources

ISBN: 9787115485588