This commit is contained in:
Glenn Jocher 2019-02-21 16:18:11 +01:00
parent 46e3343494
commit 485321ecb1
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ def train(
batch_size=16, batch_size=16,
accumulated_batches=1, accumulated_batches=1,
multi_scale=False, multi_scale=False,
freeze_backbone=True, freeze_backbone=False,
var=0, var=0,
): ):
weights = 'weights' + os.sep 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('--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('--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('--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('--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('--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') parser.add_argument('--img-size', type=int, default=32 * 13, help='pixels')