This commit is contained in:
Glenn Jocher 2023-09-10 04:58:24 +02:00 committed by GitHub
parent 16ce193d6e
commit dbc53f6741
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 26 additions and 25 deletions

View file

@ -117,7 +117,8 @@ class HUBTrainingSession:
if data['status'] == 'new': # new model to start training
self.train_args = {
'batch': data['batch'],
# TODO deprecate before 8.1.0
'batch': data['batch' if 'batch' in data else 'batch_size'],
'epochs': data['epochs'],
'imgsz': data['imgsz'],
'patience': data['patience'],