updates
This commit is contained in:
parent
ee176000eb
commit
3c4a9ff69e
4
train.py
4
train.py
|
@ -42,7 +42,7 @@ hyp = {'giou': 1.582, # giou loss gain
|
|||
'obj': 21.35, # obj loss gain
|
||||
'obj_pw': 3.941, # obj BCELoss positive_weight
|
||||
'iou_t': 0.2635, # iou training threshold
|
||||
'lr0': 0.010324, # initial learning rate
|
||||
'lr0': 0.002324, # initial learning rate
|
||||
'lrf': -4., # final LambdaLR learning rate = lr0 * (10 ** lrf)
|
||||
'momentum': 0.97, # SGD momentum
|
||||
'weight_decay': 0.0004569, # optimizer weight decay
|
||||
|
@ -360,7 +360,7 @@ if __name__ == '__main__':
|
|||
parser.add_argument('--batch-size', type=int, default=32, help='batch size')
|
||||
parser.add_argument('--accumulate', type=int, default=2, help='number of batches to accumulate before optimizing')
|
||||
parser.add_argument('--cfg', type=str, default='cfg/yolov3-spp.cfg', help='cfg file path')
|
||||
parser.add_argument('--data', type=str, default='data/coco_64img.data', help='coco.data file path')
|
||||
parser.add_argument('--data', type=str, default='data/coco.data', help='coco.data file path')
|
||||
parser.add_argument('--multi-scale', action='store_true', help='train at (1/1.5)x - 1.5x sizes')
|
||||
parser.add_argument('--img-size', type=int, default=416, help='inference size (pixels)')
|
||||
parser.add_argument('--rect', action='store_true', help='rectangular training')
|
||||
|
|
Loading…
Reference in New Issue