resnet152_trident.cfg 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177
  1. [net]
  2. # Testing
  3. #batch=1
  4. #subdivisions=1
  5. # Training
  6. batch=64
  7. subdivisions=64
  8. width=608
  9. height=608
  10. channels=3
  11. momentum=0.9
  12. decay=0.0005
  13. angle=0
  14. saturation = 1.5
  15. exposure = 1.5
  16. hue=.1
  17. learning_rate=0.001
  18. burn_in=1000
  19. max_batches = 10000
  20. policy=sgdr
  21. sgdr_cycle=1000
  22. sgdr_mult=2
  23. steps=4000,6000,8000,9000
  24. #scales=1, 1, 0.1, 0.1
  25. [convolutional]
  26. batch_normalize=1
  27. filters=64
  28. size=7
  29. stride=2
  30. pad=1
  31. activation=leaky
  32. [maxpool]
  33. size=2
  34. stride=2
  35. [convolutional]
  36. batch_normalize=1
  37. filters=64
  38. size=1
  39. stride=1
  40. pad=1
  41. activation=leaky
  42. [convolutional]
  43. batch_normalize=1
  44. filters=64
  45. size=3
  46. stride=1
  47. pad=1
  48. activation=leaky
  49. [convolutional]
  50. batch_normalize=1
  51. filters=256
  52. size=1
  53. stride=1
  54. pad=1
  55. activation=linear
  56. [shortcut]
  57. from=-4
  58. activation=leaky
  59. [convolutional]
  60. batch_normalize=1
  61. filters=64
  62. size=1
  63. stride=1
  64. pad=1
  65. activation=leaky
  66. [convolutional]
  67. batch_normalize=1
  68. filters=64
  69. size=3
  70. stride=1
  71. pad=1
  72. activation=leaky
  73. [convolutional]
  74. batch_normalize=1
  75. filters=256
  76. size=1
  77. stride=1
  78. pad=1
  79. activation=linear
  80. [shortcut]
  81. from=-4
  82. activation=leaky
  83. [convolutional]
  84. batch_normalize=1
  85. filters=64
  86. size=1
  87. stride=1
  88. pad=1
  89. activation=leaky
  90. [convolutional]
  91. batch_normalize=1
  92. filters=64
  93. size=3
  94. stride=1
  95. pad=1
  96. activation=leaky
  97. [convolutional]
  98. batch_normalize=1
  99. filters=256
  100. size=1
  101. stride=1
  102. pad=1
  103. activation=linear
  104. [shortcut]
  105. from=-4
  106. activation=leaky
  107. [convolutional]
  108. batch_normalize=1
  109. filters=128
  110. size=1
  111. stride=1
  112. pad=1
  113. activation=leaky
  114. [convolutional]
  115. batch_normalize=1
  116. filters=128
  117. size=3
  118. stride=2
  119. pad=1
  120. activation=leaky
  121. [convolutional]
  122. batch_normalize=1
  123. filters=512
  124. size=1
  125. stride=1
  126. pad=1
  127. activation=linear
  128. [shortcut]
  129. from=-4
  130. activation=leaky
  131. [convolutional]
  132. batch_normalize=1
  133. filters=128
  134. size=1
  135. stride=1
  136. pad=1
  137. activation=leaky
  138. [convolutional]
  139. batch_normalize=1
  140. filters=128
  141. size=3
  142. stride=1
  143. pad=1
  144. activation=leaky
  145. [convolutional]
  146. batch_normalize=1
  147. filters=512
  148. size=1
  149. stride=1
  150. pad=1
  151. activation=linear
  152. [shortcut]
  153. from=-4
  154. activation=leaky
  155. [convolutional]
  156. batch_normalize=1
  157. filters=128
  158. size=1
  159. stride=1
  160. pad=1
  161. activation=leaky
  162. [convolutional]
  163. batch_normalize=1
  164. filters=128
  165. size=3
  166. stride=1
  167. pad=1
  168. activation=leaky
  169. [convolutional]
  170. batch_normalize=1
  171. filters=512
  172. size=1
  173. stride=1
  174. pad=1
  175. activation=linear
  176. [shortcut]
  177. from=-4
  178. activation=leaky
  179. [convolutional]
  180. batch_normalize=1
  181. filters=128
  182. size=1
  183. stride=1
  184. pad=1
  185. activation=leaky
  186. [convolutional]
  187. batch_normalize=1
  188. filters=128
  189. size=3
  190. stride=1
  191. pad=1
  192. activation=leaky
  193. [convolutional]
  194. batch_normalize=1
  195. filters=512
  196. size=1
  197. stride=1
  198. pad=1
  199. activation=linear
  200. [shortcut]
  201. from=-4
  202. activation=leaky
  203. [convolutional]
  204. batch_normalize=1
  205. filters=128
  206. size=1
  207. stride=1
  208. pad=1
  209. activation=leaky
  210. [convolutional]
  211. batch_normalize=1
  212. filters=128
  213. size=3
  214. stride=1
  215. pad=1
  216. activation=leaky
  217. [convolutional]
  218. batch_normalize=1
  219. filters=512
  220. size=1
  221. stride=1
  222. pad=1
  223. activation=linear
  224. [shortcut]
  225. from=-4
  226. activation=leaky
  227. [convolutional]
  228. batch_normalize=1
  229. filters=128
  230. size=1
  231. stride=1
  232. pad=1
  233. activation=leaky
  234. [convolutional]
  235. batch_normalize=1
  236. filters=128
  237. size=3
  238. stride=1
  239. pad=1
  240. activation=leaky
  241. [convolutional]
  242. batch_normalize=1
  243. filters=512
  244. size=1
  245. stride=1
  246. pad=1
  247. activation=linear
  248. [shortcut]
  249. from=-4
  250. activation=leaky
  251. [convolutional]
  252. batch_normalize=1
  253. filters=128
  254. size=1
  255. stride=1
  256. pad=1
  257. activation=leaky
  258. [convolutional]
  259. batch_normalize=1
  260. filters=128
  261. size=3
  262. stride=1
  263. pad=1
  264. activation=leaky
  265. [convolutional]
  266. batch_normalize=1
  267. filters=512
  268. size=1
  269. stride=1
  270. pad=1
  271. activation=linear
  272. [shortcut]
  273. from=-4
  274. activation=leaky
  275. [convolutional]
  276. batch_normalize=1
  277. filters=128
  278. size=1
  279. stride=1
  280. pad=1
  281. activation=leaky
  282. [convolutional]
  283. batch_normalize=1
  284. filters=128
  285. size=3
  286. stride=1
  287. pad=1
  288. activation=leaky
  289. [convolutional]
  290. batch_normalize=1
  291. filters=512
  292. size=1
  293. stride=1
  294. pad=1
  295. activation=linear
  296. [shortcut]
  297. from=-4
  298. activation=leaky
  299. # Conv 4
  300. [convolutional]
  301. batch_normalize=1
  302. filters=256
  303. size=1
  304. stride=1
  305. pad=1
  306. activation=leaky
  307. [convolutional]
  308. batch_normalize=1
  309. filters=256
  310. size=3
  311. stride=2
  312. pad=1
  313. activation=leaky
  314. [convolutional]
  315. batch_normalize=1
  316. filters=1024
  317. size=1
  318. stride=1
  319. pad=1
  320. activation=linear
  321. [shortcut]
  322. from=-4
  323. activation=leaky
  324. [convolutional]
  325. batch_normalize=1
  326. filters=256
  327. size=1
  328. stride=1
  329. pad=1
  330. activation=leaky
  331. [convolutional]
  332. batch_normalize=1
  333. filters=256
  334. size=3
  335. stride=1
  336. pad=1
  337. activation=leaky
  338. [convolutional]
  339. batch_normalize=1
  340. filters=1024
  341. size=1
  342. stride=1
  343. pad=1
  344. activation=linear
  345. [shortcut]
  346. from=-4
  347. activation=leaky
  348. [convolutional]
  349. batch_normalize=1
  350. filters=256
  351. size=1
  352. stride=1
  353. pad=1
  354. activation=leaky
  355. [convolutional]
  356. batch_normalize=1
  357. filters=256
  358. size=3
  359. stride=1
  360. pad=1
  361. activation=leaky
  362. [convolutional]
  363. batch_normalize=1
  364. filters=1024
  365. size=1
  366. stride=1
  367. pad=1
  368. activation=linear
  369. [shortcut]
  370. from=-4
  371. activation=leaky
  372. [convolutional]
  373. batch_normalize=1
  374. filters=256
  375. size=1
  376. stride=1
  377. pad=1
  378. activation=leaky
  379. [convolutional]
  380. batch_normalize=1
  381. filters=256
  382. size=3
  383. stride=1
  384. pad=1
  385. activation=leaky
  386. [convolutional]
  387. batch_normalize=1
  388. filters=1024
  389. size=1
  390. stride=1
  391. pad=1
  392. activation=linear
  393. [shortcut]
  394. from=-4
  395. activation=leaky
  396. [convolutional]
  397. batch_normalize=1
  398. filters=256
  399. size=1
  400. stride=1
  401. pad=1
  402. activation=leaky
  403. [convolutional]
  404. batch_normalize=1
  405. filters=256
  406. size=3
  407. stride=1
  408. pad=1
  409. activation=leaky
  410. [convolutional]
  411. batch_normalize=1
  412. filters=1024
  413. size=1
  414. stride=1
  415. pad=1
  416. activation=linear
  417. [shortcut]
  418. from=-4
  419. activation=leaky
  420. [convolutional]
  421. batch_normalize=1
  422. filters=256
  423. size=1
  424. stride=1
  425. pad=1
  426. activation=leaky
  427. [convolutional]
  428. batch_normalize=1
  429. filters=256
  430. size=3
  431. stride=1
  432. pad=1
  433. activation=leaky
  434. [convolutional]
  435. batch_normalize=1
  436. filters=1024
  437. size=1
  438. stride=1
  439. pad=1
  440. activation=linear
  441. [shortcut]
  442. from=-4
  443. activation=leaky
  444. [convolutional]
  445. batch_normalize=1
  446. filters=256
  447. size=1
  448. stride=1
  449. pad=1
  450. activation=leaky
  451. [convolutional]
  452. batch_normalize=1
  453. filters=256
  454. size=3
  455. stride=1
  456. pad=1
  457. activation=leaky
  458. [convolutional]
  459. batch_normalize=1
  460. filters=1024
  461. size=1
  462. stride=1
  463. pad=1
  464. activation=linear
  465. [shortcut]
  466. from=-4
  467. activation=leaky
  468. [convolutional]
  469. batch_normalize=1
  470. filters=256
  471. size=1
  472. stride=1
  473. pad=1
  474. activation=leaky
  475. [convolutional]
  476. batch_normalize=1
  477. filters=256
  478. size=3
  479. stride=1
  480. pad=1
  481. activation=leaky
  482. [convolutional]
  483. batch_normalize=1
  484. filters=1024
  485. size=1
  486. stride=1
  487. pad=1
  488. activation=linear
  489. [shortcut]
  490. from=-4
  491. activation=leaky
  492. [convolutional]
  493. batch_normalize=1
  494. filters=256
  495. size=1
  496. stride=1
  497. pad=1
  498. activation=leaky
  499. [convolutional]
  500. batch_normalize=1
  501. filters=256
  502. size=3
  503. stride=1
  504. pad=1
  505. activation=leaky
  506. [convolutional]
  507. batch_normalize=1
  508. filters=1024
  509. size=1
  510. stride=1
  511. pad=1
  512. activation=linear
  513. [shortcut]
  514. from=-4
  515. activation=leaky
  516. [convolutional]
  517. batch_normalize=1
  518. filters=256
  519. size=1
  520. stride=1
  521. pad=1
  522. activation=leaky
  523. [convolutional]
  524. batch_normalize=1
  525. filters=256
  526. size=3
  527. stride=1
  528. pad=1
  529. activation=leaky
  530. [convolutional]
  531. batch_normalize=1
  532. filters=1024
  533. size=1
  534. stride=1
  535. pad=1
  536. activation=linear
  537. [shortcut]
  538. from=-4
  539. activation=leaky
  540. [convolutional]
  541. batch_normalize=1
  542. filters=256
  543. size=1
  544. stride=1
  545. pad=1
  546. activation=leaky
  547. [convolutional]
  548. batch_normalize=1
  549. filters=256
  550. size=3
  551. stride=1
  552. pad=1
  553. activation=leaky
  554. [convolutional]
  555. batch_normalize=1
  556. filters=1024
  557. size=1
  558. stride=1
  559. pad=1
  560. activation=linear
  561. [shortcut]
  562. from=-4
  563. activation=leaky
  564. [convolutional]
  565. batch_normalize=1
  566. filters=256
  567. size=1
  568. stride=1
  569. pad=1
  570. activation=leaky
  571. [convolutional]
  572. batch_normalize=1
  573. filters=256
  574. size=3
  575. stride=1
  576. pad=1
  577. activation=leaky
  578. [convolutional]
  579. batch_normalize=1
  580. filters=1024
  581. size=1
  582. stride=1
  583. pad=1
  584. activation=linear
  585. [shortcut]
  586. from=-4
  587. activation=leaky
  588. [convolutional]
  589. batch_normalize=1
  590. filters=256
  591. size=1
  592. stride=1
  593. pad=1
  594. activation=leaky
  595. [convolutional]
  596. batch_normalize=1
  597. filters=256
  598. size=3
  599. stride=1
  600. pad=1
  601. activation=leaky
  602. [convolutional]
  603. batch_normalize=1
  604. filters=1024
  605. size=1
  606. stride=1
  607. pad=1
  608. activation=linear
  609. [shortcut]
  610. from=-4
  611. activation=leaky
  612. [convolutional]
  613. batch_normalize=1
  614. filters=256
  615. size=1
  616. stride=1
  617. pad=1
  618. activation=leaky
  619. [convolutional]
  620. batch_normalize=1
  621. filters=256
  622. size=3
  623. stride=1
  624. pad=1
  625. activation=leaky
  626. [convolutional]
  627. batch_normalize=1
  628. filters=1024
  629. size=1
  630. stride=1
  631. pad=1
  632. activation=linear
  633. [shortcut]
  634. from=-4
  635. activation=leaky
  636. [convolutional]
  637. batch_normalize=1
  638. filters=256
  639. size=1
  640. stride=1
  641. pad=1
  642. activation=leaky
  643. [convolutional]
  644. batch_normalize=1
  645. filters=256
  646. size=3
  647. stride=1
  648. pad=1
  649. activation=leaky
  650. [convolutional]
  651. batch_normalize=1
  652. filters=1024
  653. size=1
  654. stride=1
  655. pad=1
  656. activation=linear
  657. [shortcut]
  658. from=-4
  659. activation=leaky
  660. [convolutional]
  661. batch_normalize=1
  662. filters=256
  663. size=1
  664. stride=1
  665. pad=1
  666. activation=leaky
  667. [convolutional]
  668. batch_normalize=1
  669. filters=256
  670. size=3
  671. stride=1
  672. pad=1
  673. activation=leaky
  674. [convolutional]
  675. batch_normalize=1
  676. filters=1024
  677. size=1
  678. stride=1
  679. pad=1
  680. activation=linear
  681. [shortcut]
  682. from=-4
  683. activation=leaky
  684. [convolutional]
  685. batch_normalize=1
  686. filters=256
  687. size=1
  688. stride=1
  689. pad=1
  690. activation=leaky
  691. [convolutional]
  692. batch_normalize=1
  693. filters=256
  694. size=3
  695. stride=1
  696. pad=1
  697. activation=leaky
  698. [convolutional]
  699. batch_normalize=1
  700. filters=1024
  701. size=1
  702. stride=1
  703. pad=1
  704. activation=linear
  705. [shortcut]
  706. from=-4
  707. activation=leaky
  708. [convolutional]
  709. batch_normalize=1
  710. filters=256
  711. size=1
  712. stride=1
  713. pad=1
  714. activation=leaky
  715. [convolutional]
  716. batch_normalize=1
  717. filters=256
  718. size=3
  719. stride=1
  720. pad=1
  721. activation=leaky
  722. [convolutional]
  723. batch_normalize=1
  724. filters=1024
  725. size=1
  726. stride=1
  727. pad=1
  728. activation=linear
  729. [shortcut]
  730. from=-4
  731. activation=leaky
  732. [convolutional]
  733. batch_normalize=1
  734. filters=256
  735. size=1
  736. stride=1
  737. pad=1
  738. activation=leaky
  739. [convolutional]
  740. batch_normalize=1
  741. filters=256
  742. size=3
  743. stride=1
  744. pad=1
  745. activation=leaky
  746. [convolutional]
  747. batch_normalize=1
  748. filters=1024
  749. size=1
  750. stride=1
  751. pad=1
  752. activation=linear
  753. [shortcut]
  754. from=-4
  755. activation=leaky
  756. [convolutional]
  757. batch_normalize=1
  758. filters=256
  759. size=1
  760. stride=1
  761. pad=1
  762. activation=leaky
  763. [convolutional]
  764. batch_normalize=1
  765. filters=256
  766. size=3
  767. stride=1
  768. pad=1
  769. activation=leaky
  770. [convolutional]
  771. batch_normalize=1
  772. filters=1024
  773. size=1
  774. stride=1
  775. pad=1
  776. activation=linear
  777. [shortcut]
  778. from=-4
  779. activation=leaky
  780. [convolutional]
  781. batch_normalize=1
  782. filters=256
  783. size=1
  784. stride=1
  785. pad=1
  786. activation=leaky
  787. [convolutional]
  788. batch_normalize=1
  789. filters=256
  790. size=3
  791. stride=1
  792. pad=1
  793. activation=leaky
  794. [convolutional]
  795. batch_normalize=1
  796. filters=1024
  797. size=1
  798. stride=1
  799. pad=1
  800. activation=linear
  801. [shortcut]
  802. from=-4
  803. activation=leaky
  804. [convolutional]
  805. batch_normalize=1
  806. filters=256
  807. size=1
  808. stride=1
  809. pad=1
  810. activation=leaky
  811. [convolutional]
  812. batch_normalize=1
  813. filters=256
  814. size=3
  815. stride=1
  816. pad=1
  817. activation=leaky
  818. [convolutional]
  819. batch_normalize=1
  820. filters=1024
  821. size=1
  822. stride=1
  823. pad=1
  824. activation=linear
  825. [shortcut]
  826. from=-4
  827. activation=leaky
  828. [convolutional]
  829. batch_normalize=1
  830. filters=256
  831. size=1
  832. stride=1
  833. pad=1
  834. activation=leaky
  835. [convolutional]
  836. batch_normalize=1
  837. filters=256
  838. size=3
  839. stride=1
  840. pad=1
  841. activation=leaky
  842. [convolutional]
  843. batch_normalize=1
  844. filters=1024
  845. size=1
  846. stride=1
  847. pad=1
  848. activation=linear
  849. [shortcut]
  850. from=-4
  851. activation=leaky
  852. [convolutional]
  853. batch_normalize=1
  854. filters=256
  855. size=1
  856. stride=1
  857. pad=1
  858. activation=leaky
  859. [convolutional]
  860. batch_normalize=1
  861. filters=256
  862. size=3
  863. stride=1
  864. pad=1
  865. activation=leaky
  866. [convolutional]
  867. batch_normalize=1
  868. filters=1024
  869. size=1
  870. stride=1
  871. pad=1
  872. activation=linear
  873. [shortcut]
  874. from=-4
  875. activation=leaky
  876. [convolutional]
  877. batch_normalize=1
  878. filters=256
  879. size=1
  880. stride=1
  881. pad=1
  882. activation=leaky
  883. [convolutional]
  884. batch_normalize=1
  885. filters=256
  886. size=3
  887. stride=1
  888. pad=1
  889. activation=leaky
  890. [convolutional]
  891. batch_normalize=1
  892. filters=1024
  893. size=1
  894. stride=1
  895. pad=1
  896. activation=linear
  897. [shortcut]
  898. from=-4
  899. activation=leaky
  900. [convolutional]
  901. batch_normalize=1
  902. filters=256
  903. size=1
  904. stride=1
  905. pad=1
  906. activation=leaky
  907. [convolutional]
  908. batch_normalize=1
  909. filters=256
  910. size=3
  911. stride=1
  912. pad=1
  913. activation=leaky
  914. [convolutional]
  915. batch_normalize=1
  916. filters=1024
  917. size=1
  918. stride=1
  919. pad=1
  920. activation=linear
  921. [shortcut]
  922. from=-4
  923. activation=leaky
  924. [convolutional]
  925. batch_normalize=1
  926. filters=256
  927. size=1
  928. stride=1
  929. pad=1
  930. activation=leaky
  931. [convolutional]
  932. batch_normalize=1
  933. filters=256
  934. size=3
  935. stride=1
  936. pad=1
  937. activation=leaky
  938. [convolutional]
  939. batch_normalize=1
  940. filters=1024
  941. size=1
  942. stride=1
  943. pad=1
  944. activation=linear
  945. [shortcut]
  946. from=-4
  947. activation=leaky
  948. [convolutional]
  949. batch_normalize=1
  950. filters=256
  951. size=1
  952. stride=1
  953. pad=1
  954. activation=leaky
  955. [convolutional]
  956. batch_normalize=1
  957. filters=256
  958. size=3
  959. stride=1
  960. pad=1
  961. activation=leaky
  962. [convolutional]
  963. batch_normalize=1
  964. filters=1024
  965. size=1
  966. stride=1
  967. pad=1
  968. activation=linear
  969. [shortcut]
  970. from=-4
  971. activation=leaky
  972. [convolutional]
  973. batch_normalize=1
  974. filters=256
  975. size=1
  976. stride=1
  977. pad=1
  978. activation=leaky
  979. [convolutional]
  980. batch_normalize=1
  981. filters=256
  982. size=3
  983. stride=1
  984. pad=1
  985. activation=leaky
  986. [convolutional]
  987. batch_normalize=1
  988. filters=1024
  989. size=1
  990. stride=1
  991. pad=1
  992. activation=linear
  993. [shortcut]
  994. from=-4
  995. activation=leaky
  996. [convolutional]
  997. batch_normalize=1
  998. filters=256
  999. size=1
  1000. stride=1
  1001. pad=1
  1002. activation=leaky
  1003. [convolutional]
  1004. batch_normalize=1
  1005. filters=256
  1006. size=3
  1007. stride=1
  1008. pad=1
  1009. activation=leaky
  1010. [convolutional]
  1011. batch_normalize=1
  1012. filters=1024
  1013. size=1
  1014. stride=1
  1015. pad=1
  1016. activation=linear
  1017. [shortcut]
  1018. from=-4
  1019. activation=leaky
  1020. ### TridentNet - large objects - Start
  1021. [convolutional]
  1022. batch_normalize=1
  1023. filters=256
  1024. size=1
  1025. stride=1
  1026. pad=1
  1027. activation=leaky
  1028. [convolutional]
  1029. dilation=3
  1030. batch_normalize=1
  1031. filters=256
  1032. size=3
  1033. stride=1
  1034. pad=1
  1035. activation=leaky
  1036. [convolutional]
  1037. batch_normalize=1
  1038. filters=1024
  1039. size=1
  1040. stride=1
  1041. pad=1
  1042. activation=linear
  1043. [shortcut]
  1044. from=-4
  1045. activation=leaky
  1046. [convolutional]
  1047. batch_normalize=1
  1048. filters=256
  1049. size=1
  1050. stride=1
  1051. pad=1
  1052. activation=leaky
  1053. [convolutional]
  1054. dilation=3
  1055. batch_normalize=1
  1056. filters=256
  1057. size=3
  1058. stride=1
  1059. pad=1
  1060. activation=leaky
  1061. [convolutional]
  1062. batch_normalize=1
  1063. filters=1024
  1064. size=1
  1065. stride=1
  1066. pad=1
  1067. activation=linear
  1068. [shortcut]
  1069. from=-4
  1070. activation=leaky
  1071. [convolutional]
  1072. batch_normalize=1
  1073. filters=256
  1074. size=1
  1075. stride=1
  1076. pad=1
  1077. activation=leaky
  1078. [convolutional]
  1079. dilation=3
  1080. batch_normalize=1
  1081. filters=256
  1082. size=3
  1083. stride=1
  1084. pad=1
  1085. activation=leaky
  1086. [convolutional]
  1087. batch_normalize=1
  1088. filters=1024
  1089. size=1
  1090. stride=1
  1091. pad=1
  1092. activation=linear
  1093. [shortcut]
  1094. from=-4
  1095. activation=leaky
  1096. [convolutional]
  1097. batch_normalize=1
  1098. filters=256
  1099. size=1
  1100. stride=1
  1101. pad=1
  1102. activation=leaky
  1103. [convolutional]
  1104. dilation=3
  1105. batch_normalize=1
  1106. filters=256
  1107. size=3
  1108. stride=1
  1109. pad=1
  1110. activation=leaky
  1111. [convolutional]
  1112. batch_normalize=1
  1113. filters=1024
  1114. size=1
  1115. stride=1
  1116. pad=1
  1117. activation=linear
  1118. [shortcut]
  1119. from=-4
  1120. activation=leaky
  1121. [convolutional]
  1122. batch_normalize=1
  1123. filters=256
  1124. size=1
  1125. stride=1
  1126. pad=1
  1127. activation=leaky
  1128. [convolutional]
  1129. dilation=3
  1130. batch_normalize=1
  1131. filters=256
  1132. size=3
  1133. stride=1
  1134. pad=1
  1135. activation=leaky
  1136. [convolutional]
  1137. batch_normalize=1
  1138. filters=1024
  1139. size=1
  1140. stride=1
  1141. pad=1
  1142. activation=linear
  1143. [shortcut]
  1144. from=-4
  1145. activation=leaky
  1146. [convolutional]
  1147. batch_normalize=1
  1148. filters=256
  1149. size=1
  1150. stride=1
  1151. pad=1
  1152. activation=leaky
  1153. [convolutional]
  1154. dilation=3
  1155. batch_normalize=1
  1156. filters=256
  1157. size=3
  1158. stride=1
  1159. pad=1
  1160. activation=leaky
  1161. [convolutional]
  1162. dilation=3
  1163. batch_normalize=1
  1164. filters=1024
  1165. size=1
  1166. stride=1
  1167. pad=1
  1168. activation=linear
  1169. [shortcut]
  1170. from=-4
  1171. activation=leaky
  1172. ## Conv 5
  1173. [convolutional]
  1174. batch_normalize=1
  1175. filters=512
  1176. size=1
  1177. stride=1
  1178. pad=1
  1179. activation=leaky
  1180. [convolutional]
  1181. dilation=3
  1182. batch_normalize=1
  1183. filters=512
  1184. size=3
  1185. stride=2
  1186. pad=1
  1187. activation=leaky
  1188. [convolutional]
  1189. batch_normalize=1
  1190. filters=2048
  1191. size=1
  1192. stride=1
  1193. pad=1
  1194. activation=linear
  1195. [shortcut]
  1196. from=-4
  1197. activation=leaky
  1198. [convolutional]
  1199. batch_normalize=1
  1200. filters=512
  1201. size=1
  1202. stride=1
  1203. pad=1
  1204. activation=leaky
  1205. [convolutional]
  1206. dilation=3
  1207. batch_normalize=1
  1208. filters=512
  1209. size=3
  1210. stride=1
  1211. pad=1
  1212. activation=leaky
  1213. [convolutional]
  1214. batch_normalize=1
  1215. filters=2048
  1216. size=1
  1217. stride=1
  1218. pad=1
  1219. activation=linear
  1220. [shortcut]
  1221. from=-4
  1222. activation=leaky
  1223. [convolutional]
  1224. batch_normalize=1
  1225. filters=512
  1226. size=1
  1227. stride=1
  1228. pad=1
  1229. activation=leaky
  1230. [convolutional]
  1231. dilation=3
  1232. batch_normalize=1
  1233. filters=512
  1234. size=3
  1235. stride=1
  1236. pad=1
  1237. activation=leaky
  1238. [convolutional]
  1239. batch_normalize=1
  1240. filters=2048
  1241. size=1
  1242. stride=1
  1243. pad=1
  1244. activation=linear
  1245. [shortcut]
  1246. from=-4
  1247. activation=leaky
  1248. [convolutional]
  1249. batch_normalize=1
  1250. size=1
  1251. stride=1
  1252. pad=1
  1253. filters=2048
  1254. activation=leaky
  1255. [convolutional]
  1256. size=1
  1257. stride=1
  1258. pad=1
  1259. filters=24
  1260. activation=linear
  1261. [yolo]
  1262. mask = 8,9,10,11
  1263. anchors = 8,8, 10,13, 16,30, 33,23, 32,32, 30,61, 62,45, 59,119, 80,80, 116,90, 156,198, 373,326
  1264. classes=1
  1265. num=12
  1266. jitter=.3
  1267. ignore_thresh = .7
  1268. truth_thresh = 1
  1269. random=0
  1270. ### TridentNet - large objects - End
  1271. ### TridentNet - medium objects - Start
  1272. [route]
  1273. layers = 165
  1274. [convolutional]
  1275. share_index=166
  1276. batch_normalize=1
  1277. filters=256
  1278. size=1
  1279. stride=1
  1280. pad=1
  1281. activation=leaky
  1282. [convolutional]
  1283. share_index=167
  1284. dilation=2
  1285. batch_normalize=1
  1286. filters=256
  1287. size=3
  1288. stride=1
  1289. pad=1
  1290. activation=leaky
  1291. [convolutional]
  1292. share_index=168
  1293. batch_normalize=1
  1294. filters=1024
  1295. size=1
  1296. stride=1
  1297. pad=1
  1298. activation=linear
  1299. [shortcut]
  1300. from=-4
  1301. activation=leaky
  1302. [convolutional]
  1303. share_index=170
  1304. batch_normalize=1
  1305. filters=256
  1306. size=1
  1307. stride=1
  1308. pad=1
  1309. activation=leaky
  1310. [convolutional]
  1311. share_index=171
  1312. dilation=2
  1313. batch_normalize=1
  1314. filters=256
  1315. size=3
  1316. stride=1
  1317. pad=1
  1318. activation=leaky
  1319. [convolutional]
  1320. share_index=172
  1321. batch_normalize=1
  1322. filters=1024
  1323. size=1
  1324. stride=1
  1325. pad=1
  1326. activation=linear
  1327. [shortcut]
  1328. from=-4
  1329. activation=leaky
  1330. [convolutional]
  1331. share_index=174
  1332. batch_normalize=1
  1333. filters=256
  1334. size=1
  1335. stride=1
  1336. pad=1
  1337. activation=leaky
  1338. [convolutional]
  1339. share_index=175
  1340. dilation=2
  1341. batch_normalize=1
  1342. filters=256
  1343. size=3
  1344. stride=1
  1345. pad=1
  1346. activation=leaky
  1347. [convolutional]
  1348. share_index=176
  1349. batch_normalize=1
  1350. filters=1024
  1351. size=1
  1352. stride=1
  1353. pad=1
  1354. activation=linear
  1355. [shortcut]
  1356. from=-4
  1357. activation=leaky
  1358. [convolutional]
  1359. share_index=178
  1360. batch_normalize=1
  1361. filters=256
  1362. size=1
  1363. stride=1
  1364. pad=1
  1365. activation=leaky
  1366. [convolutional]
  1367. share_index=179
  1368. dilation=2
  1369. batch_normalize=1
  1370. filters=256
  1371. size=3
  1372. stride=1
  1373. pad=1
  1374. activation=leaky
  1375. [convolutional]
  1376. share_index=180
  1377. batch_normalize=1
  1378. filters=1024
  1379. size=1
  1380. stride=1
  1381. pad=1
  1382. activation=linear
  1383. [shortcut]
  1384. from=-4
  1385. activation=leaky
  1386. [convolutional]
  1387. share_index=182
  1388. batch_normalize=1
  1389. filters=256
  1390. size=1
  1391. stride=1
  1392. pad=1
  1393. activation=leaky
  1394. [convolutional]
  1395. share_index=183
  1396. dilation=2
  1397. batch_normalize=1
  1398. filters=256
  1399. size=3
  1400. stride=1
  1401. pad=1
  1402. activation=leaky
  1403. [convolutional]
  1404. share_index=184
  1405. batch_normalize=1
  1406. filters=1024
  1407. size=1
  1408. stride=1
  1409. pad=1
  1410. activation=linear
  1411. [shortcut]
  1412. from=-4
  1413. activation=leaky
  1414. [convolutional]
  1415. share_index=186
  1416. batch_normalize=1
  1417. filters=256
  1418. size=1
  1419. stride=1
  1420. pad=1
  1421. activation=leaky
  1422. [convolutional]
  1423. share_index=187
  1424. dilation=2
  1425. batch_normalize=1
  1426. filters=256
  1427. size=3
  1428. stride=1
  1429. pad=1
  1430. activation=leaky
  1431. [convolutional]
  1432. share_index=188
  1433. dilation=2
  1434. batch_normalize=1
  1435. filters=1024
  1436. size=1
  1437. stride=1
  1438. pad=1
  1439. activation=linear
  1440. [shortcut]
  1441. from=-4
  1442. activation=leaky
  1443. ## Conv 5
  1444. [convolutional]
  1445. share_index=190
  1446. batch_normalize=1
  1447. filters=512
  1448. size=1
  1449. stride=1
  1450. pad=1
  1451. activation=leaky
  1452. [convolutional]
  1453. share_index=191
  1454. dilation=2
  1455. batch_normalize=1
  1456. filters=512
  1457. size=3
  1458. stride=2
  1459. pad=1
  1460. activation=leaky
  1461. [convolutional]
  1462. share_index=192
  1463. batch_normalize=1
  1464. filters=2048
  1465. size=1
  1466. stride=1
  1467. pad=1
  1468. activation=linear
  1469. [shortcut]
  1470. from=-4
  1471. activation=leaky
  1472. [convolutional]
  1473. share_index=194
  1474. batch_normalize=1
  1475. filters=512
  1476. size=1
  1477. stride=1
  1478. pad=1
  1479. activation=leaky
  1480. [convolutional]
  1481. share_index=195
  1482. dilation=2
  1483. batch_normalize=1
  1484. filters=512
  1485. size=3
  1486. stride=1
  1487. pad=1
  1488. activation=leaky
  1489. [convolutional]
  1490. share_index=196
  1491. batch_normalize=1
  1492. filters=2048
  1493. size=1
  1494. stride=1
  1495. pad=1
  1496. activation=linear
  1497. [shortcut]
  1498. from=-4
  1499. activation=leaky
  1500. [convolutional]
  1501. share_index=198
  1502. batch_normalize=1
  1503. filters=512
  1504. size=1
  1505. stride=1
  1506. pad=1
  1507. activation=leaky
  1508. [convolutional]
  1509. share_index=199
  1510. dilation=2
  1511. batch_normalize=1
  1512. filters=512
  1513. size=3
  1514. stride=1
  1515. pad=1
  1516. activation=leaky
  1517. [convolutional]
  1518. share_index=200
  1519. batch_normalize=1
  1520. filters=2048
  1521. size=1
  1522. stride=1
  1523. pad=1
  1524. activation=linear
  1525. [shortcut]
  1526. from=-4
  1527. activation=leaky
  1528. [convolutional]
  1529. batch_normalize=1
  1530. size=1
  1531. stride=1
  1532. pad=1
  1533. filters=1024
  1534. activation=leaky
  1535. [upsample]
  1536. stride=2
  1537. [route]
  1538. layers = -1, 49
  1539. [convolutional]
  1540. batch_normalize=1
  1541. size=1
  1542. stride=1
  1543. pad=1
  1544. filters=1024
  1545. activation=leaky
  1546. [convolutional]
  1547. size=1
  1548. stride=1
  1549. pad=1
  1550. filters=24
  1551. activation=linear
  1552. [yolo]
  1553. mask = 4,5,6,7
  1554. anchors = 8,8, 10,13, 16,30, 33,23, 32,32, 30,61, 62,45, 64,64, 59,119, 116,90, 156,198, 373,326
  1555. classes=1
  1556. num=12
  1557. jitter=.3
  1558. ignore_thresh = .7
  1559. truth_thresh = 1
  1560. random=0
  1561. ### TridentNet - medium objects - End
  1562. ### TridentNet - small objects - Start
  1563. [route]
  1564. layers = 165
  1565. [convolutional]
  1566. share_index=166
  1567. batch_normalize=1
  1568. filters=256
  1569. size=1
  1570. stride=1
  1571. pad=1
  1572. activation=leaky
  1573. [convolutional]
  1574. share_index=167
  1575. dilation=1
  1576. batch_normalize=1
  1577. filters=256
  1578. size=3
  1579. stride=1
  1580. pad=1
  1581. activation=leaky
  1582. [convolutional]
  1583. share_index=168
  1584. batch_normalize=1
  1585. filters=1024
  1586. size=1
  1587. stride=1
  1588. pad=1
  1589. activation=linear
  1590. [shortcut]
  1591. from=-4
  1592. activation=leaky
  1593. [convolutional]
  1594. share_index=170
  1595. batch_normalize=1
  1596. filters=256
  1597. size=1
  1598. stride=1
  1599. pad=1
  1600. activation=leaky
  1601. [convolutional]
  1602. share_index=171
  1603. dilation=1
  1604. batch_normalize=1
  1605. filters=256
  1606. size=3
  1607. stride=1
  1608. pad=1
  1609. activation=leaky
  1610. [convolutional]
  1611. share_index=172
  1612. batch_normalize=1
  1613. filters=1024
  1614. size=1
  1615. stride=1
  1616. pad=1
  1617. activation=linear
  1618. [shortcut]
  1619. from=-4
  1620. activation=leaky
  1621. [convolutional]
  1622. share_index=174
  1623. batch_normalize=1
  1624. filters=256
  1625. size=1
  1626. stride=1
  1627. pad=1
  1628. activation=leaky
  1629. [convolutional]
  1630. share_index=175
  1631. dilation=1
  1632. batch_normalize=1
  1633. filters=256
  1634. size=3
  1635. stride=1
  1636. pad=1
  1637. activation=leaky
  1638. [convolutional]
  1639. share_index=176
  1640. batch_normalize=1
  1641. filters=1024
  1642. size=1
  1643. stride=1
  1644. pad=1
  1645. activation=linear
  1646. [shortcut]
  1647. from=-4
  1648. activation=leaky
  1649. [convolutional]
  1650. share_index=178
  1651. batch_normalize=1
  1652. filters=256
  1653. size=1
  1654. stride=1
  1655. pad=1
  1656. activation=leaky
  1657. [convolutional]
  1658. share_index=179
  1659. dilation=1
  1660. batch_normalize=1
  1661. filters=256
  1662. size=3
  1663. stride=1
  1664. pad=1
  1665. activation=leaky
  1666. [convolutional]
  1667. share_index=180
  1668. batch_normalize=1
  1669. filters=1024
  1670. size=1
  1671. stride=1
  1672. pad=1
  1673. activation=linear
  1674. [shortcut]
  1675. from=-4
  1676. activation=leaky
  1677. [convolutional]
  1678. share_index=182
  1679. batch_normalize=1
  1680. filters=256
  1681. size=1
  1682. stride=1
  1683. pad=1
  1684. activation=leaky
  1685. [convolutional]
  1686. share_index=183
  1687. dilation=1
  1688. batch_normalize=1
  1689. filters=256
  1690. size=3
  1691. stride=1
  1692. pad=1
  1693. activation=leaky
  1694. [convolutional]
  1695. share_index=184
  1696. batch_normalize=1
  1697. filters=1024
  1698. size=1
  1699. stride=1
  1700. pad=1
  1701. activation=linear
  1702. [shortcut]
  1703. from=-4
  1704. activation=leaky
  1705. [convolutional]
  1706. share_index=186
  1707. batch_normalize=1
  1708. filters=256
  1709. size=1
  1710. stride=1
  1711. pad=1
  1712. activation=leaky
  1713. [convolutional]
  1714. share_index=187
  1715. dilation=1
  1716. batch_normalize=1
  1717. filters=256
  1718. size=3
  1719. stride=1
  1720. pad=1
  1721. activation=leaky
  1722. [convolutional]
  1723. share_index=188
  1724. dilation=1
  1725. batch_normalize=1
  1726. filters=1024
  1727. size=1
  1728. stride=1
  1729. pad=1
  1730. activation=linear
  1731. [shortcut]
  1732. from=-4
  1733. activation=leaky
  1734. ## Conv 5
  1735. [convolutional]
  1736. share_index=190
  1737. batch_normalize=1
  1738. filters=512
  1739. size=1
  1740. stride=1
  1741. pad=1
  1742. activation=leaky
  1743. [convolutional]
  1744. share_index=191
  1745. dilation=1
  1746. batch_normalize=1
  1747. filters=512
  1748. size=3
  1749. stride=2
  1750. pad=1
  1751. activation=leaky
  1752. [convolutional]
  1753. share_index=192
  1754. batch_normalize=1
  1755. filters=2048
  1756. size=1
  1757. stride=1
  1758. pad=1
  1759. activation=linear
  1760. [shortcut]
  1761. from=-4
  1762. activation=leaky
  1763. [convolutional]
  1764. share_index=194
  1765. batch_normalize=1
  1766. filters=512
  1767. size=1
  1768. stride=1
  1769. pad=1
  1770. activation=leaky
  1771. [convolutional]
  1772. share_index=195
  1773. dilation=1
  1774. batch_normalize=1
  1775. filters=512
  1776. size=3
  1777. stride=1
  1778. pad=1
  1779. activation=leaky
  1780. [convolutional]
  1781. share_index=196
  1782. batch_normalize=1
  1783. filters=2048
  1784. size=1
  1785. stride=1
  1786. pad=1
  1787. activation=linear
  1788. [shortcut]
  1789. from=-4
  1790. activation=leaky
  1791. [convolutional]
  1792. share_index=198
  1793. batch_normalize=1
  1794. filters=512
  1795. size=1
  1796. stride=1
  1797. pad=1
  1798. activation=leaky
  1799. [convolutional]
  1800. share_index=199
  1801. dilation=1
  1802. batch_normalize=1
  1803. filters=512
  1804. size=3
  1805. stride=1
  1806. pad=1
  1807. activation=leaky
  1808. [convolutional]
  1809. share_index=200
  1810. batch_normalize=1
  1811. filters=2048
  1812. size=1
  1813. stride=1
  1814. pad=1
  1815. activation=linear
  1816. [shortcut]
  1817. from=-4
  1818. activation=leaky
  1819. [convolutional]
  1820. batch_normalize=1
  1821. size=1
  1822. stride=1
  1823. pad=1
  1824. filters=512
  1825. activation=leaky
  1826. [upsample]
  1827. stride=4
  1828. [route]
  1829. layers = -1, 17
  1830. [convolutional]
  1831. batch_normalize=1
  1832. size=1
  1833. stride=1
  1834. pad=1
  1835. filters=512
  1836. activation=leaky
  1837. [convolutional]
  1838. size=1
  1839. stride=1
  1840. pad=1
  1841. filters=24
  1842. activation=linear
  1843. [yolo]
  1844. mask = 0,1,2,3
  1845. anchors = 8,8, 10,13, 16,30, 33,23, 32,32, 30,61, 62,45, 64,64, 59,119, 116,90, 156,198, 373,326
  1846. classes=1
  1847. num=12
  1848. jitter=.3
  1849. ignore_thresh = .7
  1850. truth_thresh = 1
  1851. random=0
  1852. ### TridentNet - small objects - End