diff --git a/train.py b/train.py index 766b1112..9f03c04d 100644 --- a/train.py +++ b/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')