Skip to content

Commit aa6d2ca

Browse files
authored
Update pipeline_client.py
fix string_data to str_data
1 parent ab49cf6 commit aa6d2ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pipeline/pipeline_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def _pack_request_package(self, feed_dict, pack_tensor_format,
108108
one_tensor.name = key
109109

110110
if isinstance(value, str):
111-
one_tensor.string_data.add(value)
111+
one_tensor.str_data.append(value)
112112
one_tensor.elem_type = 12 #12 => string in proto
113113
continue
114114

0 commit comments

Comments
 (0)