# PyTorch-examples **Repository Path**: NN-Studio/PyTorch-examples ## Basic Information - **Project Name**: PyTorch-examples - **Description**: 一些简单的入门用例 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-07 - **Last Updated**: 2026-01-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # [PyTorch-examples](https://github.com/NN-Studio/PyTorch-examples) 一些简单的入门用例 ## 如何使用? 首先,进行依赖安装: ``` pip3 install -r requirements.txt ``` > 如果一直安装失败,可以试试仅 CPU 版本(更小的安装包): `pip3 install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cpu` Python 3.9.12 安装好了以后,可以验证一下: ``` pip3 check.py ``` 然后运行具体的例子即可。 下面是例子清单: - [线性回归](./linear-regression) ## 版权 MIT License Copyright (c) [zxl20070701](https://zxl20070701.github.io/notebook/home.html) 走一步,再走一步