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 深度學習|內行人的做法
卷積神經網路(CNN)
|
149
我們會把連往輸入立方體同一個區域的一整組神經元,全都沿著輸出的深度維度排列。
步幅。 步幅(stride)設定的是在套用過濾器函數時,每次滑動過濾器窗口所要移動的
距離。每次把過濾器函數滑過整個輸入立方體,完成全部的卷積運算之後,就會在輸出
立方體創建出一個新的深度切片。如果是比較小的步幅設定值(例如 1 就表示每次只移
動一個單元),過濾器沿著空間維度(寬度與高度)移動的次數就會比較多。這樣一來
感受域重疊的情況就會比較多,整個輸出立方體也會變得比較大。如果指定比較大的步
幅值,情況正好相反。比較大的步幅值會減少感受域在空間上的重疊,輸出立方體也會
變得比較小。
零填充。 最後一個超參數就是所謂的「零填充(zero-padding)」,我們可以使用它來
控制輸出立方體的空間維度大小。如果我們想要讓輸出立方體的空間維度,維持與輸入
立方體相同的大小,我們就會執行此操作。
批量歸一化和層
如果想要加速 CNN 的訓練,我們可以針對每一小批量,對前一層的激活值進行歸一化
操作
12
。這個技術會套用一種轉換,讓激活值的平均值接近於 0.0,並讓激活值的標準差
接近於 1.0。
我們會把歸一化當成 CNN 網路架構的一部分,這種批量歸一化的做法已被證明具有加
速訓練(
https://github.com/ducha-aiki/caffenet-benchmark/blob/master/batchnorm.md
)的效
果。在進行訓練時,如果針對每一小批量輸入資料進行歸一化操作,就可以搭配比較高 ...
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