Ankan Ghosh commited on
Upload 6 files
Browse filesFiles changed (7)
33 unmodified lines34353633 unmodified lines*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textinput-video.mp4 filter=lfs diff=lfs merge=lfs -text33 unmodified lines34353637383933 unmodified lines*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textinput-video.mp4 filter=lfs diff=lfs merge=lfs -textmodel/lbfmodel.yaml filter=lfs diff=lfs merge=lfs -textmodel/res10_300x300_ssd_iter_140000_fp16.caffemodel filter=lfs diff=lfs merge=lfs -textmodel/res10_300x300_ssd_iter_140000.caffemodel filter=lfs diff=lfs merge=lfs -text
12## Haar cascade model reference- https://github.com/opencv/opencv/tree/master/data/haarcascades1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789input: "data"input_shape { dim: 1 dim: 3 dim: 300 dim: 300}
layer { name: "data_bn" type: "BatchNorm" bottom: "data" top: "data_bn" param { lr_mult: 0.0 } param { lr_mult: 0.0 } param { lr_mult: 0.0 }}layer { name: "data_scale" type: "Scale" bottom: "data_bn" top: "data_bn" param { lr_mult: 1.0 decay_mult: 1.0 } param { lr_mult: 2.0 decay_mult: 1.0 } scale_param { bias_term: true }}layer { name: "conv1_h" type: "Convolution" bottom: "data_bn" top: "conv1_h" param { lr_mult: 1.0 decay_mult: 1.0 } param { lr_mult: 2.0 decay_mult: 1.0 } convolution_param { num_output: 32 pad: 3 kernel_size: 7 stride: 2 weight_filler { type: "msra" variance_norm: FAN_OUT } bias_filler { type: "constant" value: 0.0 } }}layer { name: "conv1_bn_h" type: "BatchNorm" bottom: "conv1_h" top: "conv1_h" param { lr_mult: 0.0 } param { lr_mult: 0.0 } param { lr_mult: 0.0 }}layer { name: "conv1_scale_h" type: "Scale" bottom: "conv1_h" top: "conv1_h" param { lr_mult: 1.0 decay_mult: 1.0 } param { lr_mult: 2.0 decay_mult: 1.0 } scale_param { bias_term: true }}layer { name: "conv1_relu" type: "ReLU" bottom: "conv1_h" top: "conv1_h"}layer { name: "conv1_pool" type: "Pooling" bottom: "conv1_h" top: "conv1_pool" pooling_param { kernel_size: 3 stride: 2 }}layer { name: "layer_64_1_conv1_h" type: "Convolution" bottom: "conv1_pool" top: "layer_64_1_conv1_h" param { lr_mult: 1.0 decay_mult: 1.0 } convolution_param { num_output: 32 bias_term: false pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "msra" } bias_filler { type: "constant" value: 0.0 } }}layer { name: "layer_64_1_bn2_h" type: "BatchNorm" bottom: "layer_64_1_conv1_h" top: "layer_64_1_conv1_h" param { lr_mult: 0.0 } param { lr_mult: 0.0 } param { lr_mult: 0.0 }}layer { name: "layer_64_1_scale2_h" type: "Scale" bottom: "layer_64_1_conv1_h" top: "layer_64_1_conv1_h" param { lr_mult: 1.0 decay_mult: 1.0 } param { lr_mult: 2.0 decay_mult: 1.0 } scale_param { bias_term: true }}layer { name: "layer_64_1_relu2" type: "ReLU" bottom: "layer_64_1_conv1_h" top: "layer_64_1_conv1_h"}layer { name: "layer_64_1_conv2_h" type: "Convolution" bottom: "layer_64_1_conv1_h" top: "layer_64_1_conv2_h" param { lr_mult: 1.0 decay_mult: 1.0 } convolution_param { num_output: 32 bias_term: false pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "msra" } bias_filler { type: "constant" value: 0.0 } }}layer { name: "layer_64_1_sum" type: "Eltwise" bottom: "layer_64_1_conv2_h" bottom: "conv1_pool" top: "layer_64_1_sum"}layer { name: "layer_128_1_bn1_h" type: "BatchNorm" bottom: "layer_64_1_sum" top: "layer_128_1_bn1_h" param { lr_mult: 0.0 } param { lr_mult: 0.0 } param { lr_mult: 0.0 }}layer { name: "layer_128_1_scale1_h" type: "Scale" bottom: "layer_128_1_bn1_h" top: "layer_128_1_bn1_h" param { lr_mult: 1.0 decay_mult: 1.0 } param { lr_mult: 2.0 decay_mult: 1.0 } scale_param { bias_term: true }}layer { name: "layer_128_1_relu1" type: "ReLU" bottom: "layer_128_1_bn1_h" top: "layer_128_1_bn1_h"}layer { name: "layer_128_1_conv1_h" type: "Convolution" bottom: "layer_128_1_bn1_h" top: "layer_128_1_conv1_h" param { lr_mult: 1.0 decay_mult: 1.0 } convolution_param { num_output: 128 bias_term: false pad: 1 kernel_size: 3 stride: 2 weight_filler { type: "msra" } bias_filler { type: "constant" value: 0.0 } }}layer { name: "layer_128_1_bn2" type: "BatchNorm" bottom: "layer_128_1_conv1_h" top: "layer_128_1_conv1_h" param { lr_mult: 0.0 } param { lr_mult: 0.0 } param { lr_mult: 0.0 }}layer { name: "layer_128_1_scale2" type: "Scale" bottom: "layer_128_1_conv1_h" top: "layer_128_1_conv1_h" param { lr_mult: 1.0 decay_mult: 1.0 } param { lr_mult: 2.0 decay_mult: 1.0 } scale_param { bias_term: true }}layer { name: "layer_128_1_relu2" type: "ReLU" bottom: "layer_128_1_conv1_h" top: "layer_128_1_conv1_h"}layer { name: "layer_128_1_conv2" type: "Convolution" bottom: "layer_128_1_conv1_h" top: "layer_128_1_conv2" param { lr_mult: 1.0 decay_mult: 1.0 } convolution_param { num_output: 128 bias_term: false pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "msra" } bias_filler { type: "constant" value: 0.0 } }}layer { name: "layer_128_1_conv_expand_h" type: "Convolution" bottom: "layer_128_1_bn1_h" top: "layer_128_1_conv_expand_h" param { lr_mult: 1.0 decay_mult: 1.0 } convolution_param { num_output: 128 bias_term: false pad: 0 kernel_size: 1 stride: 2 weight_filler { type: "msra" } bias_filler { type: "constant" value: 0.0 } }}layer { name: "layer_128_1_sum" type: "Eltwise" bottom: "layer_128_1_conv2" bottom: "layer_128_1_conv_expand_h" top: "layer_128_1_sum"}layer { name: "layer_256_1_bn1" type: "BatchNorm" bottom: "layer_128_1_sum" top: "layer_256_1_bn1" param { lr_mult: 0.0 } param { lr_mult: 0.0 } param { lr_mult: 0.0 }}layer { name: "layer_256_1_scale1" type: "Scale" bottom: "layer_256_1_bn1" top: "layer_256_1_bn1" param { lr_mult: 1.0 decay_mult: 1.0 } param { lr_mult: 2.0 decay_mult: 1.0 } scale_param { bias_term: true }}layer { name: "layer_256_1_relu1" type: "ReLU" bottom: "layer_256_1_bn1" top: "layer_256_1_bn1"}layer { name: "layer_256_1_conv1" type: "Convolution" bottom: "layer_256_1_bn1" top: "layer_256_1_conv1" param { lr_mult: 1.0 decay_mult: 1.0 } convolution_param { num_output: 256 bias_term: false pad: 1 kernel_size: 3 stride: 2 weight_filler { type: "msra" } bias_filler { type: "constant" value: 0.0 } }}layer { name: "layer_256_1_bn2" type: "BatchNorm" bottom: "layer_256_1_conv1" top: "layer_256_1_conv1" param { lr_mult: 0.0 } param { lr_mult: 0.0 } param { lr_mult: 0.0 }}layer { name: "layer_256_1_scale2" type: "Scale" bottom: "layer_256_1_conv1" top: "layer_256_1_conv1" param { lr_mult: 1.0 decay_mult: 1.0 } param { lr_mult: 2.0 decay_mult: 1.0 } scale_param { bias_term: true }}layer { name: "layer_256_1_relu2" type: "ReLU" bottom: "layer_256_1_conv1" top: "layer_256_1_conv1"}layer { name: "layer_256_1_conv2" type: "Convolution" bottom: "layer_256_1_conv1" top: "layer_256_1_conv2" param { lr_mult: 1.0 decay_mult: 1.0 } convolution_param { num_output: 256 bias_term: false pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "msra" } bias_filler { type: "constant" value: 0.0 } }}layer { name: "layer_256_1_conv_expand" type: "Convolution" bottom: "layer_256_1_bn1" top: "layer_256_1_conv_expand" param { lr_mult: 1.0 decay_mult: 1.0 } convolution_param { num_output: 256 bias_term: false pad: 0 kernel_size: 1 stride: 2 weight_filler { type: "msra" } bias_filler { type: "constant" value: 0.0 } }}layer { name: "layer_256_1_sum" type: "Eltwise" bottom: "layer_256_1_conv2" bottom: "layer_256_1_conv_expand" top: "layer_256_1_sum"}layer { name: "layer_512_1_bn1" type: "BatchNorm" bottom: "layer_256_1_sum" top: "layer_512_1_bn1" param { lr_mult: 0.0 } param { lr_mult: 0.0 } param { lr_mult: 0.0 }}layer { name: "layer_512_1_scale1" type: "Scale" bottom: "layer_512_1_bn1" top: "layer_512_1_bn1" param { lr_mult: 1.0 decay_mult: 1.0 } param { lr_mult: 2.0 decay_mult: 1.0 } scale_param { bias_term: true }}layer { name: "layer_512_1_relu1" type: "ReLU" bottom: "layer_512_1_bn1" top: "layer_512_1_bn1"}layer { name: "layer_512_1_conv1_h" type: "Convolution" bottom: "layer_512_1_bn1" top: "layer_512_1_conv1_h" param { lr_mult: 1.0 decay_mult: 1.0 } convolution_param { num_output: 128 bias_term: false pad: 1 kernel_size: 3 stride: 1 # 2 weight_filler { type: "msra" } bias_filler { type: "constant" value: 0.0 } }}layer { name: "layer_512_1_bn2_h" type: "BatchNorm" bottom: "layer_512_1_conv1_h" top: "layer_512_1_conv1_h" param { lr_mult: 0.0 } param { lr_mult: 0.0 } param { lr_mult: 0.0 }}layer { name: "layer_512_1_scale2_h" type: "Scale" bottom: "layer_512_1_conv1_h" top: "layer_512_1_conv1_h" param { lr_mult: 1.0 decay_mult: 1.0 } param { lr_mult: 2.0 decay_mult: 1.0 } scale_param { bias_term: true }}layer { name: "layer_512_1_relu2" type: "ReLU" bottom: "layer_512_1_conv1_h" top: "layer_512_1_conv1_h"}layer { name: "layer_512_1_conv2_h" type: "Convolution" bottom: "layer_512_1_conv1_h" top: "layer_512_1_conv2_h" param { lr_mult: 1.0 decay_mult: 1.0 } convolution_param { num_output: 256 bias_term: false pad: 2 # 1 kernel_size: 3 stride: 1 dilation: 2 weight_filler { type: "msra" } bias_filler { type: "constant" value: 0.0 } }}layer { name: "layer_512_1_conv_expand_h" type: "Convolution" bottom: "layer_512_1_bn1" top: "layer_512_1_conv_expand_h" param { lr_mult: 1.0 decay_mult: 1.0 } convolution_param { num_output: 256 bias_term: false pad: 0 kernel_size: 1 stride: 1 # 2 weight_filler { type: "msra" } bias_filler { type: "constant" value: 0.0 } }}layer { name: "layer_512_1_sum" type: "Eltwise" bottom: "layer_512_1_conv2_h" bottom: "layer_512_1_conv_expand_h" top: "layer_512_1_sum"}layer { name: "last_bn_h" type: "BatchNorm" bottom: "layer_512_1_sum" top: "layer_512_1_sum" param { lr_mult: 0.0 } param { lr_mult: 0.0 } param { lr_mult: 0.0 }}layer { name: "last_scale_h" type: "Scale" bottom: "layer_512_1_sum" top: "layer_512_1_sum" param { lr_mult: 1.0 decay_mult: 1.0 } param { lr_mult: 2.0 decay_mult: 1.0 } scale_param { bias_term: true }}layer { name: "last_relu" type: "ReLU" bottom: "layer_512_1_sum" top: "fc7"}
layer { name: "conv6_1_h" type: "Convolution" bottom: "fc7" top: "conv6_1_h" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 128 pad: 0 kernel_size: 1 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv6_1_relu" type: "ReLU" bottom: "conv6_1_h" top: "conv6_1_h"}layer { name: "conv6_2_h" type: "Convolution" bottom: "conv6_1_h" top: "conv6_2_h" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 256 pad: 1 kernel_size: 3 stride: 2 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv6_2_relu" type: "ReLU" bottom: "conv6_2_h" top: "conv6_2_h"}layer { name: "conv7_1_h" type: "Convolution" bottom: "conv6_2_h" top: "conv7_1_h" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 64 pad: 0 kernel_size: 1 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv7_1_relu" type: "ReLU" bottom: "conv7_1_h" top: "conv7_1_h"}layer { name: "conv7_2_h" type: "Convolution" bottom: "conv7_1_h" top: "conv7_2_h" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 128 pad: 1 kernel_size: 3 stride: 2 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv7_2_relu" type: "ReLU" bottom: "conv7_2_h" top: "conv7_2_h"}layer { name: "conv8_1_h" type: "Convolution" bottom: "conv7_2_h" top: "conv8_1_h" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 64 pad: 0 kernel_size: 1 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv8_1_relu" type: "ReLU" bottom: "conv8_1_h" top: "conv8_1_h"}layer { name: "conv8_2_h" type: "Convolution" bottom: "conv8_1_h" top: "conv8_2_h" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 128 pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv8_2_relu" type: "ReLU" bottom: "conv8_2_h" top: "conv8_2_h"}layer { name: "conv9_1_h" type: "Convolution" bottom: "conv8_2_h" top: "conv9_1_h" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 64 pad: 0 kernel_size: 1 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv9_1_relu" type: "ReLU" bottom: "conv9_1_h" top: "conv9_1_h"}layer { name: "conv9_2_h" type: "Convolution" bottom: "conv9_1_h" top: "conv9_2_h" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 128 pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv9_2_relu" type: "ReLU" bottom: "conv9_2_h" top: "conv9_2_h"}layer { name: "conv4_3_norm" type: "Normalize" bottom: "layer_256_1_bn1" top: "conv4_3_norm" norm_param { across_spatial: false scale_filler { type: "constant" value: 20 } channel_shared: false }}layer { name: "conv4_3_norm_mbox_loc" type: "Convolution" bottom: "conv4_3_norm" top: "conv4_3_norm_mbox_loc" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 16 pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv4_3_norm_mbox_loc_perm" type: "Permute" bottom: "conv4_3_norm_mbox_loc" top: "conv4_3_norm_mbox_loc_perm" permute_param { order: 0 order: 2 order: 3 order: 1 }}layer { name: "conv4_3_norm_mbox_loc_flat" type: "Flatten" bottom: "conv4_3_norm_mbox_loc_perm" top: "conv4_3_norm_mbox_loc_flat" flatten_param { axis: 1 }}layer { name: "conv4_3_norm_mbox_conf" type: "Convolution" bottom: "conv4_3_norm" top: "conv4_3_norm_mbox_conf" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 8 # 84 pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv4_3_norm_mbox_conf_perm" type: "Permute" bottom: "conv4_3_norm_mbox_conf" top: "conv4_3_norm_mbox_conf_perm" permute_param { order: 0 order: 2 order: 3 order: 1 }}layer { name: "conv4_3_norm_mbox_conf_flat" type: "Flatten" bottom: "conv4_3_norm_mbox_conf_perm" top: "conv4_3_norm_mbox_conf_flat" flatten_param { axis: 1 }}layer { name: "conv4_3_norm_mbox_priorbox" type: "PriorBox" bottom: "conv4_3_norm" bottom: "data" top: "conv4_3_norm_mbox_priorbox" prior_box_param { min_size: 30.0 max_size: 60.0 aspect_ratio: 2 flip: true clip: false variance: 0.1 variance: 0.1 variance: 0.2 variance: 0.2 step: 8 offset: 0.5 }}layer { name: "fc7_mbox_loc" type: "Convolution" bottom: "fc7" top: "fc7_mbox_loc" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 24 pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "fc7_mbox_loc_perm" type: "Permute" bottom: "fc7_mbox_loc" top: "fc7_mbox_loc_perm" permute_param { order: 0 order: 2 order: 3 order: 1 }}layer { name: "fc7_mbox_loc_flat" type: "Flatten" bottom: "fc7_mbox_loc_perm" top: "fc7_mbox_loc_flat" flatten_param { axis: 1 }}layer { name: "fc7_mbox_conf" type: "Convolution" bottom: "fc7" top: "fc7_mbox_conf" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 12 # 126 pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "fc7_mbox_conf_perm" type: "Permute" bottom: "fc7_mbox_conf" top: "fc7_mbox_conf_perm" permute_param { order: 0 order: 2 order: 3 order: 1 }}layer { name: "fc7_mbox_conf_flat" type: "Flatten" bottom: "fc7_mbox_conf_perm" top: "fc7_mbox_conf_flat" flatten_param { axis: 1 }}layer { name: "fc7_mbox_priorbox" type: "PriorBox" bottom: "fc7" bottom: "data" top: "fc7_mbox_priorbox" prior_box_param { min_size: 60.0 max_size: 111.0 aspect_ratio: 2 aspect_ratio: 3 flip: true clip: false variance: 0.1 variance: 0.1 variance: 0.2 variance: 0.2 step: 16 offset: 0.5 }}layer { name: "conv6_2_mbox_loc" type: "Convolution" bottom: "conv6_2_h" top: "conv6_2_mbox_loc" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 24 pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv6_2_mbox_loc_perm" type: "Permute" bottom: "conv6_2_mbox_loc" top: "conv6_2_mbox_loc_perm" permute_param { order: 0 order: 2 order: 3 order: 1 }}layer { name: "conv6_2_mbox_loc_flat" type: "Flatten" bottom: "conv6_2_mbox_loc_perm" top: "conv6_2_mbox_loc_flat" flatten_param { axis: 1 }}layer { name: "conv6_2_mbox_conf" type: "Convolution" bottom: "conv6_2_h" top: "conv6_2_mbox_conf" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 12 # 126 pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv6_2_mbox_conf_perm" type: "Permute" bottom: "conv6_2_mbox_conf" top: "conv6_2_mbox_conf_perm" permute_param { order: 0 order: 2 order: 3 order: 1 }}layer { name: "conv6_2_mbox_conf_flat" type: "Flatten" bottom: "conv6_2_mbox_conf_perm" top: "conv6_2_mbox_conf_flat" flatten_param { axis: 1 }}layer { name: "conv6_2_mbox_priorbox" type: "PriorBox" bottom: "conv6_2_h" bottom: "data" top: "conv6_2_mbox_priorbox" prior_box_param { min_size: 111.0 max_size: 162.0 aspect_ratio: 2 aspect_ratio: 3 flip: true clip: false variance: 0.1 variance: 0.1 variance: 0.2 variance: 0.2 step: 32 offset: 0.5 }}layer { name: "conv7_2_mbox_loc" type: "Convolution" bottom: "conv7_2_h" top: "conv7_2_mbox_loc" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 24 pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv7_2_mbox_loc_perm" type: "Permute" bottom: "conv7_2_mbox_loc" top: "conv7_2_mbox_loc_perm" permute_param { order: 0 order: 2 order: 3 order: 1 }}layer { name: "conv7_2_mbox_loc_flat" type: "Flatten" bottom: "conv7_2_mbox_loc_perm" top: "conv7_2_mbox_loc_flat" flatten_param { axis: 1 }}layer { name: "conv7_2_mbox_conf" type: "Convolution" bottom: "conv7_2_h" top: "conv7_2_mbox_conf" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 12 # 126 pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv7_2_mbox_conf_perm" type: "Permute" bottom: "conv7_2_mbox_conf" top: "conv7_2_mbox_conf_perm" permute_param { order: 0 order: 2 order: 3 order: 1 }}layer { name: "conv7_2_mbox_conf_flat" type: "Flatten" bottom: "conv7_2_mbox_conf_perm" top: "conv7_2_mbox_conf_flat" flatten_param { axis: 1 }}layer { name: "conv7_2_mbox_priorbox" type: "PriorBox" bottom: "conv7_2_h" bottom: "data" top: "conv7_2_mbox_priorbox" prior_box_param { min_size: 162.0 max_size: 213.0 aspect_ratio: 2 aspect_ratio: 3 flip: true clip: false variance: 0.1 variance: 0.1 variance: 0.2 variance: 0.2 step: 64 offset: 0.5 }}layer { name: "conv8_2_mbox_loc" type: "Convolution" bottom: "conv8_2_h" top: "conv8_2_mbox_loc" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 16 pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv8_2_mbox_loc_perm" type: "Permute" bottom: "conv8_2_mbox_loc" top: "conv8_2_mbox_loc_perm" permute_param { order: 0 order: 2 order: 3 order: 1 }}layer { name: "conv8_2_mbox_loc_flat" type: "Flatten" bottom: "conv8_2_mbox_loc_perm" top: "conv8_2_mbox_loc_flat" flatten_param { axis: 1 }}layer { name: "conv8_2_mbox_conf" type: "Convolution" bottom: "conv8_2_h" top: "conv8_2_mbox_conf" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 8 # 84 pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv8_2_mbox_conf_perm" type: "Permute" bottom: "conv8_2_mbox_conf" top: "conv8_2_mbox_conf_perm" permute_param { order: 0 order: 2 order: 3 order: 1 }}layer { name: "conv8_2_mbox_conf_flat" type: "Flatten" bottom: "conv8_2_mbox_conf_perm" top: "conv8_2_mbox_conf_flat" flatten_param { axis: 1 }}layer { name: "conv8_2_mbox_priorbox" type: "PriorBox" bottom: "conv8_2_h" bottom: "data" top: "conv8_2_mbox_priorbox" prior_box_param { min_size: 213.0 max_size: 264.0 aspect_ratio: 2 flip: true clip: false variance: 0.1 variance: 0.1 variance: 0.2 variance: 0.2 step: 100 offset: 0.5 }}layer { name: "conv9_2_mbox_loc" type: "Convolution" bottom: "conv9_2_h" top: "conv9_2_mbox_loc" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 16 pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv9_2_mbox_loc_perm" type: "Permute" bottom: "conv9_2_mbox_loc" top: "conv9_2_mbox_loc_perm" permute_param { order: 0 order: 2 order: 3 order: 1 }}layer { name: "conv9_2_mbox_loc_flat" type: "Flatten" bottom: "conv9_2_mbox_loc_perm" top: "conv9_2_mbox_loc_flat" flatten_param { axis: 1 }}layer { name: "conv9_2_mbox_conf" type: "Convolution" bottom: "conv9_2_h" top: "conv9_2_mbox_conf" param { lr_mult: 1 decay_mult: 1 } param { lr_mult: 2 decay_mult: 0 } convolution_param { num_output: 8 # 84 pad: 1 kernel_size: 3 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" value: 0 } }}layer { name: "conv9_2_mbox_conf_perm" type: "Permute" bottom: "conv9_2_mbox_conf" top: "conv9_2_mbox_conf_perm" permute_param { order: 0 order: 2 order: 3 order: 1 }}layer { name: "conv9_2_mbox_conf_flat" type: "Flatten" bottom: "conv9_2_mbox_conf_perm" top: "conv9_2_mbox_conf_flat" flatten_param { axis: 1 }}layer { name: "conv9_2_mbox_priorbox" type: "PriorBox" bottom: "conv9_2_h" bottom: "data" top: "conv9_2_mbox_priorbox" prior_box_param { min_size: 264.0 max_size: 315.0 aspect_ratio: 2 flip: true clip: false variance: 0.1 variance: 0.1 variance: 0.2 variance: 0.2 step: 300 offset: 0.5 }}layer { name: "mbox_loc" type: "Concat" bottom: "conv4_3_norm_mbox_loc_flat" bottom: "fc7_mbox_loc_flat" bottom: "conv6_2_mbox_loc_flat" bottom: "conv7_2_mbox_loc_flat" bottom: "conv8_2_mbox_loc_flat" bottom: "conv9_2_mbox_loc_flat" top: "mbox_loc" concat_param { axis: 1 }}layer { name: "mbox_conf" type: "Concat" bottom: "conv4_3_norm_mbox_conf_flat" bottom: "fc7_mbox_conf_flat" bottom: "conv6_2_mbox_conf_flat" bottom: "conv7_2_mbox_conf_flat" bottom: "conv8_2_mbox_conf_flat" bottom: "conv9_2_mbox_conf_flat" top: "mbox_conf" concat_param { axis: 1 }}layer { name: "mbox_priorbox" type: "Concat" bottom: "conv4_3_norm_mbox_priorbox" bottom: "fc7_mbox_priorbox" bottom: "conv6_2_mbox_priorbox" bottom: "conv7_2_mbox_priorbox" bottom: "conv8_2_mbox_priorbox" bottom: "conv9_2_mbox_priorbox" top: "mbox_priorbox" concat_param { axis: 2 }}
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: "detection_out" type: "DetectionOutput" bottom: "mbox_loc" bottom: "mbox_conf_flatten" bottom: "mbox_priorbox" top: "detection_out" include { phase: TEST } detection_output_param { num_classes: 2 share_location: true background_label_id: 0 nms_param { nms_threshold: 0.45 top_k: 400 } code_type: CENTER_SIZE keep_top_k: 200 confidence_threshold: 0.01 }}123version https://git-lfs.github.com/spec/v1oid sha256:70dd8b1657c42d1595d6bd13d97d932877b3bed54a95d3c4733a0f740d1fd66bsize 56375857123version https://git-lfs.github.com/spec/v1oid sha256:2a56a11a57a4a295956b0660b4a3d76bbdca2206c4961cea8efe7d95c7cb2f2dsize 10666211123version https://git-lfs.github.com/spec/v1oid sha256:510ffd2471bd81e3fcc88a5beb4eae4fb445ccf8333ebc54e7302b83f4158a76size 5351047.gitattributes+3
model/README.mdAdded+2
model/deploy.prototxtAdded+1789
model/haarcascade_frontalface_default.xmlAdded
model/lbfmodel.yamlAdded+3
model/res10_300x300_ssd_iter_140000.caffemodelAdded+3
model/res10_300x300_ssd_iter_140000_fp16.caffemodelAdded+3