Skip to content

Commit

Permalink
[Fix] vot-toolkit's disadaption to attributee0.1.6. (#418)
Browse files Browse the repository at this point in the history
* [Fix] vot-toolkit's disadaption to attributee0.1.6.

* fix the dependency version.

* fix the dependency version.

Co-authored-by: 方云浩 <PJLAB\[email protected]>
  • Loading branch information
Seerkfang and 方云浩 authored Feb 9, 2022
1 parent 5242826 commit ccaaab2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
- name: Install mmtrack dependencies
run: |
pip install git+https://github.com/votchallenge/toolkit.git
pip install attributee==0.1.5
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cpu/${{matrix.torch_version}}/index.html
pip install mmdet
pip install -r requirements.txt
Expand Down Expand Up @@ -109,6 +110,7 @@ jobs:
- name: Install mmtrack dependencies
run: |
python -m pip install git+https://github.com/votchallenge/toolkit.git
python -m pip install attributee==0.1.5
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/${{matrix.torch_version}}/index.html
python -m pip install mmdet
python -m pip install -r requirements.txt
Expand Down Expand Up @@ -175,6 +177,7 @@ jobs:
- name: Install mmtrack dependencies
run: |
python -m pip install git+https://github.com/votchallenge/toolkit.git
python -m pip install attributee==0.1.5
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/${{matrix.torch_version}}/index.html
python -m pip install mmdet
python -m pip install -r requirements.txt
Expand Down
10 changes: 10 additions & 0 deletions docs/en/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,16 @@ The compatible MMTracking, MMCV, and MMDetection versions are as below. Please i
pip install git+https://github.com/votchallenge/toolkit.git
```

Because vot-toolkit hasn't adapted to the newest version of attributee (0.1.6),
the version of this denpendency is limited.
```shell
pip install attributee==0.1.5
```
Detailed information of this disadaptation can be found at the following link:
"https://github.com/votchallenge/toolkit/issues/42#issuecomment-1033267539"
Note:
a. Following the above instructions, MMTracking is installed on `dev` mode
Expand Down
12 changes: 11 additions & 1 deletion docs/zh_cn/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

PyTorch 在 1.x.0 和 1.x.1 之间通常是兼容的,故 mmcv-full 只提供 1.x.0 的编译包。如果你的 PyTorch 版本是 1.x.1,你可以放心地安装在 1.x.0 版本编译的 mmcv-full。

```
```shell
# 我们可以忽略 PyTorch 的小版本号
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.10/index.html
```
Expand Down Expand Up @@ -109,6 +109,16 @@
pip install git+https://github.com/votchallenge/toolkit.git
```

因为vot-toolkit没有适配最新版本的attributee (0.1.6),
该依赖的版本会被限制。

```shell
pip install attributee==0.1.5
```

有关此不适配的具体信息可以在以下链接找到:
"https://github.com/votchallenge/toolkit/issues/42#issuecomment-1033267539"

注意:

(1) 按照上述说明,MMTracking 将以 `dev` 模式安装,因此在本地对代码做的任何修改都会生效,无需重新安装;
Expand Down

0 comments on commit ccaaab2

Please sign in to comment.