updates
This commit is contained in:
parent
d7ea668c42
commit
4843cc4e08
3
train.py
3
train.py
|
@ -192,7 +192,7 @@ def train():
|
||||||
augment=True,
|
augment=True,
|
||||||
hyp=hyp, # augmentation hyperparameters
|
hyp=hyp, # augmentation hyperparameters
|
||||||
rect=opt.rect, # rectangular training
|
rect=opt.rect, # rectangular training
|
||||||
image_weights=opt.img_weights,
|
image_weights=False,
|
||||||
cache_labels=epochs > 10,
|
cache_labels=epochs > 10,
|
||||||
cache_images=opt.cache_images and not opt.prebias)
|
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('--notest', action='store_true', help='only test final epoch')
|
||||||
parser.add_argument('--evolve', action='store_true', help='evolve hyperparameters')
|
parser.add_argument('--evolve', action='store_true', help='evolve hyperparameters')
|
||||||
parser.add_argument('--bucket', type=str, default='', help='gsutil bucket')
|
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('--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('--weights', type=str, default='weights/ultralytics68.pt', help='initial weights')
|
||||||
parser.add_argument('--arc', type=str, default='default', help='yolo architecture') # defaultpw, uCE, uBCE
|
parser.add_argument('--arc', type=str, default='default', help='yolo architecture') # defaultpw, uCE, uBCE
|
||||||
|
|
Loading…
Reference in New Issue