Unverified Commit 5b64ac21 authored by Drew Botwinick's avatar Drew Botwinick Committed by GitHub
Browse files

[Bugfix] Update get_processor_data to use get_all method (#30583)


Signed-off-by: default avatarDrew Botwinick <6953152+dbotwinick@users.noreply.github.com>
parent a8ec4865
......@@ -120,7 +120,7 @@ class ProcessorBatchItems(ModalityDataItems[Sequence[_T], _T]):
return self.data[index]
def get_processor_data(self) -> Mapping[str, object]:
return {f"{self.modality}s": self.data}
return {f"{self.modality}s": self.get_all()}
def get_passthrough_data(self) -> Mapping[str, object]:
return {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment