typo fix
parent
a03adb5ab8
commit
13f69777a6
2
train.py
2
train.py
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue