"...git@developer.sourcefind.cn:chenpangpang/diffusers.git" did not exist on "9ef43f38d43217f690e222a4ce0239c6a24af981"
Unverified Commit 9b197669 authored by Diego Machado's avatar Diego Machado Committed by GitHub
Browse files

fix set_transform link docs (#26856)



* fix set_transform link

* Update docs/source/en/preprocessing.md
Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>

* use doc-builder sintax

---------
Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>
parent 929134bf
...@@ -412,8 +412,7 @@ If you wish to normalize images as a part of the augmentation transformation, us ...@@ -412,8 +412,7 @@ If you wish to normalize images as a part of the augmentation transformation, us
and `image_processor.image_std` values. and `image_processor.image_std` values.
</Tip> </Tip>
3. Then use 🤗 Datasets [`set_transform`](https://huggingface.co/docs/datasets/process.html#format-transform) to apply the transforms on the fly: 3. Then use 🤗 Datasets[`~datasets.Dataset.set_transform`] to apply the transforms on the fly:
```py ```py
>>> dataset.set_transform(transforms) >>> dataset.set_transform(transforms)
``` ```
......
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