This commit is contained in:
Glenn Jocher 2019-12-27 12:52:01 -08:00
parent d7ea668c42
commit 4843cc4e08
1 changed files with 1 additions and 2 deletions

View File

@ -192,7 +192,7 @@ def train():
augment=True,
hyp=hyp, # augmentation hyperparameters
rect=opt.rect, # rectangular training
image_weights=opt.img_weights,
image_weights=False,
cache_labels=epochs > 10,
cache_images=opt.cache_images and not opt.prebias)
@ -430,7 +430,6 @@ if __name__ == '__main__':
parser.add_argument('--notest', action='store_true', help='only test final epoch')
parser.add_argument('--evolve', action='store_true', help='evolve hyperparameters')
parser.add_argument('--bucket', type=str, default='', help='gsutil bucket')
parser.add_argument('--img-weights', action='store_true', help='select training images by weight')
parser.add_argument('--cache-images', action='store_true', help='cache images for faster training')
parser.add_argument('--weights', type=str, default='weights/ultralytics68.pt', help='initial weights')
parser.add_argument('--arc', type=str, default='default', help='yolo architecture') # defaultpw, uCE, uBCE