translate preprocessing.md to Chinese#26955
Conversation
|
Here is the translation of preprocessing.md Best |
preprocessing.md to Chinese
stevhliu
left a comment
There was a problem hiding this comment.
Thanks for your translation! Remember to add this file to the toctree so it gets built
docs/source/zh/preprocessing.md
Outdated
|
|
||
| # 预处理 | ||
|
|
||
| [[在Colab中打开]] |
There was a problem hiding this comment.
No need to translate this because it's our special doc-builder syntax :)
| [[在Colab中打开]] | |
| [[open-in-colab]] |
docs/source/zh/preprocessing.md
Outdated
| <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/vision-preprocess-tutorial.png"/> | ||
| </div> | ||
|
|
||
| 使用 [`AutoImageProcessor.from_pretrained`] 加载`image processo`: |
There was a problem hiding this comment.
| 使用 [`AutoImageProcessor.from_pretrained`] 加载`image processo`: | |
| 使用 [`AutoImageProcessor.from_pretrained`] 加载`image processor`: |
docs/source/zh/preprocessing.md
Outdated
| <Tip> | ||
|
|
||
| 在某些情况下,例如,在微调[DETR](./model_doc/detr)时,模型在训练时应用了尺度增强。这可能导致批处理中的图像大小不同。您可以使用[`DetrImageProcessor.pad`]来指定自定义的`collate_fn`将图像批处理在一起。 | ||
|
|
||
| </Tip> |
There was a problem hiding this comment.
| <Tip> | |
| 在某些情况下,例如,在微调[DETR](./model_doc/detr)时,模型在训练时应用了尺度增强。这可能导致批处理中的图像大小不同。您可以使用[`DetrImageProcessor.pad`]来指定自定义的`collate_fn`将图像批处理在一起。 | |
| </Tip> | |
| </Tip> | |
| 在某些情况下,例如,在微调[DETR](./model_doc/detr)时,模型在训练时应用了尺度增强。这可能导致批处理中的图像大小不同。您可以使用[`DetrImageProcessor.pad`]来指定自定义的`collate_fn`将图像批处理在一起。 |
|
Hi, Thansk for your review. I just notice that you have merge the PR( Would you mind having a check again? Best |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
stevhliu
left a comment
There was a problem hiding this comment.
Thanks, just one more minor change and we can merge!
Hi, thanks for your review and suggestion. Sorry that I missed some mirror problem. Best |
* translate preprocessing.md to Chinese * update files fixing problems mentioned in review * update files fixing problems mentioned in review --------- Co-authored-by: jiaqiw <wangjiaqi50@huawei.com>
What does this PR do?
Part of #26803
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
@stevhliu