Remove temporary base_model change

This commit is contained in:
James Betker 2020-10-26 11:13:01 -06:00
parent 54accfa693
commit 1ce863849a

View File

@ -108,9 +108,7 @@ class BaseModel():
load_net_clean = OrderedDict() # remove unnecessary 'module.'
for k, v in load_net.items():
if 'teco_recurrent_process' in k:
continue
elif k.startswith('module.'):
if k.startswith('module.'):
load_net_clean[k[7:]] = v
else:
load_net_clean[k] = v