From 7f220a14cb997674e758acfe87f1a010721f04f9 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Tue, 2 Apr 2019 18:10:53 +0200 Subject: [PATCH] updates --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index bcbc821b..79dabb92 100644 --- a/train.py +++ b/train.py @@ -53,7 +53,7 @@ def train( if resume: # Load previously saved PyTorch model if transfer: # Transfer learning - chkpt = torch.load(weights + 'yolov3-tiny.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 (int(k.split('.')[1]) + 1) not in yl}, strict=False) for (name, p) in model.named_parameters():