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

revert-18229-add_multi_gpu_install_check
songhao 6 years ago committed by tangwei12
parent 61ed06b29a
commit 432fda51aa

@ -312,7 +312,7 @@ class MultiSlotDataGenerator(DataGenerator):
) )
if name != self._proto_info[index][0]: if name != self._proto_info[index][0]:
raise ValueError( 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)) % (self._proto_info[index][0], name))
if output: if output:
output += " " output += " "

Loading…
Cancel
Save