Skip to content

Commit f2637ee

Browse files
authored
merge dev-1.x into main
2 parents c331b65 + 56c18a2 commit f2637ee

File tree

354 files changed

+27093
-4613
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

354 files changed

+27093
-4613
lines changed

.circleci/docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG PYTORCH="1.8.1"
2-
ARG CUDA="10.2"
3-
ARG CUDNN="7"
2+
ARG CUDA="11.1"
3+
ARG CUDNN="8"
44

55
FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel
66

.circleci/test.yml

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,14 @@ jobs:
6464
pip install git+ssh://[email protected]/open-mmlab/mmengine.git@main
6565
pip install -U openmim
6666
mim install 'mmcv >= 2.0.0'
67-
pip install git+ssh://[email protected]/open-mmlab/[email protected]
67+
pip install git+https://[email protected]/open-mmlab/[email protected]
6868
pip install git+https://github.com/open-mmlab/[email protected]
69+
pip install git+https://github.com/open-mmlab/[email protected]
6970
pip install -r requirements.txt
70-
- when:
71-
condition:
72-
equal: [ "1.13.0", << parameters.torch >> ]
73-
steps:
74-
- run: pip install timm
75-
- when:
76-
condition:
77-
equal: [ "1.6.0", << parameters.torch >> ]
78-
steps:
79-
- run: pip install timm==0.6.7
71+
- run:
72+
name: Install timm
73+
command: |
74+
pip install timm
8075
- when:
8176
condition:
8277
equal: [ "0.10.0", << parameters.torchvision >> ]
@@ -98,7 +93,7 @@ jobs:
9893
type: string
9994
cuda:
10095
type: enum
101-
enum: ["11.0"]
96+
enum: ["11.1"]
10297
cudnn:
10398
type: integer
10499
default: 8
@@ -129,6 +124,7 @@ jobs:
129124
docker exec mmaction pip install -U openmim
130125
docker exec mmaction mim install 'mmcv >= 2.0.0'
131126
docker exec mmaction pip install git+https://[email protected]/open-mmlab/[email protected]
127+
docker exec mmaction pip install git+https://[email protected]/open-mmlab/[email protected]
132128
docker exec mmaction pip install git+https://github.com/open-mmlab/[email protected]
133129
docker exec mmaction pip install -r requirements.txt
134130
- run:
@@ -141,7 +137,6 @@ jobs:
141137
docker exec mmaction pytest tests/
142138
workflows:
143139
pr_stage_lint:
144-
when: << pipeline.parameters.lint_only >>
145140
jobs:
146141
- lint:
147142
name: lint
@@ -164,8 +159,8 @@ workflows:
164159
- main
165160
- build_cpu:
166161
name: minimum_version_cpu
167-
torch: 1.6.0
168-
torchvision: 0.7.0
162+
torch: 1.8.1
163+
torchvision: 0.9.1
169164
python: 3.7.4
170165
requires:
171166
- lint
@@ -185,7 +180,7 @@ workflows:
185180
torch: 1.8.1
186181
# Use double quotation mark to explicitly specify its type
187182
# as string instead of number
188-
cuda: "11.0"
183+
cuda: "11.1"
189184
requires:
190185
- hold
191186
merge_stage_test:
@@ -195,10 +190,10 @@ workflows:
195190
jobs:
196191
- build_cuda:
197192
name: minimum_version_gpu
198-
torch: 1.7.1
193+
torch: 1.8.1
199194
# Use double quotation mark to explicitly specify its type
200195
# as string instead of number
201-
cuda: "11.0"
196+
cuda: "11.1"
202197
filters:
203198
branches:
204199
only:

.github/workflows/merge_stage_test.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ jobs:
6060
run: pip install git+https://github.com/open-mmlab/[email protected]
6161
- name: Install MMCls
6262
run: pip install git+https://github.com/open-mmlab/[email protected]
63+
- name: Install MMPose
64+
run: pip install git+https://github.com/open-mmlab/[email protected]
6365
- name: Install PytorchVideo
6466
run: pip install pytorchvideo
6567
if: ${{matrix.torchvision == '0.10.0'}}
@@ -78,12 +80,8 @@ jobs:
7880
strategy:
7981
matrix:
8082
python-version: [3.7]
81-
torch: [1.6.0, 1.7.1, 1.8.1, 1.9.1, 1.10.1, 1.11.0, 1.12.1]
83+
torch: [1.8.1, 1.9.1, 1.10.1, 1.11.0, 1.12.1]
8284
include:
83-
- torch: 1.6.0
84-
torchvision: 0.7.0
85-
- torch: 1.7.1
86-
torchvision: 0.8.2
8785
- torch: 1.8.1
8886
torchvision: 0.9.1
8987
- torch: 1.9.1
@@ -108,12 +106,8 @@ jobs:
108106
run: pip install librosa soundfile
109107
- name: Install lmdb
110108
run: pip install lmdb
111-
- name: Install timm
112-
run: pip install timm==0.6.7
113-
if: ${{matrix.torch == '1.6.0'}}
114109
- name: Install timm
115110
run: pip install timm
116-
if: ${{matrix.torch != '1.6.0'}}
117111
- name: Install TurboJpeg lib
118112
run: sudo apt-get install -y libturbojpeg
119113
- name: Install PyTorch
@@ -128,6 +122,8 @@ jobs:
128122
run: pip install git+https://github.com/open-mmlab/[email protected]
129123
- name: Install MMCls
130124
run: pip install git+https://github.com/open-mmlab/[email protected]
125+
- name: Install MMPose
126+
run: pip install git+https://github.com/open-mmlab/[email protected]
131127
- name: Install unittest dependencies
132128
run: pip install -r requirements.txt
133129
- name: Install PytorchVideo
@@ -190,6 +186,7 @@ jobs:
190186
mim install 'mmcv >= 2.0.0'
191187
pip install git+https://github.com/open-mmlab/[email protected]
192188
pip install git+https://github.com/open-mmlab/[email protected]
189+
pip install git+https://github.com/open-mmlab/[email protected]
193190
pip install -r requirements.txt
194191
- name: Install PytorchVideo
195192
run: pip install pytorchvideo
@@ -214,7 +211,10 @@ jobs:
214211
with:
215212
python-version: ${{ matrix.python }}
216213
- name: Upgrade pip
217-
run: pip install pip --upgrade
214+
run: |
215+
python -V
216+
python -m pip install pip --upgrade
217+
python -m pip install wheel
218218
- name: Install librosa and soundfile
219219
run: python -m pip install librosa soundfile
220220
- name: Install lmdb
@@ -228,14 +228,15 @@ jobs:
228228
mim install 'mmcv >= 2.0.0'
229229
pip install git+https://github.com/open-mmlab/[email protected]
230230
pip install git+https://github.com/open-mmlab/[email protected]
231+
pip install git+https://github.com/open-mmlab/[email protected]
231232
pip install -r requirements.txt
232233
- name: Install PytorchVideo
233234
run: python -m pip install pytorchvideo
234235
- name: Install timm
235236
run: python -m pip install timm
236237
- name: Build and install
237238
run: |
238-
pip install -e .
239+
pip install -e . -v
239240
- name: Run unittests and generate coverage report
240241
run: |
241242
pytest tests/

