提交 432fda51 编写于 作者: S songhao 提交者: tangwei12

fix bug in Class MultiSlotDataGenerator's function _gen_str, test=develop (#18222)

上级 61ed06b2
......@@ -312,7 +312,7 @@ class MultiSlotDataGenerator(DataGenerator):
)
if name != self._proto_info[index][0]:
raise ValueError(
"the field name of two given line are not match: require<%s>, get<%d>."
"the field name of two given line are not match: require<%s>, get<%s>."
% (self._proto_info[index][0], name))
if output:
output += " "
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册