/ web / yolov2-tiny.cfg.txt
yolov2-tiny.cfg.txt
  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  
 18  learning_rate=0.001
 19  burn_in=1000
 20  max_batches = 500200
 21  policy=steps
 22  steps=400000,450000
 23  scales=.1,.1
 24  
 25  [convolutional]
 26  batch_normalize=1
 27  filters=16
 28  size=3
 29  stride=1
 30  pad=1
 31  activation=leaky
 32  
 33  [maxpool]
 34  size=2
 35  stride=2
 36  
 37  [convolutional]
 38  batch_normalize=1
 39  filters=32
 40  size=3
 41  stride=1
 42  pad=1
 43  activation=leaky
 44  
 45  [maxpool]
 46  size=2
 47  stride=2
 48  
 49  [convolutional]
 50  batch_normalize=1
 51  filters=64
 52  size=3
 53  stride=1
 54  pad=1
 55  activation=leaky
 56  
 57  [maxpool]
 58  size=2
 59  stride=2
 60  
 61  [convolutional]
 62  batch_normalize=1
 63  filters=128
 64  size=3
 65  stride=1
 66  pad=1
 67  activation=leaky
 68  
 69  [maxpool]
 70  size=2
 71  stride=2
 72  
 73  [convolutional]
 74  batch_normalize=1
 75  filters=256
 76  size=3
 77  stride=1
 78  pad=1
 79  activation=leaky
 80  
 81  [maxpool]
 82  size=2
 83  stride=2
 84  
 85  [convolutional]
 86  batch_normalize=1
 87  filters=512
 88  size=3
 89  stride=1
 90  pad=1
 91  activation=leaky
 92  
 93  [maxpool]
 94  size=2
 95  stride=1
 96  
 97  [convolutional]
 98  batch_normalize=1
 99  filters=1024
100  size=3
101  stride=1
102  pad=1
103  activation=leaky
104  
105  ###########
106  
107  [convolutional]
108  batch_normalize=1
109  size=3
110  stride=1
111  pad=1
112  filters=512
113  activation=leaky
114  
115  [convolutional]
116  size=1
117  stride=1
118  pad=1
119  filters=425
120  activation=linear
121  
122  [region]
123  anchors =  0.57273, 0.677385, 1.87446, 2.06253, 3.33843, 5.47434, 7.88282, 3.52778, 9.77052, 9.16828
124  bias_match=1
125  classes=80
126  coords=4
127  num=5
128  softmax=1
129  jitter=.2
130  rescore=0
131  
132  object_scale=5
133  noobject_scale=1
134  class_scale=1
135  coord_scale=1
136  
137  absolute=1
138  thresh = .6
139  random=1