1 Star 0 Fork 0

kangchi/pytorch2caffe

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ssd_mobilenetv2_fpn_full.prototxt 47.85 KB
一键复制 编辑 原始数据 按行查看 历史
wanglaotou 提交于 2020-03-18 19:57 . ssd_mobilenetv2_fpn
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100
name: "ssd_mobilenetv2_fpn"
layer {
name: "data"
type: "Input"
top: "data"
input_param {
shape {
dim: 1
dim: 3
dim: 300
dim: 300
}
}
}
layer {
name: "Convolution1"
type: "Convolution"
bottom: "data"
top: "Convolution1"
convolution_param {
num_output: 32
bias_term: false
pad: 1
kernel_size: 3
stride: 2
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm1"
type: "BatchNorm"
bottom: "Convolution1"
top: "Convolution1"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale1"
type: "Scale"
bottom: "Convolution1"
top: "Convolution1"
scale_param {
bias_term: true
}
}
layer {
name: "conv0"
type: "ReLU"
bottom: "Convolution1"
top: "Convolution1"
}
layer {
name: "Convolution2"
type: "Convolution"
bottom: "Convolution1"
top: "Convolution2"
convolution_param {
num_output: 32
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm2"
type: "BatchNorm"
bottom: "Convolution2"
top: "Convolution2"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale2"
type: "Scale"
bottom: "Convolution2"
top: "Convolution2"
scale_param {
bias_term: true
}
}
layer {
name: "conv1"
type: "ReLU"
bottom: "Convolution2"
top: "Convolution2"
}
layer {
name: "Convolution3"
type: "Convolution"
bottom: "Convolution2"
top: "Convolution3"
convolution_param {
num_output: 32
bias_term: false
pad: 1
kernel_size: 3
group: 32
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm3"
type: "BatchNorm"
bottom: "Convolution3"
top: "Convolution3"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale3"
type: "Scale"
bottom: "Convolution3"
top: "Convolution3"
scale_param {
bias_term: true
}
}
layer {
name: "conv2"
type: "ReLU"
bottom: "Convolution3"
top: "Convolution3"
}
layer {
name: "Convolution4"
type: "Convolution"
bottom: "Convolution3"
top: "Convolution4"
convolution_param {
num_output: 16
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm4"
type: "BatchNorm"
bottom: "Convolution4"
top: "Convolution4"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv3"
type: "Scale"
bottom: "Convolution4"
top: "Convolution4"
scale_param {
bias_term: true
}
}
layer {
name: "Convolution5"
type: "Convolution"
bottom: "Convolution4"
top: "Convolution5"
convolution_param {
num_output: 96
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm5"
type: "BatchNorm"
bottom: "Convolution5"
top: "Convolution5"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale4"
type: "Scale"
bottom: "Convolution5"
top: "Convolution5"
scale_param {
bias_term: true
}
}
layer {
name: "conv4"
type: "ReLU"
bottom: "Convolution5"
top: "Convolution5"
}
layer {
name: "Convolution6"
type: "Convolution"
bottom: "Convolution5"
top: "Convolution6"
convolution_param {
num_output: 96
bias_term: false
pad: 1
kernel_size: 3
group: 96
stride: 2
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm6"
type: "BatchNorm"
bottom: "Convolution6"
top: "Convolution6"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale5"
type: "Scale"
bottom: "Convolution6"
top: "Convolution6"
scale_param {
bias_term: true
}
}
layer {
name: "conv5"
type: "ReLU"
bottom: "Convolution6"
top: "Convolution6"
}
layer {
name: "Convolution7"
type: "Convolution"
bottom: "Convolution6"
top: "Convolution7"
convolution_param {
num_output: 24
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm7"
type: "BatchNorm"
bottom: "Convolution7"
top: "Convolution7"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv6"
type: "Scale"
bottom: "Convolution7"
top: "Convolution7"
scale_param {
bias_term: true
}
}
layer {
name: "Convolution8"
type: "Convolution"
bottom: "Convolution7"
top: "Convolution8"
convolution_param {
num_output: 144
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm8"
type: "BatchNorm"
bottom: "Convolution8"
top: "Convolution8"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale6"
type: "Scale"
bottom: "Convolution8"
top: "Convolution8"
scale_param {
bias_term: true
}
}
layer {
name: "conv7"
type: "ReLU"
bottom: "Convolution8"
top: "Convolution8"
}
layer {
name: "Convolution9"
type: "Convolution"
bottom: "Convolution8"
top: "Convolution9"
convolution_param {
num_output: 144
bias_term: false
pad: 1
kernel_size: 3
group: 144
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm9"
type: "BatchNorm"
bottom: "Convolution9"
top: "Convolution9"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale7"
type: "Scale"
bottom: "Convolution9"
top: "Convolution9"
scale_param {
bias_term: true
}
}
layer {
name: "conv8"
type: "ReLU"
bottom: "Convolution9"
top: "Convolution9"
}
layer {
name: "Convolution10"
type: "Convolution"
bottom: "Convolution9"
top: "Convolution10"
convolution_param {
num_output: 24
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm10"
type: "BatchNorm"
bottom: "Convolution10"
top: "Convolution10"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv9"
type: "Scale"
bottom: "Convolution10"
top: "Convolution10"
scale_param {
bias_term: true
}
}
layer {
name: "elt1"
type: "Eltwise"
bottom: "Convolution7"
bottom: "Convolution10"
top: "elt1"
eltwise_param {
operation: SUM
}
}
layer {
name: "Convolution11"
type: "Convolution"
bottom: "elt1"
top: "Convolution11"
convolution_param {
num_output: 144
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm11"
type: "BatchNorm"
bottom: "Convolution11"
top: "Convolution11"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale8"
type: "Scale"
bottom: "Convolution11"
top: "Convolution11"
scale_param {
bias_term: true
}
}
layer {
name: "conv10"
type: "ReLU"
bottom: "Convolution11"
top: "Convolution11"
}
layer {
name: "Convolution12"
type: "Convolution"
bottom: "Convolution11"
top: "Convolution12"
convolution_param {
num_output: 144
bias_term: false
pad: 1
kernel_size: 3
group: 144
stride: 2
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm12"
type: "BatchNorm"
bottom: "Convolution12"
top: "Convolution12"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale9"
type: "Scale"
bottom: "Convolution12"
top: "Convolution12"
scale_param {
bias_term: true
}
}
layer {
name: "conv11"
type: "ReLU"
bottom: "Convolution12"
top: "Convolution12"
}
layer {
name: "Convolution13"
type: "Convolution"
bottom: "Convolution12"
top: "Convolution13"
convolution_param {
num_output: 32
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm13"
type: "BatchNorm"
bottom: "Convolution13"
top: "Convolution13"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv12"
type: "Scale"
bottom: "Convolution13"
top: "Convolution13"
scale_param {
bias_term: true
}
}
layer {
name: "Convolution14"
type: "Convolution"
bottom: "Convolution13"
top: "Convolution14"
convolution_param {
num_output: 192
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm14"
type: "BatchNorm"
bottom: "Convolution14"
top: "Convolution14"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale10"
type: "Scale"
bottom: "Convolution14"
top: "Convolution14"
scale_param {
bias_term: true
}
}
layer {
name: "conv13"
type: "ReLU"
bottom: "Convolution14"
top: "Convolution14"
}
layer {
name: "Convolution15"
type: "Convolution"
bottom: "Convolution14"
top: "Convolution15"
convolution_param {
num_output: 192
bias_term: false
pad: 1
kernel_size: 3
group: 192
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm15"
type: "BatchNorm"
bottom: "Convolution15"
top: "Convolution15"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale11"
type: "Scale"
bottom: "Convolution15"
top: "Convolution15"
scale_param {
bias_term: true
}
}
layer {
name: "conv14"
type: "ReLU"
bottom: "Convolution15"
top: "Convolution15"
}
layer {
name: "Convolution16"
type: "Convolution"
bottom: "Convolution15"
top: "Convolution16"
convolution_param {
num_output: 32
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm16"
type: "BatchNorm"
bottom: "Convolution16"
top: "Convolution16"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv15"
type: "Scale"
bottom: "Convolution16"
top: "Convolution16"
scale_param {
bias_term: true
}
}
layer {
name: "elt2"
type: "Eltwise"
bottom: "Convolution13"
bottom: "Convolution16"
top: "elt2"
eltwise_param {
operation: SUM
}
}
layer {
name: "Convolution17"
type: "Convolution"
bottom: "elt2"
top: "Convolution17"
convolution_param {
num_output: 192
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm17"
type: "BatchNorm"
bottom: "Convolution17"
top: "Convolution17"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale12"
type: "Scale"
bottom: "Convolution17"
top: "Convolution17"
scale_param {
bias_term: true
}
}
layer {
name: "conv16"
type: "ReLU"
bottom: "Convolution17"
top: "Convolution17"
}
layer {
name: "Convolution18"
type: "Convolution"
bottom: "Convolution17"
top: "Convolution18"
convolution_param {
num_output: 192
bias_term: false
pad: 1
kernel_size: 3
group: 192
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm18"
type: "BatchNorm"
bottom: "Convolution18"
top: "Convolution18"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale13"
type: "Scale"
bottom: "Convolution18"
top: "Convolution18"
scale_param {
bias_term: true
}
}
layer {
name: "conv17"
type: "ReLU"
bottom: "Convolution18"
top: "Convolution18"
}
layer {
name: "Convolution19"
type: "Convolution"
bottom: "Convolution18"
top: "Convolution19"
convolution_param {
num_output: 32
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm19"
type: "BatchNorm"
bottom: "Convolution19"
top: "Convolution19"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv18"
type: "Scale"
bottom: "Convolution19"
top: "Convolution19"
scale_param {
bias_term: true
}
}
layer {
name: "elt3"
type: "Eltwise"
bottom: "elt2"
bottom: "Convolution19"
top: "elt3"
eltwise_param {
operation: SUM
}
}
layer {
name: "Convolution20"
type: "Convolution"
bottom: "elt3"
top: "Convolution20"
convolution_param {
num_output: 192
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm20"
type: "BatchNorm"
bottom: "Convolution20"
top: "Convolution20"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale14"
type: "Scale"
bottom: "Convolution20"
top: "Convolution20"
scale_param {
bias_term: true
}
}
layer {
name: "conv19"
type: "ReLU"
bottom: "Convolution20"
top: "Convolution20"
}
layer {
name: "Convolution21"
type: "Convolution"
bottom: "Convolution20"
top: "Convolution21"
convolution_param {
num_output: 192
bias_term: false
pad: 1
kernel_size: 3
group: 192
stride: 2
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm21"
type: "BatchNorm"
bottom: "Convolution21"
top: "Convolution21"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale15"
type: "Scale"
bottom: "Convolution21"
top: "Convolution21"
scale_param {
bias_term: true
}
}
layer {
name: "conv20"
type: "ReLU"
bottom: "Convolution21"
top: "Convolution21"
}
layer {
name: "Convolution22"
type: "Convolution"
bottom: "Convolution21"
top: "Convolution22"
convolution_param {
num_output: 64
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm22"
type: "BatchNorm"
bottom: "Convolution22"
top: "Convolution22"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv21"
type: "Scale"
bottom: "Convolution22"
top: "Convolution22"
scale_param {
bias_term: true
}
}
layer {
name: "Convolution23"
type: "Convolution"
bottom: "Convolution22"
top: "Convolution23"
convolution_param {
num_output: 384
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm23"
type: "BatchNorm"
bottom: "Convolution23"
top: "Convolution23"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale16"
type: "Scale"
bottom: "Convolution23"
top: "Convolution23"
scale_param {
bias_term: true
}
}
layer {
name: "conv22"
type: "ReLU"
bottom: "Convolution23"
top: "Convolution23"
}
layer {
name: "Convolution24"
type: "Convolution"
bottom: "Convolution23"
top: "Convolution24"
convolution_param {
num_output: 384
bias_term: false
pad: 1
kernel_size: 3
group: 384
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm24"
type: "BatchNorm"
bottom: "Convolution24"
top: "Convolution24"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale17"
type: "Scale"
bottom: "Convolution24"
top: "Convolution24"
scale_param {
bias_term: true
}
}
layer {
name: "conv23"
type: "ReLU"
bottom: "Convolution24"
top: "Convolution24"
}
layer {
name: "Convolution25"
type: "Convolution"
bottom: "Convolution24"
top: "Convolution25"
convolution_param {
num_output: 64
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm25"
type: "BatchNorm"
bottom: "Convolution25"
top: "Convolution25"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv24"
type: "Scale"
bottom: "Convolution25"
top: "Convolution25"
scale_param {
bias_term: true
}
}
layer {
name: "elt4"
type: "Eltwise"
bottom: "Convolution22"
bottom: "Convolution25"
top: "elt4"
eltwise_param {
operation: SUM
}
}
layer {
name: "Convolution26"
type: "Convolution"
bottom: "elt4"
top: "Convolution26"
convolution_param {
num_output: 384
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm26"
type: "BatchNorm"
bottom: "Convolution26"
top: "Convolution26"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale18"
type: "Scale"
bottom: "Convolution26"
top: "Convolution26"
scale_param {
bias_term: true
}
}
layer {
name: "conv25"
type: "ReLU"
bottom: "Convolution26"
top: "Convolution26"
}
layer {
name: "Convolution27"
type: "Convolution"
bottom: "Convolution26"
top: "Convolution27"
convolution_param {
num_output: 384
bias_term: false
pad: 1
kernel_size: 3
group: 384
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm27"
type: "BatchNorm"
bottom: "Convolution27"
top: "Convolution27"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale19"
type: "Scale"
bottom: "Convolution27"
top: "Convolution27"
scale_param {
bias_term: true
}
}
layer {
name: "conv26"
type: "ReLU"
bottom: "Convolution27"
top: "Convolution27"
}
layer {
name: "Convolution28"
type: "Convolution"
bottom: "Convolution27"
top: "Convolution28"
convolution_param {
num_output: 64
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm28"
type: "BatchNorm"
bottom: "Convolution28"
top: "Convolution28"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv27"
type: "Scale"
bottom: "Convolution28"
top: "Convolution28"
scale_param {
bias_term: true
}
}
layer {
name: "elt5"
type: "Eltwise"
bottom: "elt4"
bottom: "Convolution28"
top: "elt5"
eltwise_param {
operation: SUM
}
}
layer {
name: "Convolution29"
type: "Convolution"
bottom: "elt5"
top: "Convolution29"
convolution_param {
num_output: 384
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm29"
type: "BatchNorm"
bottom: "Convolution29"
top: "Convolution29"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale20"
type: "Scale"
bottom: "Convolution29"
top: "Convolution29"
scale_param {
bias_term: true
}
}
layer {
name: "conv28"
type: "ReLU"
bottom: "Convolution29"
top: "Convolution29"
}
layer {
name: "Convolution30"
type: "Convolution"
bottom: "Convolution29"
top: "Convolution30"
convolution_param {
num_output: 384
bias_term: false
pad: 1
kernel_size: 3
group: 384
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm30"
type: "BatchNorm"
bottom: "Convolution30"
top: "Convolution30"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale21"
type: "Scale"
bottom: "Convolution30"
top: "Convolution30"
scale_param {
bias_term: true
}
}
layer {
name: "conv29"
type: "ReLU"
bottom: "Convolution30"
top: "Convolution30"
}
layer {
name: "Convolution31"
type: "Convolution"
bottom: "Convolution30"
top: "Convolution31"
convolution_param {
num_output: 64
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm31"
type: "BatchNorm"
bottom: "Convolution31"
top: "Convolution31"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv30"
type: "Scale"
bottom: "Convolution31"
top: "Convolution31"
scale_param {
bias_term: true
}
}
layer {
name: "elt6"
type: "Eltwise"
bottom: "elt5"
bottom: "Convolution31"
top: "elt6"
eltwise_param {
operation: SUM
}
}
layer {
name: "Convolution32"
type: "Convolution"
bottom: "elt6"
top: "Convolution32"
convolution_param {
num_output: 384
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm32"
type: "BatchNorm"
bottom: "Convolution32"
top: "Convolution32"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale22"
type: "Scale"
bottom: "Convolution32"
top: "Convolution32"
scale_param {
bias_term: true
}
}
layer {
name: "conv31"
type: "ReLU"
bottom: "Convolution32"
top: "Convolution32"
}
layer {
name: "Convolution33"
type: "Convolution"
bottom: "Convolution32"
top: "Convolution33"
convolution_param {
num_output: 384
bias_term: false
pad: 1
kernel_size: 3
group: 384
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm33"
type: "BatchNorm"
bottom: "Convolution33"
top: "Convolution33"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale23"
type: "Scale"
bottom: "Convolution33"
top: "Convolution33"
scale_param {
bias_term: true
}
}
layer {
name: "conv32"
type: "ReLU"
bottom: "Convolution33"
top: "Convolution33"
}
layer {
name: "Convolution34"
type: "Convolution"
bottom: "Convolution33"
top: "Convolution34"
convolution_param {
num_output: 128
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm34"
type: "BatchNorm"
bottom: "Convolution34"
top: "Convolution34"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv33"
type: "Scale"
bottom: "Convolution34"
top: "Convolution34"
scale_param {
bias_term: true
}
}
layer {
name: "Convolution35"
type: "Convolution"
bottom: "Convolution34"
top: "Convolution35"
convolution_param {
num_output: 768
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm35"
type: "BatchNorm"
bottom: "Convolution35"
top: "Convolution35"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale24"
type: "Scale"
bottom: "Convolution35"
top: "Convolution35"
scale_param {
bias_term: true
}
}
layer {
name: "conv34"
type: "ReLU"
bottom: "Convolution35"
top: "Convolution35"
}
layer {
name: "Convolution36"
type: "Convolution"
bottom: "Convolution35"
top: "Convolution36"
convolution_param {
num_output: 768
bias_term: false
pad: 1
kernel_size: 3
group: 768
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm36"
type: "BatchNorm"
bottom: "Convolution36"
top: "Convolution36"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale25"
type: "Scale"
bottom: "Convolution36"
top: "Convolution36"
scale_param {
bias_term: true
}
}
layer {
name: "conv35"
type: "ReLU"
bottom: "Convolution36"
top: "Convolution36"
}
layer {
name: "Convolution37"
type: "Convolution"
bottom: "Convolution36"
top: "Convolution37"
convolution_param {
num_output: 128
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm37"
type: "BatchNorm"
bottom: "Convolution37"
top: "Convolution37"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv36"
type: "Scale"
bottom: "Convolution37"
top: "Convolution37"
scale_param {
bias_term: true
}
}
layer {
name: "elt7"
type: "Eltwise"
bottom: "Convolution34"
bottom: "Convolution37"
top: "elt7"
eltwise_param {
operation: SUM
}
}
layer {
name: "Convolution38"
type: "Convolution"
bottom: "elt7"
top: "Convolution38"
convolution_param {
num_output: 768
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm38"
type: "BatchNorm"
bottom: "Convolution38"
top: "Convolution38"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale26"
type: "Scale"
bottom: "Convolution38"
top: "Convolution38"
scale_param {
bias_term: true
}
}
layer {
name: "conv37"
type: "ReLU"
bottom: "Convolution38"
top: "Convolution38"
}
layer {
name: "Convolution39"
type: "Convolution"
bottom: "Convolution38"
top: "Convolution39"
convolution_param {
num_output: 768
bias_term: false
pad: 1
kernel_size: 3
group: 768
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm39"
type: "BatchNorm"
bottom: "Convolution39"
top: "Convolution39"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale27"
type: "Scale"
bottom: "Convolution39"
top: "Convolution39"
scale_param {
bias_term: true
}
}
layer {
name: "conv38"
type: "ReLU"
bottom: "Convolution39"
top: "Convolution39"
}
layer {
name: "Convolution40"
type: "Convolution"
bottom: "Convolution39"
top: "Convolution40"
convolution_param {
num_output: 128
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm40"
type: "BatchNorm"
bottom: "Convolution40"
top: "Convolution40"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv39"
type: "Scale"
bottom: "Convolution40"
top: "Convolution40"
scale_param {
bias_term: true
}
}
layer {
name: "elt8"
type: "Eltwise"
bottom: "elt7"
bottom: "Convolution40"
top: "elt8"
eltwise_param {
operation: SUM
}
}
layer {
name: "Convolution41"
type: "Convolution"
bottom: "elt8"
top: "Convolution41"
convolution_param {
num_output: 768
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm41"
type: "BatchNorm"
bottom: "Convolution41"
top: "Convolution41"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale28"
type: "Scale"
bottom: "Convolution41"
top: "Convolution41"
scale_param {
bias_term: true
}
}
layer {
name: "conv40"
type: "ReLU"
bottom: "Convolution41"
top: "Convolution41"
}
layer {
name: "Convolution42"
type: "Convolution"
bottom: "Convolution41"
top: "Convolution42"
convolution_param {
num_output: 768
bias_term: false
pad: 1
kernel_size: 3
group: 768
stride: 2
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm42"
type: "BatchNorm"
bottom: "Convolution42"
top: "Convolution42"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale29"
type: "Scale"
bottom: "Convolution42"
top: "Convolution42"
scale_param {
bias_term: true
}
}
layer {
name: "conv41"
type: "ReLU"
bottom: "Convolution42"
top: "Convolution42"
}
layer {
name: "Convolution43"
type: "Convolution"
bottom: "Convolution42"
top: "Convolution43"
convolution_param {
num_output: 160
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm43"
type: "BatchNorm"
bottom: "Convolution43"
top: "Convolution43"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv42"
type: "Scale"
bottom: "Convolution43"
top: "Convolution43"
scale_param {
bias_term: true
}
}
layer {
name: "Convolution44"
type: "Convolution"
bottom: "Convolution43"
top: "Convolution44"
convolution_param {
num_output: 960
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm44"
type: "BatchNorm"
bottom: "Convolution44"
top: "Convolution44"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale30"
type: "Scale"
bottom: "Convolution44"
top: "Convolution44"
scale_param {
bias_term: true
}
}
layer {
name: "conv43"
type: "ReLU"
bottom: "Convolution44"
top: "Convolution44"
}
layer {
name: "Convolution45"
type: "Convolution"
bottom: "Convolution44"
top: "Convolution45"
convolution_param {
num_output: 960
bias_term: false
pad: 1
kernel_size: 3
group: 960
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm45"
type: "BatchNorm"
bottom: "Convolution45"
top: "Convolution45"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale31"
type: "Scale"
bottom: "Convolution45"
top: "Convolution45"
scale_param {
bias_term: true
}
}
layer {
name: "conv44"
type: "ReLU"
bottom: "Convolution45"
top: "Convolution45"
}
layer {
name: "Convolution46"
type: "Convolution"
bottom: "Convolution45"
top: "Convolution46"
convolution_param {
num_output: 160
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm46"
type: "BatchNorm"
bottom: "Convolution46"
top: "Convolution46"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv45"
type: "Scale"
bottom: "Convolution46"
top: "Convolution46"
scale_param {
bias_term: true
}
}
layer {
name: "elt9"
type: "Eltwise"
bottom: "Convolution43"
bottom: "Convolution46"
top: "elt9"
eltwise_param {
operation: SUM
}
}
layer {
name: "Convolution47"
type: "Convolution"
bottom: "elt9"
top: "Convolution47"
convolution_param {
num_output: 960
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm47"
type: "BatchNorm"
bottom: "Convolution47"
top: "Convolution47"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale32"
type: "Scale"
bottom: "Convolution47"
top: "Convolution47"
scale_param {
bias_term: true
}
}
layer {
name: "conv46"
type: "ReLU"
bottom: "Convolution47"
top: "Convolution47"
}
layer {
name: "Convolution48"
type: "Convolution"
bottom: "Convolution47"
top: "Convolution48"
convolution_param {
num_output: 960
bias_term: false
pad: 1
kernel_size: 3
group: 960
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm48"
type: "BatchNorm"
bottom: "Convolution48"
top: "Convolution48"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale33"
type: "Scale"
bottom: "Convolution48"
top: "Convolution48"
scale_param {
bias_term: true
}
}
layer {
name: "conv47"
type: "ReLU"
bottom: "Convolution48"
top: "Convolution48"
}
layer {
name: "Convolution49"
type: "Convolution"
bottom: "Convolution48"
top: "Convolution49"
convolution_param {
num_output: 160
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm49"
type: "BatchNorm"
bottom: "Convolution49"
top: "Convolution49"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv48"
type: "Scale"
bottom: "Convolution49"
top: "Convolution49"
scale_param {
bias_term: true
}
}
layer {
name: "elt10"
type: "Eltwise"
bottom: "elt9"
bottom: "Convolution49"
top: "elt10"
eltwise_param {
operation: SUM
}
}
layer {
name: "Convolution50"
type: "Convolution"
bottom: "elt10"
top: "Convolution50"
convolution_param {
num_output: 960
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm50"
type: "BatchNorm"
bottom: "Convolution50"
top: "Convolution50"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale34"
type: "Scale"
bottom: "Convolution50"
top: "Convolution50"
scale_param {
bias_term: true
}
}
layer {
name: "conv49"
type: "ReLU"
bottom: "Convolution50"
top: "Convolution50"
}
layer {
name: "Convolution51"
type: "Convolution"
bottom: "Convolution50"
top: "Convolution51"
convolution_param {
num_output: 960
bias_term: false
pad: 1
kernel_size: 3
group: 960
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm51"
type: "BatchNorm"
bottom: "Convolution51"
top: "Convolution51"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale35"
type: "Scale"
bottom: "Convolution51"
top: "Convolution51"
scale_param {
bias_term: true
}
}
layer {
name: "conv50"
type: "ReLU"
bottom: "Convolution51"
top: "Convolution51"
}
layer {
name: "Convolution52"
type: "Convolution"
bottom: "Convolution51"
top: "Convolution52"
convolution_param {
num_output: 320
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm52"
type: "BatchNorm"
bottom: "Convolution52"
top: "Convolution52"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "conv51"
type: "Scale"
bottom: "Convolution52"
top: "Convolution52"
scale_param {
bias_term: true
}
}
layer {
name: "Convolution53"
type: "Convolution"
bottom: "Convolution52"
top: "Convolution53"
convolution_param {
num_output: 128
bias_term: true
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "Deconvolution1"
type: "Deconvolution"
bottom: "Convolution53"
top: "Deconvolution1"
param {
lr_mult: 0.0
}
convolution_param {
num_output: 128
pad: 1
kernel_size: 3
stride: 2
}
}
layer {
name: "Convolution54"
type: "Convolution"
bottom: "Convolution53"
top: "Convolution54"
convolution_param {
num_output: 128
bias_term: true
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "Convolution55"
type: "Convolution"
bottom: "elt8"
top: "Convolution55"
convolution_param {
num_output: 128
bias_term: true
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "fpnelt"
type: "Eltwise"
bottom: "Deconvolution1"
bottom: "Convolution55"
top: "fpnelt"
eltwise_param {
operation: SUM
}
}
layer {
name: "Convolution56"
type: "Convolution"
bottom: "fpnelt"
top: "Convolution56"
convolution_param {
num_output: 128
bias_term: true
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "Convolution57"
type: "Convolution"
bottom: "Convolution52"
top: "Convolution57"
convolution_param {
num_output: 128
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm53"
type: "BatchNorm"
bottom: "Convolution57"
top: "Convolution57"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale36"
type: "Scale"
bottom: "Convolution57"
top: "Convolution57"
scale_param {
bias_term: true
}
}
layer {
name: "conv52"
type: "ReLU"
bottom: "Convolution57"
top: "Convolution57"
}
layer {
name: "Convolution58"
type: "Convolution"
bottom: "Convolution57"
top: "Convolution58"
convolution_param {
num_output: 256
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm54"
type: "BatchNorm"
bottom: "Convolution58"
top: "Convolution58"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale37"
type: "Scale"
bottom: "Convolution58"
top: "Convolution58"
scale_param {
bias_term: true
}
}
layer {
name: "conv_ex1"
type: "ReLU"
bottom: "Convolution58"
top: "Convolution58"
}
layer {
name: "Convolution59"
type: "Convolution"
bottom: "Convolution58"
top: "Convolution59"
convolution_param {
num_output: 512
bias_term: false
pad: 1
kernel_size: 3
stride: 2
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm55"
type: "BatchNorm"
bottom: "Convolution59"
top: "Convolution59"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale38"
type: "Scale"
bottom: "Convolution59"
top: "Convolution59"
scale_param {
bias_term: true
}
}
layer {
name: "conv_ex2"
type: "ReLU"
bottom: "Convolution59"
top: "Convolution59"
}
layer {
name: "Convolution60"
type: "Convolution"
bottom: "Convolution59"
top: "Convolution60"
convolution_param {
num_output: 128
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm56"
type: "BatchNorm"
bottom: "Convolution60"
top: "Convolution60"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale39"
type: "Scale"
bottom: "Convolution60"
top: "Convolution60"
scale_param {
bias_term: true
}
}
layer {
name: "conv_ex3"
type: "ReLU"
bottom: "Convolution60"
top: "Convolution60"
}
layer {
name: "Convolution61"
type: "Convolution"
bottom: "Convolution60"
top: "Convolution61"
convolution_param {
num_output: 256
bias_term: false
pad: 1
kernel_size: 3
stride: 2
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm57"
type: "BatchNorm"
bottom: "Convolution61"
top: "Convolution61"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale40"
type: "Scale"
bottom: "Convolution61"
top: "Convolution61"
scale_param {
bias_term: true
}
}
layer {
name: "conv_ex4"
type: "ReLU"
bottom: "Convolution61"
top: "Convolution61"
}
layer {
name: "Convolution62"
type: "Convolution"
bottom: "Convolution61"
top: "Convolution62"
convolution_param {
num_output: 128
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm58"
type: "BatchNorm"
bottom: "Convolution62"
top: "Convolution62"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale41"
type: "Scale"
bottom: "Convolution62"
top: "Convolution62"
scale_param {
bias_term: true
}
}
layer {
name: "conv_ex5"
type: "ReLU"
bottom: "Convolution62"
top: "Convolution62"
}
layer {
name: "Convolution63"
type: "Convolution"
bottom: "Convolution62"
top: "Convolution63"
convolution_param {
num_output: 256
bias_term: false
pad: 1
kernel_size: 3
stride: 2
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm59"
type: "BatchNorm"
bottom: "Convolution63"
top: "Convolution63"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale42"
type: "Scale"
bottom: "Convolution63"
top: "Convolution63"
scale_param {
bias_term: true
}
}
layer {
name: "conv_ex6"
type: "ReLU"
bottom: "Convolution63"
top: "Convolution63"
}
layer {
name: "Convolution64"
type: "Convolution"
bottom: "Convolution63"
top: "Convolution64"
convolution_param {
num_output: 64
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm60"
type: "BatchNorm"
bottom: "Convolution64"
top: "Convolution64"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale43"
type: "Scale"
bottom: "Convolution64"
top: "Convolution64"
scale_param {
bias_term: true
}
}
layer {
name: "conv_ex7"
type: "ReLU"
bottom: "Convolution64"
top: "Convolution64"
}
layer {
name: "Convolution65"
type: "Convolution"
bottom: "Convolution64"
top: "Convolution65"
convolution_param {
num_output: 128
bias_term: false
pad: 1
kernel_size: 3
stride: 2
weight_filler {
type: "xavier"
}
}
}
layer {
name: "BatchNorm61"
type: "BatchNorm"
bottom: "Convolution65"
top: "Convolution65"
batch_norm_param {
use_global_stats: true
}
}
layer {
name: "Scale44"
type: "Scale"
bottom: "Convolution65"
top: "Convolution65"
scale_param {
bias_term: true
}
}
layer {
name: "conv_ex8"
type: "ReLU"
bottom: "Convolution65"
top: "Convolution65"
}
## 以上出来的结果一致
layer {
name: "loc1"
type: "Convolution"
bottom: "Convolution56"
top: "loc1"
convolution_param {
num_output: 16
bias_term: true
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "conv11_mbox_loc_perm"
type: "Permute"
bottom: "loc1"
top: "conv11_mbox_loc_perm"
permute_param {
order: 0
order: 2
order: 3
order: 1
}
}
layer {
name: "conv11_mbox_loc_flat"
type: "Flatten"
bottom: "conv11_mbox_loc_perm"
top: "conv11_mbox_loc_flat"
flatten_param {
axis: 1
}
}
layer {
name: "conf1"
type: "Convolution"
bottom: "Convolution56"
top: "conf1"
convolution_param {
num_output: 8
bias_term: true
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "conv11_mbox_conf_perm"
type: "Permute"
bottom: "conf1"
top: "conv11_mbox_conf_perm"
permute_param {
order: 0
order: 2
order: 3
order: 1
}
}
layer {
name: "conv11_mbox_conf_flat"
type: "Flatten"
bottom: "conv11_mbox_conf_perm"
top: "conv11_mbox_conf_flat"
flatten_param {
axis: 1
}
}
layer {
name: "loc2"
type: "Convolution"
bottom: "Convolution54"
top: "loc2"
convolution_param {
num_output: 24
bias_term: true
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "conv13_mbox_loc_perm"
type: "Permute"
bottom: "loc2"
top: "conv13_mbox_loc_perm"
permute_param {
order: 0
order: 2
order: 3
order: 1
}
}
layer {
name: "conv13_mbox_loc_flat"
type: "Flatten"
bottom: "conv13_mbox_loc_perm"
top: "conv13_mbox_loc_flat"
flatten_param {
axis: 1
}
}
layer {
name: "conf2"
type: "Convolution"
bottom: "Convolution54"
top: "conf2"
convolution_param {
num_output: 12
bias_term: true
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "conv13_mbox_conf_perm"
type: "Permute"
bottom: "conf2"
top: "conv13_mbox_conf_perm"
permute_param {
order: 0
order: 2
order: 3
order: 1
}
}
layer {
name: "conv13_mbox_conf_flat"
type: "Flatten"
bottom: "conv13_mbox_conf_perm"
top: "conv13_mbox_conf_flat"
flatten_param {
axis: 1
}
}
layer {
name: "loc3"
type: "Convolution"
bottom: "Convolution59"
top: "loc3"
convolution_param {
num_output: 24
bias_term: true
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "conv14_2_mbox_loc_perm"
type: "Permute"
bottom: "loc3"
top: "conv14_2_mbox_loc_perm"
permute_param {
order: 0
order: 2
order: 3
order: 1
}
}
layer {
name: "conv14_2_mbox_loc_flat"
type: "Flatten"
bottom: "conv14_2_mbox_loc_perm"
top: "conv14_2_mbox_loc_flat"
flatten_param {
axis: 1
}
}
layer {
name: "conf3"
type: "Convolution"
bottom: "Convolution59"
top: "conf3"
convolution_param {
num_output: 12
bias_term: true
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "conv14_2_mbox_conf_perm"
type: "Permute"
bottom: "conf3"
top: "conv14_2_mbox_conf_perm"
permute_param {
order: 0
order: 2
order: 3
order: 1
}
}
layer {
name: "conv14_2_mbox_conf_flat"
type: "Flatten"
bottom: "conv14_2_mbox_conf_perm"
top: "conv14_2_mbox_conf_flat"
flatten_param {
axis: 1
}
}
layer {
name: "loc4"
type: "Convolution"
bottom: "Convolution61"
top: "loc4"
convolution_param {
num_output: 24
bias_term: true
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "conv15_2_mbox_loc_perm"
type: "Permute"
bottom: "loc4"
top: "conv15_2_mbox_loc_perm"
permute_param {
order: 0
order: 2
order: 3
order: 1
}
}
layer {
name: "conv15_2_mbox_loc_flat"
type: "Flatten"
bottom: "conv15_2_mbox_loc_perm"
top: "conv15_2_mbox_loc_flat"
flatten_param {
axis: 1
}
}
layer {
name: "conf4"
type: "Convolution"
bottom: "Convolution61"
top: "conf4"
convolution_param {
num_output: 12
bias_term: true
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "conv15_2_mbox_conf_perm"
type: "Permute"
bottom: "conf4"
top: "conv15_2_mbox_conf_perm"
permute_param {
order: 0
order: 2
order: 3
order: 1
}
}
layer {
name: "conv15_2_mbox_conf_flat"
type: "Flatten"
bottom: "conv15_2_mbox_conf_perm"
top: "conv15_2_mbox_conf_flat"
flatten_param {
axis: 1
}
}
layer {
name: "loc5"
type: "Convolution"
bottom: "Convolution63"
top: "loc5"
convolution_param {
num_output: 24
bias_term: true
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "conv16_2_mbox_loc_perm"
type: "Permute"
bottom: "loc5"
top: "conv16_2_mbox_loc_perm"
permute_param {
order: 0
order: 2
order: 3
order: 1
}
}
layer {
name: "conv16_2_mbox_loc_flat"
type: "Flatten"
bottom: "conv16_2_mbox_loc_perm"
top: "conv16_2_mbox_loc_flat"
flatten_param {
axis: 1
}
}
layer {
name: "conf5"
type: "Convolution"
bottom: "Convolution63"
top: "conf5"
convolution_param {
num_output: 12
bias_term: true
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "conv16_2_mbox_conf_perm"
type: "Permute"
bottom: "conf5"
top: "conv16_2_mbox_conf_perm"
permute_param {
order: 0
order: 2
order: 3
order: 1
}
}
layer {
name: "conv16_2_mbox_conf_flat"
type: "Flatten"
bottom: "conv16_2_mbox_conf_perm"
top: "conv16_2_mbox_conf_flat"
flatten_param {
axis: 1
}
}
layer {
name: "loc6"
type: "Convolution"
bottom: "Convolution65"
top: "loc6"
convolution_param {
num_output: 24
bias_term: true
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
layer {
name: "conv17_2_mbox_loc_perm"
type: "Permute"
bottom: "loc6"
top: "conv17_2_mbox_loc_perm"
permute_param {
order: 0
order: 2
order: 3
order: 1
}
}
layer {
name: "conv17_2_mbox_loc_flat"
type: "Flatten"
bottom: "conv17_2_mbox_loc_perm"
top: "conv17_2_mbox_loc_flat"
flatten_param {
axis: 1
}
}
layer {
name: "conf6"
type: "Convolution"
bottom: "Convolution65"
top: "conf6"
convolution_param {
num_output: 12
bias_term: true
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "xavier"
}
}
}
## 结果保持一致
layer {
name: "conv17_2_mbox_conf_perm"
type: "Permute"
bottom: "conf6"
top: "conv17_2_mbox_conf_perm"
permute_param {
order: 0
order: 2
order: 3
order: 1
}
}
layer {
name: "conv17_2_mbox_conf_flat"
type: "Flatten"
bottom: "conv17_2_mbox_conf_perm"
top: "conv17_2_mbox_conf_flat"
flatten_param {
axis: 1
}
}
layer {
name: "mbox_loc"
type: "Concat"
bottom: "conv11_mbox_loc_flat"
bottom: "conv13_mbox_loc_flat"
bottom: "conv14_2_mbox_loc_flat"
bottom: "conv15_2_mbox_loc_flat"
bottom: "conv16_2_mbox_loc_flat"
bottom: "conv17_2_mbox_loc_flat"
top: "mbox_loc"
concat_param {
axis: 1
}
}
layer {
name: "mbox_conf"
type: "Concat"
bottom: "conv11_mbox_conf_flat"
bottom: "conv13_mbox_conf_flat"
bottom: "conv14_2_mbox_conf_flat"
bottom: "conv15_2_mbox_conf_flat"
bottom: "conv16_2_mbox_conf_flat"
bottom: "conv17_2_mbox_conf_flat"
top: "mbox_conf"
concat_param {
axis: 1
}
}
layer {
name: "mbox_conf_reshape"
type: "Reshape"
bottom: "mbox_conf"
top: "mbox_conf_reshape"
reshape_param {
shape {
dim: 0
dim: -1
dim: 2
}
}
}
layer {
name: "mbox_conf_softmax"
type: "Softmax"
bottom: "mbox_conf_reshape"
top: "mbox_conf_softmax"
softmax_param {
axis: 2
}
}
layer {
name: "mbox_conf_flatten"
type: "Flatten"
bottom: "mbox_conf_softmax"
top: "mbox_conf_flatten"
flatten_param {
axis: 1
}
}
layer {
name: "mbox_loc_reshape"
type: "Reshape"
bottom: "mbox_loc"
top: "mbox_loc_reshape"
reshape_param {
shape {
dim: 0
dim: -1
dim: 4
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/kangchi/pytorch2caffe.git
git@gitee.com:kangchi/pytorch2caffe.git
kangchi
pytorch2caffe
pytorch2caffe
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385