From b5630f145f5d91f5a9b8ff890497e88d3ca1723c Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 12 Jun 2019 13:10:31 +0200 Subject: [PATCH] updates --- train.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/train.py b/train.py index 576decf2..e1f5758d 100644 --- a/train.py +++ b/train.py @@ -307,11 +307,11 @@ def print_mutation(hyp, results): if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('--epochs', type=int, default=68, help='number of epochs') - parser.add_argument('--batch-size', type=int, default=16, help='size of each image batch') - parser.add_argument('--accumulate', type=int, default=4, help='accumulate gradient x batches before optimizing') + parser.add_argument('--batch-size', type=int, default=8, help='size of each image batch') + parser.add_argument('--accumulate', type=int, default=8, help='accumulate gradient x batches before optimizing') parser.add_argument('--cfg', type=str, default='cfg/yolov3-spp.cfg', help='cfg file path') parser.add_argument('--data-cfg', type=str, default='data/coco_64img.data', help='coco.data file path') - parser.add_argument('--multi-scale', action='store_false', help='random image sizes per batch 320 - 608') + parser.add_argument('--multi-scale', action='store_true', help='random image sizes per batch 320 - 608') parser.add_argument('--img-size', type=int, default=416, help='inference size (pixels)') parser.add_argument('--resume', action='store_true', help='resume training flag') parser.add_argument('--transfer', action='store_true', help='transfer learning flag')