Skip to Content
深度學習|內行人的做法
book

深度學習|內行人的做法

by Josh Patterson, Adam Gibson
January 2019
Beginner to intermediate
576 pages
14h 31m
Chinese
GoTop Information, Inc.
Content preview from 深度學習|內行人的做法
328
|
第七章:特定深度網路架構的調整
無條件捨去的後果
這種無條件捨去的做法,所帶來的主要後果就是,如果出現需要進行無條
件捨去的情況,就會產生邊界(border)/ 邊緣(edge)效應。實際上,
沿給定維度(高或寬)會有一些數量的輸入不會被採用,因此某些輸入激
活值可能會被丟失掉 / 忽略掉。這種做法在網路後半段(被丟掉的激活值
有可能是原始輸入中很重要的部分)或者是核心大小與步幅較大時,可能
就會出現問題。
「相同模式」的操作方式與「嚴格 / 截斷模式」之間,有三個關鍵的差別:
• 不使用卷積 / 子採樣層配置中的人工填充值;填充值會根據輸入大小、核心大小與
步幅自動計算。
• 與嚴格 / 截斷模式相比,輸出大小的計算方式不同(稍後會詳細介紹)。最值得注意
的是,如果步幅等於 1,輸出大小與輸入大小就會是相同的。
• 頂部 / 底部與左側 / 右側所計算出來的填充值有可能是不同的(如果是不同的:右側
/ 底部會比頂部 / 左側多填充 1 像素 / 行 / 列 )。
設置池化層
池化函數會使用特定點附近所連結神經元輸出的一個總結性統計值,來取代特定點處的
層輸出。這有助於讓模型表達方式在遇到輸入資料中出現小幅度的平移時,更不容易受
其影響。池化層本身並沒有需要處理的參數,因為它計算的是輸入的固定函數。在池化
層中並不常使用零填充的做法。
池化可以讓模型不易受到小幅度變化的影響
對圖片資料進行訓練時,模型如果能夠不受小幅度變化或局部平移的影
響,應該是很有用的一個性質。
只要使用了池化,就會產生一種概念上非常強大的效果,那就是讓卷積層 ...
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

精實企業|高績效組織如何達成創新規模化

精實企業|高績效組織如何達成創新規模化

Jez Humble, Joanne Molesky, Barry O'Reilly
机器学习和AI精粹

机器学习和AI精粹

诺亚·吉夫特
初探深度學習|使用TensorFlow

初探深度學習|使用TensorFlow

Reza Zadeh, Bharath Ramsundar

Publisher Resources

ISBN: 9789865020262