目录

Application Examples

This contains the example applications and component definitions for TorchX. These components and apps can be launched by themselves or part of a pipeline.

See the Pipelines Examples for how to use the components in a pipeline.

Data Preprocessing Example

This is a simple TorchX app that downloads some data via HTTP, normalizes the images via torchvision and then reuploads it via fsspec.

This examples has two Python files: the app which actually does the preprocessing and the component definition which can be used with TorchX to launch the app.

Lightning + Classy Vision Trainer Example

This example consists of model training and interpretability apps that uses PyTorch Lightning and ClassyVision. The apps have shared logic so are split across several files.

You can see the different component definitions for the apps in the components file.

Gallery generated by Sphinx-Gallery

文档

访问 PyTorch 的全面开发人员文档

查看文档

教程

获取面向初学者和高级开发人员的深入教程

查看教程

资源

查找开发资源并解答您的问题

查看资源