From e19b0effb201c50a4cf307b0044b0cdb099230a6 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Mon, 8 Apr 2019 23:45:52 +0200 Subject: [PATCH] updates --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index 2d3cf8b2..50b418cf 100644 --- a/train.py +++ b/train.py @@ -53,7 +53,7 @@ def train( if resume: # Load previously saved model if transfer: # Transfer learning - chkpt = torch.load(weights + 'yolov3-spp.pt', map_location=device) + chkpt = torch.load(weights + 'yolov3.pt', map_location=device) model.load_state_dict({k: v for k, v in chkpt['model'].items() if v.numel() > 1 and v.shape[0] != 255}, strict=False) for p in model.parameters():