diff --git a/train.py b/train.py index 2fa057d6..f1cd84a6 100644 --- a/train.py +++ b/train.py @@ -16,7 +16,7 @@ def train( batch_size=16, accumulated_batches=1, multi_scale=False, - freeze_backbone=True, + freeze_backbone=False, var=0, ): weights = 'weights' + os.sep @@ -182,7 +182,7 @@ if __name__ == '__main__': parser.add_argument('--epochs', type=int, default=100, help='number of epochs') parser.add_argument('--batch-size', type=int, default=16, help='size of each image batch') parser.add_argument('--accumulated-batches', type=int, default=1, help='number of batches before optimizer step') - parser.add_argument('--cfg', type=str, default='cfg/yolov3.cfg', help='cfg file path') + parser.add_argument('--cfg', type=str, default='cfg/yolov3-tiny.cfg', help='cfg file path') parser.add_argument('--data-cfg', type=str, default='cfg/coco.data', help='coco.data file path') parser.add_argument('--multi-scale', action='store_true', help='random image sizes per batch 320 - 608') parser.add_argument('--img-size', type=int, default=32 * 13, help='pixels')