未验证 提交 da04e0b4 编写于 作者: T tianxin 提交者: GitHub

Merge pull request #389 from cclauss/patch-1

Undefined name: 'v' --> 'inf_sepc'
......@@ -83,7 +83,7 @@ class BestInferenceModelExporter(Exporter):
inf_sepc_dict = {'inference': inf_sepc_dict}
for inf_sepc_name, inf_sepc in six.iteritems(inf_sepc_dict):
if not isinstance(inf_sepc, InferenceSpec):
raise ValueError('unkonw inference spec type: %s' % v)
raise ValueError('unknown inference spec type: %s' % inf_sepc)
save_dir = os.path.join(self._export_dir, inf_sepc_name)
log.debug('[Best Exporter]: save inference model: "%s" to %s' %
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册