glenn-jocher
commited on
Commit
•
13f6977
1
Parent(s):
a03adb5
typo fix
Browse files
train.py
CHANGED
@@ -119,7 +119,7 @@ def train(hyp):
|
|
119 |
model.load_state_dict(ckpt['model'], strict=False)
|
120 |
except KeyError as e:
|
121 |
s = "%s is not compatible with %s. This may be due to model differences or %s may be out of date. " \
|
122 |
-
"Please delete or update %s and try again, or use --weights '' to train from
|
123 |
% (opt.weights, opt.cfg, opt.weights, opt.weights)
|
124 |
raise KeyError(s) from e
|
125 |
|
|
|
119 |
model.load_state_dict(ckpt['model'], strict=False)
|
120 |
except KeyError as e:
|
121 |
s = "%s is not compatible with %s. This may be due to model differences or %s may be out of date. " \
|
122 |
+
"Please delete or update %s and try again, or use --weights '' to train from scratch." \
|
123 |
% (opt.weights, opt.cfg, opt.weights, opt.weights)
|
124 |
raise KeyError(s) from e
|
125 |
|