Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ Otherwise, install torchvision from [torch repository](https://github.com/pytorc
git clone https://github.com/pytorch/vision -b ${version} --depth 1
cd vision && python setup.py install
```
the `version` depends on torch version, for example you have torch v2.5.0, `${version}` should be `0.20.0`.
the `version` depends on torch version, for example you have torch v2.5.0, `${version}` should be `v0.20.0`.

### torchaudio
Install torchaudio from [torch source](https://github.com/pytorch/audio):
```shell
git clone https://github.com/pytorch/audio.git -b release/${version} --depth 1
git clone https://github.com/pytorch/audio.git -b ${version} --depth 1
cd audio && python setup.py install
```
the `version` is same as the torch version.
Expand Down
4 changes: 2 additions & 2 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,14 @@ git clone https://github.com/pytorch/vision -b ${version} --depth 1
cd vision && python setup.py install
```

其中 `version` 取决于你使用的 torch 版本,例如当 torch 版本为 v2.5.0 时,`${version}` 应为 `0.20.0`。
其中 `version` 取决于你使用的 torch 版本,例如当 torch 版本为 v2.5.0 时,`${version}` 应为 `v0.20.0`。

### torchaudio

请从 [torch 官方 audio 仓库](https://github.com/pytorch/audio) 安装 torchaudio:

```shell
git clone https://github.com/pytorch/audio.git -b release/${version} --depth 1
git clone https://github.com/pytorch/audio.git -b ${version} --depth 1
cd audio && python setup.py install
```

Expand Down