yolov2-tiny-voc.cfg 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. [net]
  2. # Testing
  3. batch=1
  4. subdivisions=1
  5. # Training
  6. # batch=64
  7. # subdivisions=2
  8. width=416
  9. height=416
  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. max_batches = 40200
  19. policy=steps
  20. steps=-1,100,20000,30000
  21. scales=.1,10,.1,.1
  22. [convolutional]
  23. batch_normalize=1
  24. filters=16
  25. size=3
  26. stride=1
  27. pad=1
  28. activation=leaky
  29. [maxpool]
  30. size=2
  31. stride=2
  32. [convolutional]
  33. batch_normalize=1
  34. filters=32
  35. size=3
  36. stride=1
  37. pad=1
  38. activation=leaky
  39. [maxpool]
  40. size=2
  41. stride=2
  42. [convolutional]
  43. batch_normalize=1
  44. filters=64
  45. size=3
  46. stride=1
  47. pad=1
  48. activation=leaky
  49. [maxpool]
  50. size=2
  51. stride=2
  52. [convolutional]
  53. batch_normalize=1
  54. filters=128
  55. size=3
  56. stride=1
  57. pad=1
  58. activation=leaky
  59. [maxpool]
  60. size=2
  61. stride=2
  62. [convolutional]
  63. batch_normalize=1
  64. filters=256
  65. size=3
  66. stride=1
  67. pad=1
  68. activation=leaky
  69. [maxpool]
  70. size=2
  71. stride=2
  72. [convolutional]
  73. batch_normalize=1
  74. filters=512
  75. size=3
  76. stride=1
  77. pad=1
  78. activation=leaky
  79. [maxpool]
  80. size=2
  81. stride=1
  82. [convolutional]
  83. batch_normalize=1
  84. filters=1024
  85. size=3
  86. stride=1
  87. pad=1
  88. activation=leaky
  89. ###########
  90. [convolutional]
  91. batch_normalize=1
  92. size=3
  93. stride=1
  94. pad=1
  95. filters=1024
  96. activation=leaky
  97. [convolutional]
  98. size=1
  99. stride=1
  100. pad=1
  101. filters=125
  102. activation=linear
  103. [region]
  104. anchors = 1.08,1.19, 3.42,4.41, 6.63,11.38, 9.42,5.11, 16.62,10.52
  105. bias_match=1
  106. classes=20
  107. coords=4
  108. num=5
  109. softmax=1
  110. jitter=.2
  111. rescore=1
  112. object_scale=5
  113. noobject_scale=1
  114. class_scale=1
  115. coord_scale=1
  116. absolute=1
  117. thresh = .6
  118. random=1