From 9a56d97059a730121d9502c5268d5503b961de8f Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Tue, 25 Jun 2019 11:54:19 +0200 Subject: [PATCH] updates --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index 32c69ee6..cc5d34f3 100644 --- a/train.py +++ b/train.py @@ -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