Remove temporary base_model change
This commit is contained in:
parent
54accfa693
commit
1ce863849a
|
@ -108,9 +108,7 @@ class BaseModel():
|
||||||
|
|
||||||
load_net_clean = OrderedDict() # remove unnecessary 'module.'
|
load_net_clean = OrderedDict() # remove unnecessary 'module.'
|
||||||
for k, v in load_net.items():
|
for k, v in load_net.items():
|
||||||
if 'teco_recurrent_process' in k:
|
if k.startswith('module.'):
|
||||||
continue
|
|
||||||
elif k.startswith('module.'):
|
|
||||||
load_net_clean[k[7:]] = v
|
load_net_clean[k[7:]] = v
|
||||||
else:
|
else:
|
||||||
load_net_clean[k] = v
|
load_net_clean[k] = v
|
||||||
|
|
Loading…
Reference in New Issue
Block a user