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.' 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