typo fix
This commit is contained in:
1 parent
a03adb5ab8
commit
13f69777a6
1 file changed
+1
-1
@@ -119,7 +119,7 @@ def train(hyp):
|
||||
model.load_state_dict(ckpt['model'], strict=False)
|
||||
except KeyError as e:
|
||||
s = "%s is not compatible with %s. This may be due to model differences or %s may be out of date. " \
|
||||
"Please delete or update %s and try again, or use --weights '' to train from scatch." \
|
||||
"Please delete or update %s and try again, or use --weights '' to train from scratch." \
|
||||
% (opt.weights, opt.cfg, opt.weights, opt.weights)
|
||||
raise KeyError(s) from e
|
||||
|
||||
|
||||
Reference in new issue
Block a user