You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
to_protobuf does not work for Stacked DocumentArray in some cases #1069
Traceback (most recent call last): File "tiger.py", line 38, in <module> da.to_protobuf() File "/home/jackmin/Documents/da-testing/docarray/docarray/array/array_stacked.py", line 263, in to_protobuf document_array=DocumentArrayProto(stack=column.to_protobuf()) File "/home/jackmin/Documents/da-testing/docarray/docarray/array/array_stacked.py", line 263, in to_protobuf document_array=DocumentArrayProto(stack=column.to_protobuf())ValueError: Protocol message DocumentArrayProto has no "stack" field.
changed the title [-]`to_protobuf` does not work for Stacked DocumentArray[/-][+]`to_protobuf` does not work for Stacked DocumentArray in some cases[/+]on Feb 1, 2023
changed the title [-]`to_protobuf` does not work for Stacked DocumentArray in some cases[/-][+]`to_protobuf` does not work for DocumentArray in some cases[/+]on Feb 1, 2023
changed the title [-]`to_protobuf` does not work for DocumentArray in some cases[/-][+]`to_protobuf` does not work for Stacked DocumentArray in some cases[/+]on Feb 1, 2023
Activity
[-]`to_protobuf` does not work for TorchTensor[/-][+]`to_protobuf` does not work for Stacked DocumentArray[/+][-]`to_protobuf` does not work for Stacked DocumentArray[/-][+]`to_protobuf` does not work for Stacked DocumentArray in some cases[/+][-]`to_protobuf` does not work for Stacked DocumentArray in some cases[/-][+]`to_protobuf` does not work for DocumentArray in some cases[/+][-]`to_protobuf` does not work for DocumentArray in some cases[/-][+]`to_protobuf` does not work for Stacked DocumentArray in some cases[/+]JoanFM commentedon Feb 1, 2023
This needs to be handled
JoanFM commentedon Feb 7, 2023
This seems to work right now! I believe @JohannesMessner PR fixed it
JohannesMessner commentedon Feb 7, 2023
This should be the PR that fixed it, thanks to the refactoring of the DocumentArrayStacked columns.