SqueezeDet_deploy.prototxt 19 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115
  1. # SqueezeDet architecture for object detection on PASCAL VOC dataset
  2. name: "SqueezeDet"
  3. input: "data"
  4. input_dim: 1
  5. input_dim: 3
  6. input_dim: 416
  7. input_dim: 416
  8. layer {
  9. name: "conv1"
  10. type: "Convolution"
  11. bottom: "data"
  12. top: "conv1"
  13. convolution_param {
  14. num_output: 96
  15. kernel_size: 7
  16. stride: 2
  17. weight_filler {
  18. type: "xavier"
  19. }
  20. bias_filler {
  21. type: "constant"
  22. value: 0.01
  23. }
  24. }
  25. }
  26. layer {
  27. name: "rect_conv1"
  28. type: "ReLU"
  29. bottom: "conv1"
  30. top: "conv1"
  31. relu_param {
  32. negative_slope: 0.01
  33. }
  34. }
  35. layer {
  36. name: "pool1"
  37. type: "Pooling"
  38. bottom: "conv1"
  39. top: "pool1"
  40. pooling_param {
  41. pool: MAX
  42. kernel_size: 3
  43. stride: 2
  44. }
  45. }
  46. layer {
  47. name: "fire2_squeeze"
  48. type: "Convolution"
  49. bottom: "pool1"
  50. top: "fire2_squeeze"
  51. convolution_param {
  52. num_output: 16
  53. kernel_size: 1
  54. stride: 1
  55. pad: 0
  56. weight_filler {
  57. type: "xavier"
  58. }
  59. bias_filler {
  60. type: "constant"
  61. value: 0.01
  62. }
  63. }
  64. }
  65. layer {
  66. name: "rect_fire2_squeeze"
  67. type: "ReLU"
  68. bottom: "fire2_squeeze"
  69. top: "fire2_squeeze"
  70. relu_param {
  71. negative_slope: 0.01
  72. }
  73. }
  74. layer {
  75. name: "fire2_expand_1x1"
  76. type: "Convolution"
  77. bottom: "fire2_squeeze"
  78. top: "fire2_expand_1x1"
  79. convolution_param {
  80. num_output: 64
  81. kernel_size: 1
  82. stride: 1
  83. pad: 0
  84. weight_filler {
  85. type: "xavier"
  86. }
  87. bias_filler {
  88. type: "constant"
  89. value: 0.01
  90. }
  91. }
  92. }
  93. layer {
  94. name: "rect_fire2_expand_1x1"
  95. type: "ReLU"
  96. bottom: "fire2_expand_1x1"
  97. top: "fire2_expand_1x1"
  98. relu_param {
  99. negative_slope: 0.01
  100. }
  101. }
  102. layer {
  103. name: "fire2_expand_3x3"
  104. type: "Convolution"
  105. bottom: "fire2_squeeze"
  106. top: "fire2_expand_3x3"
  107. convolution_param {
  108. num_output: 64
  109. kernel_size: 3
  110. stride: 1
  111. pad: 1
  112. weight_filler {
  113. type: "xavier"
  114. }
  115. bias_filler {
  116. type: "constant"
  117. value: 0.01
  118. }
  119. }
  120. }
  121. layer {
  122. name: "rect_fire2_expand_3x3"
  123. type: "ReLU"
  124. bottom: "fire2_expand_3x3"
  125. top: "fire2_expand_3x3"
  126. relu_param {
  127. negative_slope: 0.01
  128. }
  129. }
  130. layer {
  131. name: "fire2"
  132. type: "Concat"
  133. bottom: "fire2_expand_1x1"
  134. bottom: "fire2_expand_3x3"
  135. top: "fire2"
  136. concat_param {
  137. axis: 1
  138. }
  139. }
  140. layer {
  141. name: "fire3_squeeze"
  142. type: "Convolution"
  143. bottom: "fire2"
  144. top: "fire3_squeeze"
  145. convolution_param {
  146. num_output: 16
  147. kernel_size: 1
  148. stride: 1
  149. pad: 0
  150. weight_filler {
  151. type: "xavier"
  152. }
  153. bias_filler {
  154. type: "constant"
  155. value: 0.01
  156. }
  157. }
  158. }
  159. layer {
  160. name: "rect_fire3_squeeze"
  161. type: "ReLU"
  162. bottom: "fire3_squeeze"
  163. top: "fire3_squeeze"
  164. relu_param {
  165. negative_slope: 0.01
  166. }
  167. }
  168. layer {
  169. name: "fire3_expand_1x1"
  170. type: "Convolution"
  171. bottom: "fire3_squeeze"
  172. top: "fire3_expand_1x1"
  173. convolution_param {
  174. num_output: 64
  175. kernel_size: 1
  176. stride: 1
  177. pad: 0
  178. weight_filler {
  179. type: "xavier"
  180. }
  181. bias_filler {
  182. type: "constant"
  183. value: 0.01
  184. }
  185. }
  186. }
  187. layer {
  188. name: "rect_fire3_expand_1x1"
  189. type: "ReLU"
  190. bottom: "fire3_expand_1x1"
  191. top: "fire3_expand_1x1"
  192. relu_param {
  193. negative_slope: 0.01
  194. }
  195. }
  196. layer {
  197. name: "fire3_expand_3x3"
  198. type: "Convolution"
  199. bottom: "fire3_squeeze"
  200. top: "fire3_expand_3x3"
  201. convolution_param {
  202. num_output: 64
  203. kernel_size: 3
  204. stride: 1
  205. pad: 1
  206. weight_filler {
  207. type: "xavier"
  208. }
  209. bias_filler {
  210. type: "constant"
  211. value: 0.01
  212. }
  213. }
  214. }
  215. layer {
  216. name: "rect_fire3_expand_3x3"
  217. type: "ReLU"
  218. bottom: "fire3_expand_3x3"
  219. top: "fire3_expand_3x3"
  220. relu_param {
  221. negative_slope: 0.01
  222. }
  223. }
  224. layer {
  225. name: "fire3"
  226. type: "Concat"
  227. bottom: "fire3_expand_1x1"
  228. bottom: "fire3_expand_3x3"
  229. top: "fire3"
  230. concat_param {
  231. axis: 1
  232. }
  233. }
  234. layer {
  235. name: "fire4_squeeze"
  236. type: "Convolution"
  237. bottom: "fire3"
  238. top: "fire4_squeeze"
  239. convolution_param {
  240. num_output: 32
  241. kernel_size: 1
  242. stride: 1
  243. pad: 0
  244. weight_filler {
  245. type: "xavier"
  246. }
  247. bias_filler {
  248. type: "constant"
  249. value: 0.01
  250. }
  251. }
  252. }
  253. layer {
  254. name: "rect_fire4_squeeze"
  255. type: "ReLU"
  256. bottom: "fire4_squeeze"
  257. top: "fire4_squeeze"
  258. relu_param {
  259. negative_slope: 0.01
  260. }
  261. }
  262. layer {
  263. name: "fire4_expand_1x1"
  264. type: "Convolution"
  265. bottom: "fire4_squeeze"
  266. top: "fire4_expand_1x1"
  267. convolution_param {
  268. num_output: 128
  269. kernel_size: 1
  270. stride: 1
  271. pad: 0
  272. weight_filler {
  273. type: "xavier"
  274. }
  275. bias_filler {
  276. type: "constant"
  277. value: 0.01
  278. }
  279. }
  280. }
  281. layer {
  282. name: "rect_fire4_expand_1x1"
  283. type: "ReLU"
  284. bottom: "fire4_expand_1x1"
  285. top: "fire4_expand_1x1"
  286. relu_param {
  287. negative_slope: 0.01
  288. }
  289. }
  290. layer {
  291. name: "fire4_expand_3x3"
  292. type: "Convolution"
  293. bottom: "fire4_squeeze"
  294. top: "fire4_expand_3x3"
  295. convolution_param {
  296. num_output: 128
  297. kernel_size: 3
  298. stride: 1
  299. pad: 1
  300. weight_filler {
  301. type: "xavier"
  302. }
  303. bias_filler {
  304. type: "constant"
  305. value: 0.01
  306. }
  307. }
  308. }
  309. layer {
  310. name: "rect_fire4_expand_3x3"
  311. type: "ReLU"
  312. bottom: "fire4_expand_3x3"
  313. top: "fire4_expand_3x3"
  314. relu_param {
  315. negative_slope: 0.01
  316. }
  317. }
  318. layer {
  319. name: "fire4"
  320. type: "Concat"
  321. bottom: "fire4_expand_1x1"
  322. bottom: "fire4_expand_3x3"
  323. top: "fire4"
  324. concat_param {
  325. axis: 1
  326. }
  327. }
  328. layer {
  329. name: "pool4"
  330. type: "Pooling"
  331. bottom: "fire4"
  332. top: "pool4"
  333. pooling_param {
  334. pool: MAX
  335. kernel_size: 3
  336. stride: 2
  337. }
  338. }
  339. layer {
  340. name: "fire5_squeeze"
  341. type: "Convolution"
  342. bottom: "pool4"
  343. top: "fire5_squeeze"
  344. convolution_param {
  345. num_output: 32
  346. kernel_size: 1
  347. stride: 1
  348. pad: 0
  349. weight_filler {
  350. type: "xavier"
  351. }
  352. bias_filler {
  353. type: "constant"
  354. value: 0.01
  355. }
  356. }
  357. }
  358. layer {
  359. name: "rect_fire5_squeeze"
  360. type: "ReLU"
  361. bottom: "fire5_squeeze"
  362. top: "fire5_squeeze"
  363. relu_param {
  364. negative_slope: 0.01
  365. }
  366. }
  367. layer {
  368. name: "fire5_expand_1x1"
  369. type: "Convolution"
  370. bottom: "fire5_squeeze"
  371. top: "fire5_expand_1x1"
  372. convolution_param {
  373. num_output: 128
  374. kernel_size: 1
  375. stride: 1
  376. pad: 0
  377. weight_filler {
  378. type: "xavier"
  379. }
  380. bias_filler {
  381. type: "constant"
  382. value: 0.01
  383. }
  384. }
  385. }
  386. layer {
  387. name: "rect_fire5_expand_1x1"
  388. type: "ReLU"
  389. bottom: "fire5_expand_1x1"
  390. top: "fire5_expand_1x1"
  391. relu_param {
  392. negative_slope: 0.01
  393. }
  394. }
  395. layer {
  396. name: "fire5_expand_3x3"
  397. type: "Convolution"
  398. bottom: "fire5_squeeze"
  399. top: "fire5_expand_3x3"
  400. convolution_param {
  401. num_output: 128
  402. kernel_size: 3
  403. stride: 1
  404. pad: 1
  405. weight_filler {
  406. type: "xavier"
  407. }
  408. bias_filler {
  409. type: "constant"
  410. value: 0.01
  411. }
  412. }
  413. }
  414. layer {
  415. name: "rect_fire5_expand_3x3"
  416. type: "ReLU"
  417. bottom: "fire5_expand_3x3"
  418. top: "fire5_expand_3x3"
  419. relu_param {
  420. negative_slope: 0.01
  421. }
  422. }
  423. layer {
  424. name: "fire5"
  425. type: "Concat"
  426. bottom: "fire5_expand_1x1"
  427. bottom: "fire5_expand_3x3"
  428. top: "fire5"
  429. concat_param {
  430. axis: 1
  431. }
  432. }
  433. layer {
  434. name: "fire6_squeeze"
  435. type: "Convolution"
  436. bottom: "fire5"
  437. top: "fire6_squeeze"
  438. convolution_param {
  439. num_output: 48
  440. kernel_size: 1
  441. stride: 1
  442. pad: 0
  443. weight_filler {
  444. type: "xavier"
  445. }
  446. bias_filler {
  447. type: "constant"
  448. value: 0.01
  449. }
  450. }
  451. }
  452. layer {
  453. name: "rect_fire6_squeeze"
  454. type: "ReLU"
  455. bottom: "fire6_squeeze"
  456. top: "fire6_squeeze"
  457. relu_param {
  458. negative_slope: 0.01
  459. }
  460. }
  461. layer {
  462. name: "fire6_expand_1x1"
  463. type: "Convolution"
  464. bottom: "fire6_squeeze"
  465. top: "fire6_expand_1x1"
  466. convolution_param {
  467. num_output: 192
  468. kernel_size: 1
  469. stride: 1
  470. pad: 0
  471. weight_filler {
  472. type: "xavier"
  473. }
  474. bias_filler {
  475. type: "constant"
  476. value: 0.01
  477. }
  478. }
  479. }
  480. layer {
  481. name: "rect_fire6_expand_1x1"
  482. type: "ReLU"
  483. bottom: "fire6_expand_1x1"
  484. top: "fire6_expand_1x1"
  485. relu_param {
  486. negative_slope: 0.01
  487. }
  488. }
  489. layer {
  490. name: "fire6_expand_3x3"
  491. type: "Convolution"
  492. bottom: "fire6_squeeze"
  493. top: "fire6_expand_3x3"
  494. convolution_param {
  495. num_output: 192
  496. kernel_size: 3
  497. stride: 1
  498. pad: 1
  499. weight_filler {
  500. type: "xavier"
  501. }
  502. bias_filler {
  503. type: "constant"
  504. value: 0.01
  505. }
  506. }
  507. }
  508. layer {
  509. name: "rect_fire6_expand_3x3"
  510. type: "ReLU"
  511. bottom: "fire6_expand_3x3"
  512. top: "fire6_expand_3x3"
  513. relu_param {
  514. negative_slope: 0.01
  515. }
  516. }
  517. layer {
  518. name: "fire6"
  519. type: "Concat"
  520. bottom: "fire6_expand_1x1"
  521. bottom: "fire6_expand_3x3"
  522. top: "fire6"
  523. concat_param {
  524. axis: 1
  525. }
  526. }
  527. layer {
  528. name: "fire7_squeeze"
  529. type: "Convolution"
  530. bottom: "fire6"
  531. top: "fire7_squeeze"
  532. convolution_param {
  533. num_output: 48
  534. kernel_size: 1
  535. stride: 1
  536. pad: 0
  537. weight_filler {
  538. type: "xavier"
  539. }
  540. bias_filler {
  541. type: "constant"
  542. value: 0.01
  543. }
  544. }
  545. }
  546. layer {
  547. name: "rect_fire7_squeeze"
  548. type: "ReLU"
  549. bottom: "fire7_squeeze"
  550. top: "fire7_squeeze"
  551. relu_param {
  552. negative_slope: 0.01
  553. }
  554. }
  555. layer {
  556. name: "fire7_expand_1x1"
  557. type: "Convolution"
  558. bottom: "fire7_squeeze"
  559. top: "fire7_expand_1x1"
  560. convolution_param {
  561. num_output: 192
  562. kernel_size: 1
  563. stride: 1
  564. pad: 0
  565. weight_filler {
  566. type: "xavier"
  567. }
  568. bias_filler {
  569. type: "constant"
  570. value: 0.01
  571. }
  572. }
  573. }
  574. layer {
  575. name: "rect_fire7_expand_1x1"
  576. type: "ReLU"
  577. bottom: "fire7_expand_1x1"
  578. top: "fire7_expand_1x1"
  579. relu_param {
  580. negative_slope: 0.01
  581. }
  582. }
  583. layer {
  584. name: "fire7_expand_3x3"
  585. type: "Convolution"
  586. bottom: "fire7_squeeze"
  587. top: "fire7_expand_3x3"
  588. convolution_param {
  589. num_output: 192
  590. kernel_size: 3
  591. stride: 1
  592. pad: 1
  593. weight_filler {
  594. type: "xavier"
  595. }
  596. bias_filler {
  597. type: "constant"
  598. value: 0.01
  599. }
  600. }
  601. }
  602. layer {
  603. name: "rect_fire7_expand_3x3"
  604. type: "ReLU"
  605. bottom: "fire7_expand_3x3"
  606. top: "fire7_expand_3x3"
  607. relu_param {
  608. negative_slope: 0.01
  609. }
  610. }
  611. layer {
  612. name: "fire7"
  613. type: "Concat"
  614. bottom: "fire7_expand_1x1"
  615. bottom: "fire7_expand_3x3"
  616. top: "fire7"
  617. concat_param {
  618. axis: 1
  619. }
  620. }
  621. layer {
  622. name: "fire8_squeeze"
  623. type: "Convolution"
  624. bottom: "fire7"
  625. top: "fire8_squeeze"
  626. convolution_param {
  627. num_output: 64
  628. kernel_size: 1
  629. stride: 1
  630. pad: 0
  631. weight_filler {
  632. type: "xavier"
  633. }
  634. bias_filler {
  635. type: "constant"
  636. value: 0.01
  637. }
  638. }
  639. }
  640. layer {
  641. name: "rect_fire8_squeeze"
  642. type: "ReLU"
  643. bottom: "fire8_squeeze"
  644. top: "fire8_squeeze"
  645. relu_param {
  646. negative_slope: 0.01
  647. }
  648. }
  649. layer {
  650. name: "fire8_expand_1x1"
  651. type: "Convolution"
  652. bottom: "fire8_squeeze"
  653. top: "fire8_expand_1x1"
  654. convolution_param {
  655. num_output: 256
  656. kernel_size: 1
  657. stride: 1
  658. pad: 0
  659. weight_filler {
  660. type: "xavier"
  661. }
  662. bias_filler {
  663. type: "constant"
  664. value: 0.01
  665. }
  666. }
  667. }
  668. layer {
  669. name: "rect_fire8_expand_1x1"
  670. type: "ReLU"
  671. bottom: "fire8_expand_1x1"
  672. top: "fire8_expand_1x1"
  673. relu_param {
  674. negative_slope: 0.01
  675. }
  676. }
  677. layer {
  678. name: "fire8_expand_3x3"
  679. type: "Convolution"
  680. bottom: "fire8_squeeze"
  681. top: "fire8_expand_3x3"
  682. convolution_param {
  683. num_output: 256
  684. kernel_size: 3
  685. stride: 1
  686. pad: 1
  687. weight_filler {
  688. type: "xavier"
  689. }
  690. bias_filler {
  691. type: "constant"
  692. value: 0.01
  693. }
  694. }
  695. }
  696. layer {
  697. name: "rect_fire8_expand_3x3"
  698. type: "ReLU"
  699. bottom: "fire8_expand_3x3"
  700. top: "fire8_expand_3x3"
  701. relu_param {
  702. negative_slope: 0.01
  703. }
  704. }
  705. layer {
  706. name: "fire8"
  707. type: "Concat"
  708. bottom: "fire8_expand_1x1"
  709. bottom: "fire8_expand_3x3"
  710. top: "fire8"
  711. concat_param {
  712. axis: 1
  713. }
  714. }
  715. layer {
  716. name: "pool8"
  717. type: "Pooling"
  718. bottom: "fire8"
  719. top: "pool8"
  720. pooling_param {
  721. pool: MAX
  722. kernel_size: 3
  723. stride: 2
  724. }
  725. }
  726. layer {
  727. name: "fire9_squeeze"
  728. type: "Convolution"
  729. bottom: "pool8"
  730. top: "fire9_squeeze"
  731. convolution_param {
  732. num_output: 64
  733. kernel_size: 1
  734. stride: 1
  735. pad: 0
  736. weight_filler {
  737. type: "xavier"
  738. }
  739. bias_filler {
  740. type: "constant"
  741. value: 0.01
  742. }
  743. }
  744. }
  745. layer {
  746. name: "rect_fire9_squeeze"
  747. type: "ReLU"
  748. bottom: "fire9_squeeze"
  749. top: "fire9_squeeze"
  750. relu_param {
  751. negative_slope: 0.01
  752. }
  753. }
  754. layer {
  755. name: "fire9_expand_1x1"
  756. type: "Convolution"
  757. bottom: "fire9_squeeze"
  758. top: "fire9_expand_1x1"
  759. convolution_param {
  760. num_output: 256
  761. kernel_size: 1
  762. stride: 1
  763. pad: 0
  764. weight_filler {
  765. type: "xavier"
  766. }
  767. bias_filler {
  768. type: "constant"
  769. value: 0.01
  770. }
  771. }
  772. }
  773. layer {
  774. name: "rect_fire9_expand_1x1"
  775. type: "ReLU"
  776. bottom: "fire9_expand_1x1"
  777. top: "fire9_expand_1x1"
  778. relu_param {
  779. negative_slope: 0.01
  780. }
  781. }
  782. layer {
  783. name: "fire9_expand_3x3"
  784. type: "Convolution"
  785. bottom: "fire9_squeeze"
  786. top: "fire9_expand_3x3"
  787. convolution_param {
  788. num_output: 256
  789. kernel_size: 3
  790. stride: 1
  791. pad: 1
  792. weight_filler {
  793. type: "xavier"
  794. }
  795. bias_filler {
  796. type: "constant"
  797. value: 0.01
  798. }
  799. }
  800. }
  801. layer {
  802. name: "rect_fire9_expand_3x3"
  803. type: "ReLU"
  804. bottom: "fire9_expand_3x3"
  805. top: "fire9_expand_3x3"
  806. relu_param {
  807. negative_slope: 0.01
  808. }
  809. }
  810. layer {
  811. name: "fire9"
  812. type: "Concat"
  813. bottom: "fire9_expand_1x1"
  814. bottom: "fire9_expand_3x3"
  815. top: "fire9"
  816. concat_param {
  817. axis: 1
  818. }
  819. }
  820. layer {
  821. name: "conv10"
  822. type: "Convolution"
  823. bottom: "fire9"
  824. top: "conv10"
  825. convolution_param {
  826. num_output: 1000
  827. kernel_size: 1
  828. stride: 1
  829. weight_filler {
  830. type: "gaussian"
  831. mean: 0.0
  832. std: 0.01
  833. }
  834. bias_filler {
  835. type: "constant"
  836. value: 0.01
  837. }
  838. }
  839. }
  840. layer {
  841. name: "rect_conv10"
  842. type: "ReLU"
  843. bottom: "conv10"
  844. top: "conv10"
  845. relu_param {
  846. negative_slope: 0.01
  847. }
  848. }
  849. layer {
  850. name: "fire10_squeeze"
  851. type: "Convolution"
  852. bottom: "conv10"
  853. top: "fire10_squeeze"
  854. convolution_param {
  855. num_output: 96
  856. kernel_size: 1
  857. stride: 1
  858. pad: 0
  859. weight_filler {
  860. type: "xavier"
  861. }
  862. bias_filler {
  863. type: "constant"
  864. value: 0.01
  865. }
  866. }
  867. }
  868. layer {
  869. name: "rect_fire10_squeeze"
  870. type: "ReLU"
  871. bottom: "fire10_squeeze"
  872. top: "fire10_squeeze"
  873. relu_param {
  874. negative_slope: 0.01
  875. }
  876. }
  877. layer {
  878. name: "fire10_expand_1x1"
  879. type: "Convolution"
  880. bottom: "fire10_squeeze"
  881. top: "fire10_expand_1x1"
  882. convolution_param {
  883. num_output: 384
  884. kernel_size: 1
  885. stride: 1
  886. pad: 0
  887. weight_filler {
  888. type: "xavier"
  889. }
  890. bias_filler {
  891. type: "constant"
  892. value: 0.01
  893. }
  894. }
  895. }
  896. layer {
  897. name: "rect_fire10_expand_1x1"
  898. type: "ReLU"
  899. bottom: "fire10_expand_1x1"
  900. top: "fire10_expand_1x1"
  901. relu_param {
  902. negative_slope: 0.01
  903. }
  904. }
  905. layer {
  906. name: "fire10_expand_3x3"
  907. type: "Convolution"
  908. bottom: "fire10_squeeze"
  909. top: "fire10_expand_3x3"
  910. convolution_param {
  911. num_output: 384
  912. kernel_size: 3
  913. stride: 1
  914. pad: 1
  915. weight_filler {
  916. type: "xavier"
  917. }
  918. bias_filler {
  919. type: "constant"
  920. value: 0.01
  921. }
  922. }
  923. }
  924. layer {
  925. name: "rect_fire10_expand_3x3"
  926. type: "ReLU"
  927. bottom: "fire10_expand_3x3"
  928. top: "fire10_expand_3x3"
  929. relu_param {
  930. negative_slope: 0.01
  931. }
  932. }
  933. layer {
  934. name: "fire10"
  935. type: "Concat"
  936. bottom: "fire10_expand_1x1"
  937. bottom: "fire10_expand_3x3"
  938. top: "fire10"
  939. concat_param {
  940. axis: 1
  941. }
  942. }
  943. layer {
  944. name: "fire11_squeeze"
  945. type: "Convolution"
  946. bottom: "fire10"
  947. top: "fire11_squeeze"
  948. convolution_param {
  949. num_output: 96
  950. kernel_size: 1
  951. stride: 1
  952. pad: 0
  953. weight_filler {
  954. type: "xavier"
  955. }
  956. bias_filler {
  957. type: "constant"
  958. value: 0.01
  959. }
  960. }
  961. }
  962. layer {
  963. name: "rect_fire11_squeeze"
  964. type: "ReLU"
  965. bottom: "fire11_squeeze"
  966. top: "fire11_squeeze"
  967. relu_param {
  968. negative_slope: 0.01
  969. }
  970. }
  971. layer {
  972. name: "fire11_expand_1x1"
  973. type: "Convolution"
  974. bottom: "fire11_squeeze"
  975. top: "fire11_expand_1x1"
  976. convolution_param {
  977. num_output: 384
  978. kernel_size: 1
  979. stride: 1
  980. pad: 0
  981. weight_filler {
  982. type: "xavier"
  983. }
  984. bias_filler {
  985. type: "constant"
  986. value: 0.01
  987. }
  988. }
  989. }
  990. layer {
  991. name: "rect_fire11_expand_1x1"
  992. type: "ReLU"
  993. bottom: "fire11_expand_1x1"
  994. top: "fire11_expand_1x1"
  995. relu_param {
  996. negative_slope: 0.01
  997. }
  998. }
  999. layer {
  1000. name: "fire11_expand_3x3"
  1001. type: "Convolution"
  1002. bottom: "fire11_squeeze"
  1003. top: "fire11_expand_3x3"
  1004. convolution_param {
  1005. num_output: 384
  1006. kernel_size: 3
  1007. stride: 1
  1008. pad: 1
  1009. weight_filler {
  1010. type: "xavier"
  1011. }
  1012. bias_filler {
  1013. type: "constant"
  1014. value: 0.01
  1015. }
  1016. }
  1017. }
  1018. layer {
  1019. name: "rect_fire11_expand_3x3"
  1020. type: "ReLU"
  1021. bottom: "fire11_expand_3x3"
  1022. top: "fire11_expand_3x3"
  1023. relu_param {
  1024. negative_slope: 0.01
  1025. }
  1026. }
  1027. layer {
  1028. name: "fire11"
  1029. type: "Concat"
  1030. bottom: "fire11_expand_1x1"
  1031. bottom: "fire11_expand_3x3"
  1032. top: "fire11"
  1033. concat_param {
  1034. axis: 1
  1035. }
  1036. }
  1037. layer {
  1038. name: "conv11"
  1039. type: "Convolution"
  1040. bottom: "fire11"
  1041. top: "conv11"
  1042. convolution_param {
  1043. num_output: 225
  1044. kernel_size: 3
  1045. stride: 1
  1046. weight_filler {
  1047. type: "gaussian"
  1048. mean: 0.0
  1049. std: 0.0001
  1050. }
  1051. bias_filler {
  1052. type: "constant"
  1053. value: 0.01
  1054. }
  1055. }
  1056. }
  1057. layer {
  1058. name: "permute"
  1059. type: "Permute"
  1060. bottom: "conv11"
  1061. top: "permute_conv11"
  1062. permute_param {
  1063. order: 0 # N
  1064. order: 2 # H
  1065. order: 3 # W
  1066. order: 1 # C
  1067. }
  1068. }
  1069. layer {
  1070. name: "slice"
  1071. type: "Slice"
  1072. bottom: "permute_conv11"
  1073. top: "soft_class_reg"
  1074. top: "sig_conf_reg"
  1075. top: "delta_bbox"
  1076. slice_param {
  1077. axis: 3
  1078. slice_point: 180 # anchors_per_grid * classes_
  1079. slice_point: 189 # anchors_per_grid * (classes_ + 1)
  1080. }
  1081. }
  1082. layer {
  1083. name: "reshape"
  1084. type: "Reshape"
  1085. bottom: "soft_class_reg"
  1086. top: "reshape_soft_class_reg"
  1087. reshape_param {
  1088. shape {
  1089. dim: 0 # batch_size
  1090. dim: 4761 # H*W*anchors_per_grid
  1091. dim: 20 # No. of classes
  1092. }
  1093. }
  1094. }
  1095. layer {
  1096. name: "softmax"
  1097. type: "Softmax"
  1098. bottom: "reshape_soft_class_reg"
  1099. top: "class_scores"
  1100. softmax_param {
  1101. axis: 2
  1102. }
  1103. }
  1104. layer {
  1105. name: "sigmoid"
  1106. type: "Sigmoid"
  1107. bottom: "sig_conf_reg"
  1108. top: "conf_scores"
  1109. }