We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
I couldn't find anywhere else to report document errors. https://docs.docarray.org/how_to/multimodal_training_and_serving/ Defined
class PairTextImage(BaseDoc): text: TextDoc image: ImageDoc
and then use it
da = DocList[PairTextImage]( PairTextImage(text=Text(text=i.caption), image=Image(url=f"Images/{i.image}")) for i in df.itertuples() )
actually the Image class is not defined.
Image
def __call__(self, text: Text) -> None: assert isinstance(text, Text) text.tokens = Tokens( **self.tokenizer( text.text, padding="max_length", truncation=True, max_length=48 )
and the Text class is not defined.
Text
No response
I couldn't find anywhere else to report document errors
Initial Checks
Description
I couldn't find anywhere else to report document errors.
https://docs.docarray.org/how_to/multimodal_training_and_serving/
Defined
and then use it
actually the
Imageclass is not defined.and the
Textclass is not defined.Example Code
No response
Python, DocArray & OS Version
Affected Components