Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
docs: updating docs with correct arguments
As highlighted in issue #1889 the MultiModalDataset class doesn't have argument "da" and has to be updated to "docs"

Signed-off-by: Upaayan Naskar <[email protected]>
  • Loading branch information
hackermen0 committed Sep 21, 2024
commit 09745917812b585201abdcf1618b27803dbecc89
2 changes: 1 addition & 1 deletion docs/how_to/multimodal_training_and_serving.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ preprocessing = {"image": VisionPreprocess(), "text": TextPreprocess()}
```python
from docarray.data import MultiModalDataset

dataset = MultiModalDataset[PairTextImage](da=da, preprocessing=preprocessing)
dataset = MultiModalDataset[PairTextImage](docs=da, preprocessing=preprocessing)
loader = DataLoader(
dataset,
batch_size=128,
Expand Down