Get started with PyTorch
- Windows
- Python 3.11
- GPU
pip install -r requirements.txt
Many code snippets are stored in src
, to run these codes, one can execute as below.
cd src
python 001.using_the_multipretrained_weight_api.py
- Tensor 基本操作1 unsqueeze, squeeze, softmax | PyTorch 深度学习实战
- Tensor 基本操作2 理解 tensor.max 操作,沿着给定的 dim 是什么意思 | PyTorch 深度学习实战
- Tensor 基本操作3 理解 shape, stride, storage, view,is_contiguous 和 reshape 操作 | PyTorch 深度学习实战
- Tensor 基本操作4 理解 indexing,加减乘除和 broadcasting 运算 | PyTorch 深度学习实战
- Tensor 基本操作5 device 管理,使用 GPU 设备 | PyTorch 深度学习实战