16-卷积神经网络基础下_第1页
16-卷积神经网络基础下_第2页
16-卷积神经网络基础下_第3页
16-卷积神经网络基础下_第4页
16-卷积神经网络基础下_第5页
已阅读5页,还剩17页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

DeepLearninganditsApplicationConvolutionalneuralnetworks下Acloserlookatspatial

dimensions:32332x32x3

image5x5x3

filter32convolve(slide)over

allspatial

locationsactivation

map3212828SpatialdimensionsSJTUDeepLearningLecture.33Acloserlookatspatial

dimensions:77x7input

(spatially)assume3x3

filter7SpatialdimensionsSJTUDeepLearningLecture.Spatialdimensions34Acloserlookatspatial

dimensions:77x7input

(spatially)assume3x3

filter7SJTUDeepLearningLecture.onebyone=>5x5

output357Acloserlookatspatial

dimensions:77x7input

(spatially)assume3x3

filterSpatialdimensionsSJTUDeepLearningLecture.7x7input(spatially)assume3x3filterappliedwithstride

23677Acloserlookatspatial

dimensions:SpatialdimensionsSJTUDeepLearningLecture.7x7input(spatially)assume3x3filterappliedwithstride

23777Acloserlookatspatial

dimensions:SpatialdimensionsSJTUDeepLearningLecture.7x7input(spatially)assume3x3filterappliedwithstride

2=>3x3

output!3877Acloserlookatspatial

dimensions:Spatial

dimensionsSJTUDeepLearningLecture.7x7input(spatially)assume3x3filterappliedwithstride

3?3977Acloserlookatspatial

dimensions:doesn’t

fit!cannotapply3x3filter

on7x7inputwithstride

3.SpatialdimensionsSJTUDeepLearningLecture.NNFF40Output

size:(N-F)/stride+

1e.g.N=7,F=

3:stride1=>(7-3)/1+1=

5stride2=>(7-3)/2+1=

3stride3=>(7-3)/3+1=2.33SpatialdimensionsSJTUDeepLearningLecture.Inpractice:Commontozeropadtheborder410000000000e.g.input

7x73x3filter,appliedwithstride

1padwith1pixelborder=>whatisthe

output?(recall:)(N-F)/stride+

1SJTUDeepLearningLecture.Inpractice:Commontozeropadtheborder420000000000e.g.input

7x73x3filter,appliedwithstride

1padwith1pixelborder=>whatisthe

output?7x7

output!SJTUDeepLearningLecture.•43Inpractice:Commontozeropadthebordere.g.input

7x73x3filter,appliedwithstride

1padwith1pixelborder=>whatisthe

output?7x7

output!ingeneral,commontoseeCONVlayerswithstride1,filtersofsizeFxF,andzero-padding

with(F-1)/2.(willpreservesize

spatially)e.g.

F=3=>zeropadwith

1

F=5=>zeropadwith

2

F=7=>zeropadwith

30000000000SJTUDeepLearningLecture.Rememberback

to…E.g.32x32inputconvolvedrepeatedlywith5x5filtersshrinksvolumesspatially!(32->28->24...).Shrinkingtoofastisnotgood,doesn’twork

well.32323CONV,ReLUe.g.65x5x3filters28286CONV,ReLUe.g.

105x5x6filtersCONV,ReLU44….102424Inpractice:CommontozeropadtheborderSJTUDeepLearningLecture.Examplestime:Inputvolume:

32x32x3105x5filterswithstride1,pad

2Outputvolumesize:

?Outputvolume

size:(32+2*2-5)/1+1=32spatially,

so32x32x10Numberofparametersinthis

layer?45SJTUDeepLearningLecture.Examplestime:Inputvolume:

32x32x3105x5filterswithstride1,pad

2(+1for

bias)Numberofparametersinthislayer?eachfilterhas5*5*3+1=76

params=>76*10=76046SJTUDeepLearningLecture.30721Reminder:FullyConnected

Layer32x32x3image->stretchto3072x

110x

3072weightsactivationinput1

number:theresultoftakingadotproductbetweenarowofWandthe

input(a3072-dimensionaldot

product)110Eachneuronlooksatthe

fullinput

volume53SJTUDeepLearningLecture.twomorelayerstogo:

POOL/FC54Pooling

layerSJTUDeepLearningLecture.57

SJTUDeepLearningLecture.PoolinglayerPooling

layer55makestherepresentationssmallerandmore

manageable(arguablymorerobustagainstnoise,andcapturetheinvariantinformation)operatesovereachactivationmap

independently:SJTUDeepLearningLecture.1124567832101234xmaxpoolwith2x2

filtersandstride

2566834MAX

POOLING

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论