- en: Examples and tutorials id: totrans-0 prefs: - PREF_H1 type: TYPE_NORMAL zh: 示例和教程 - en: 原文:[https://pytorch.org/vision/stable/auto_examples/index.html](https://pytorch.org/vision/stable/auto_examples/index.html) id: totrans-1 prefs: - PREF_BQ type: TYPE_NORMAL zh: 原文:[https://pytorch.org/vision/stable/auto_examples/index.html](https://pytorch.org/vision/stable/auto_examples/index.html) - en: '## Transforms[](#transforms "Permalink to this heading")' id: totrans-2 prefs: [] type: TYPE_NORMAL zh: '## 变换[](#transforms "跳转到此标题")' - en: '![](../Images/ae533e69e8f27cd058b9a1aecea600fc.png)' id: totrans-3 prefs: [] type: TYPE_IMG zh: '![](../Images/ae533e69e8f27cd058b9a1aecea600fc.png)' - en: '[Getting started with transforms v2](transforms/plot_transforms_getting_started.html#sphx-glr-auto-examples-transforms-plot-transforms-getting-started-py)' id: totrans-4 prefs: [] type: TYPE_NORMAL zh: '[开始使用变换v2](transforms/plot_transforms_getting_started.html#sphx-glr-auto-examples-transforms-plot-transforms-getting-started-py)' - en: Getting started with transforms v2![](../Images/0dd38779bf0dc0cce8475d6ed37e8c3a.png) id: totrans-5 prefs: [] type: TYPE_NORMAL zh: 开始使用变换v2![](../Images/0dd38779bf0dc0cce8475d6ed37e8c3a.png) - en: '[Illustration of transforms](transforms/plot_transforms_illustrations.html#sphx-glr-auto-examples-transforms-plot-transforms-illustrations-py)' id: totrans-6 prefs: [] type: TYPE_NORMAL zh: '[变换的示例](transforms/plot_transforms_illustrations.html#sphx-glr-auto-examples-transforms-plot-transforms-illustrations-py)' - en: Illustration of transforms![](../Images/e5daa82e85051ac0e31dc0c545fd5cfc.png) id: totrans-7 prefs: [] type: TYPE_NORMAL zh: 变换的示例![](../Images/e5daa82e85051ac0e31dc0c545fd5cfc.png) - en: '[Transforms v2: End-to-end object detection/segmentation example](transforms/plot_transforms_e2e.html#sphx-glr-auto-examples-transforms-plot-transforms-e2e-py)' id: totrans-8 prefs: [] type: TYPE_NORMAL zh: '[变换v2:端到端目标检测/分割示例](transforms/plot_transforms_e2e.html#sphx-glr-auto-examples-transforms-plot-transforms-e2e-py)' - en: 'Transforms v2: End-to-end object detection/segmentation example![](../Images/28774614295b13bdd690b35a48a8ee63.png)' id: totrans-9 prefs: [] type: TYPE_NORMAL zh: 变换v2:端到端目标检测/分割示例![](../Images/28774614295b13bdd690b35a48a8ee63.png) - en: '[How to use CutMix and MixUp](transforms/plot_cutmix_mixup.html#sphx-glr-auto-examples-transforms-plot-cutmix-mixup-py)' id: totrans-10 prefs: [] type: TYPE_NORMAL zh: '[如何使用CutMix和MixUp](transforms/plot_cutmix_mixup.html#sphx-glr-auto-examples-transforms-plot-cutmix-mixup-py)' - en: How to use CutMix and MixUp![](../Images/6ea7323dd91268050bc3b112bfbe2137.png) id: totrans-11 prefs: [] type: TYPE_NORMAL zh: 如何使用CutMix和MixUp![](../Images/6ea7323dd91268050bc3b112bfbe2137.png) - en: '[How to write your own v2 transforms](transforms/plot_custom_transforms.html#sphx-glr-auto-examples-transforms-plot-custom-transforms-py)' id: totrans-12 prefs: [] type: TYPE_NORMAL zh: '[如何编写自己的v2变换](transforms/plot_custom_transforms.html#sphx-glr-auto-examples-transforms-plot-custom-transforms-py)' - en: How to write your own v2 transforms![](../Images/9936dd3731e6a31830b04978e4a36372.png) id: totrans-13 prefs: [] type: TYPE_NORMAL zh: 如何编写自己的v2变换![](../Images/9936dd3731e6a31830b04978e4a36372.png) - en: '[TVTensors FAQ](transforms/plot_tv_tensors.html#sphx-glr-auto-examples-transforms-plot-tv-tensors-py)' id: totrans-14 prefs: [] type: TYPE_NORMAL zh: '[TVTensors常见问题](transforms/plot_tv_tensors.html#sphx-glr-auto-examples-transforms-plot-tv-tensors-py)' - en: TVTensors FAQ![](../Images/b09b279e2189e74008bf1dd4792bb78d.png) id: totrans-15 prefs: [] type: TYPE_NORMAL zh: TVTensors常见问题![](../Images/b09b279e2189e74008bf1dd4792bb78d.png) - en: '[How to write your own TVTensor class](transforms/plot_custom_tv_tensors.html#sphx-glr-auto-examples-transforms-plot-custom-tv-tensors-py)' id: totrans-16 prefs: [] type: TYPE_NORMAL zh: '[如何编写自己的TVTensor类](transforms/plot_custom_tv_tensors.html#sphx-glr-auto-examples-transforms-plot-custom-tv-tensors-py)' - en: How to write your own TVTensor class id: totrans-17 prefs: [] type: TYPE_NORMAL zh: 如何编写自己的TVTensor类 - en: Others[](#others "Permalink to this heading") id: totrans-18 prefs: - PREF_H2 type: TYPE_NORMAL zh: 其他[](#others "跳转到此标题") - en: '![](../Images/1b48db70ec2a2bb8db51c1b168cd480e.png)' id: totrans-19 prefs: [] type: TYPE_IMG zh: '![](../Images/1b48db70ec2a2bb8db51c1b168cd480e.png)' - en: '[Optical Flow: Predicting movement with the RAFT model](others/plot_optical_flow.html#sphx-glr-auto-examples-others-plot-optical-flow-py)' id: totrans-20 prefs: [] type: TYPE_NORMAL zh: '[光流:使用RAFT模型预测运动](others/plot_optical_flow.html#sphx-glr-auto-examples-others-plot-optical-flow-py)' - en: 'Optical Flow: Predicting movement with the RAFT model![](../Images/ec115e54f428029e9c1723af4b728dd6.png)' id: totrans-21 prefs: [] type: TYPE_NORMAL zh: 光流:使用RAFT模型预测运动![](../Images/ec115e54f428029e9c1723af4b728dd6.png) - en: '[Repurposing masks into bounding boxes](others/plot_repurposing_annotations.html#sphx-glr-auto-examples-others-plot-repurposing-annotations-py)' id: totrans-22 prefs: [] type: TYPE_NORMAL zh: '[将掩模重新用于边界框](others/plot_repurposing_annotations.html#sphx-glr-auto-examples-others-plot-repurposing-annotations-py)' - en: Repurposing masks into bounding boxes![](../Images/0d750c2d96bfcb18567ee1fa6e199cb1.png) id: totrans-23 prefs: [] type: TYPE_NORMAL zh: 将掩模重新用于边界框![](../Images/0d750c2d96bfcb18567ee1fa6e199cb1.png) - en: '[Torchscript support](others/plot_scripted_tensor_transforms.html#sphx-glr-auto-examples-others-plot-scripted-tensor-transforms-py)' id: totrans-24 prefs: [] type: TYPE_NORMAL zh: '[Torchscript支持](others/plot_scripted_tensor_transforms.html#sphx-glr-auto-examples-others-plot-scripted-tensor-transforms-py)' - en: Torchscript support![](../Images/bd0d411b154c618ccf9261eaa1d9c426.png) id: totrans-25 prefs: [] type: TYPE_NORMAL zh: Torchscript支持![](../Images/bd0d411b154c618ccf9261eaa1d9c426.png) - en: '[Video API](others/plot_video_api.html#sphx-glr-auto-examples-others-plot-video-api-py)' id: totrans-26 prefs: [] type: TYPE_NORMAL zh: '[视频API](others/plot_video_api.html#sphx-glr-auto-examples-others-plot-video-api-py)' - en: Video API![](../Images/ce0e5a69fa7dc1e5ba1cf00c70fda84a.png) id: totrans-27 prefs: [] type: TYPE_NORMAL zh: 视频API![](../Images/ce0e5a69fa7dc1e5ba1cf00c70fda84a.png) - en: '[Visualization utilities](others/plot_visualization_utils.html#sphx-glr-auto-examples-others-plot-visualization-utils-py)' id: totrans-28 prefs: [] type: TYPE_NORMAL zh: '[可视化工具](others/plot_visualization_utils.html#sphx-glr-auto-examples-others-plot-visualization-utils-py)' - en: Visualization utilities id: totrans-29 prefs: [] type: TYPE_NORMAL zh: 可视化工具 - en: '[`Download all examples in Python source code: auto_examples_python.zip`](../_downloads/07fcc19ba03226cd3d83d4e40ec44385/auto_examples_python.zip)' id: totrans-30 prefs: [] type: TYPE_NORMAL zh: '[`下载所有Python源代码示例:auto_examples_python.zip`](../_downloads/07fcc19ba03226cd3d83d4e40ec44385/auto_examples_python.zip)' - en: '[`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip`](../_downloads/6f1e7a639e0699d6164445b55e6c116d/auto_examples_jupyter.zip)' id: totrans-31 prefs: [] type: TYPE_NORMAL zh: '[`下载所有Jupyter笔记本示例:auto_examples_jupyter.zip`](../_downloads/6f1e7a639e0699d6164445b55e6c116d/auto_examples_jupyter.zip)' - en: '[Gallery generated by Sphinx-Gallery](https://sphinx-gallery.github.io)' id: totrans-32 prefs: [] type: TYPE_NORMAL zh: '[Sphinx-Gallery生成的画廊](https://sphinx-gallery.github.io)'