.github/workflows/pr_stage_test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
python-version: ${{ matrix.python-version }}
3232
- name: Upgrade pip
33-
run: pip install pip --upgrade && pip install wheel
33+
run: pip install pip --upgrade && pip install wheel
3434
- name: Install soundfile lib
3535
run: sudo apt-get install -y libsndfile1
3636
- name: Install librosa and soundfile
@@ -51,6 +51,8 @@ jobs:
5151
run: pip install git+https://github.com/open-mmlab/[email protected]
5252
- name: Install MMCls
5353
run: pip install git+https://github.com/open-mmlab/[email protected]
54+
- name: Install MMPose
55+
run: pip install git+https://github.com/open-mmlab/[email protected]
5456
- name: Install unittest dependencies
5557
run: pip install -r requirements.txt
5658
- name: Install PytorchVideo
@@ -95,7 +97,7 @@ jobs:
9597
with:
9698
python-version: ${{ matrix.python-version }}
9799
- name: Upgrade pip
98-
run: pip install pip --upgrade && pip install wheel
100+
run: pip install pip --upgrade && pip install wheel
99101
- name: Fetch GPG keys
100102
run: |
101103
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
@@ -117,6 +119,7 @@ jobs:
117119
mim install 'mmcv >= 2.0.0'
118120
pip install git+https://github.com/open-mmlab/[email protected]
119121
pip install git+https://github.com/open-mmlab/[email protected]
122+
pip install git+https://github.com/open-mmlab/[email protected]
120123
pip install -r requirements.txt
121124
- name: Install PytorchVideo
122125
run: pip install pytorchvideo
@@ -165,6 +168,7 @@ jobs:
165168
mim install 'mmcv >= 2.0.0'
166169
pip install git+https://github.com/open-mmlab/[email protected]
167170
pip install git+https://github.com/open-mmlab/[email protected]
171+
pip install git+https://github.com/open-mmlab/[email protected]
168172
pip install -r requirements.txt
169173
- name: Install PytorchVideo
170174
run: python -m pip install pytorchvideo

.gitignore

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,16 @@ instance/
6464
# Scrapy stuff:
6565
.scrapy
6666

67-
# Sphinx documentation
67+
# Auto generate documentation
6868
docs/*/_build/
69+
docs/*/model_zoo/
70+
docs/*/dataset_zoo/
71+
docs/*/_model_zoo.rst
72+
docs/*/modelzoo_statistics.md
73+
docs/*/datasetzoo_statistics.md
74+
docs/*/projectzoo.md
75+
docs/*/papers/
76+
docs/*/api/generated/
6977

7078
# PyBuilder
7179
target/
@@ -133,11 +141,11 @@ work_dirs/
133141
!tests/data/**/*.pth
134142

135143
# avoid soft links created by MIM
136-
mmaction/configs/*
137144
mmaction/tools/*
138145

139146
*.ipynb
140147

141148
# unignore ipython notebook files in demo
142149
!demo/*.ipynb
150+
!projects/stad_tutorial/*.ipynb
143151
mmaction/.mim

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ repos:
3434
rev: v2.1.0
3535
hooks:
3636
- id: codespell
37-
args: ["--skip", "*.ipynb", "-L", "Gool,tread,gool,mot"]
37+
args: ["--skip", "*.ipynb", "-L", "ECT,Gool,tread,gool,mot"]
3838
- repo: https://github.com/executablebooks/mdformat
3939
rev: 0.7.14
4040
hooks:

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: ubuntu-22.04
55
tools:
6-
python: "3.7"
6+
python: "3.9"
77

88
formats:
99
- epub

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
include mmaction/.mim/model-index.yml
2+
include mmaction/.mim/dataset-index.yml
23
recursive-include mmaction/.mim/configs *.py *.yml
34
recursive-include mmaction/.mim/tools *.sh *.py

0 commit comments

Comments
 (0)