This commit is contained in:
Glenn Jocher 2019-06-25 11:54:19 +02:00
parent 2244c72a1b
commit 9a56d97059
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ def train(
# Start training
model.hyp = hyp # attach hyperparameters to model
model.class_weights = labels_to_class_weights(dataset.labels, nc).to(device) # attach class weights
# model.class_weights = labels_to_class_weights(dataset.labels, nc).to(device) # attach class weights
model_info(model, report='summary') # 'full' or 'summary'
nb = len(dataloader)
maps = np.zeros(nc) # mAP per class