Skip to content

Commit 9551fe5

Browse files
authored
[Fix] Fix CI and Update lowest torch version (open-mmlab#2288)
1 parent 8c2d3fa commit 9551fe5

18 files changed

+157
-167
lines changed

.circleci/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
pip install -U numpy
6363
pip install git+https://github.com/open-mmlab/mmengine.git@main
6464
pip install -U openmim
65-
mim install 'mmcv >= 2.0.0rc1'
65+
mim install 'mmcv >= 2.0.0'
6666
pip install git+https://github.com/open-mmlab/[email protected]
6767
pip install -r requirements/tests.txt
6868
pip install -r requirements/albu.txt
@@ -111,7 +111,7 @@ jobs:
111111
docker exec mmpose pip install -U numpy
112112
docker exec mmpose pip install -e /mmengine
113113
docker exec mmpose pip install -U openmim
114-
docker exec mmpose mim install 'mmcv >= 2.0.0rc1'
114+
docker exec mmpose mim install 'mmcv >= 2.0.0'
115115
docker exec mmpose pip install -e /mmdetection
116116
docker exec mmpose pip install -r requirements/tests.txt
117117
docker exec mmpose pip install -r requirements/albu.txt
+93
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
name: "🐞 Bug report"
2+
description: "Create a report to help us reproduce and fix the bug"
3+
labels: bug
4+
title: "[Bug] "
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
## Note
11+
For general usage questions or idea discussions, please post it to our [**Forum**](https://github.com/open-mmlab/mmpose/discussions)
12+
Please fill in as **much** of the following form as you're able to. **The clearer the description, the shorter it will take to solve it.**
13+
14+
- type: checkboxes
15+
attributes:
16+
label: Prerequisite
17+
description: Please check the following items before creating a new issue.
18+
options:
19+
20+
- label: I have searched [Issues](https://github.com/open-mmlab/mmpose/issues) and [Discussions](https://github.com/open-mmlab/mmpose/discussions) but cannot get the expected help.
21+
required: true
22+
- label: The bug has not been fixed in the latest version(https://github.com/open-mmlab/mmpose).
23+
required: true
24+
25+
- type: textarea
26+
attributes:
27+
label: Environment
28+
description: |
29+
Please run following commands and and copy-paste it here:
30+
- `python -c "from mmpose.utils import collect_env; print(collect_env())"` to collect necessary environment information.
31+
- `pip list | grep mm` to collect repositories related to OpenMMLab.
32+
- \[Optional\] Other environment variables that may be related (such as `$PATH`, `$LD_LIBRARY_PATH`, `$PYTHONPATH`, etc.)
33+
validations:
34+
required: true
35+
36+
- type: textarea
37+
attributes:
38+
label: Reproduces the problem - code sample
39+
description: |
40+
Please provide a code sample that reproduces the problem you ran into. It can be a Colab link or just a code snippet.
41+
placeholder: |
42+
```python
43+
# Sample code to reproduce the problem
44+
```
45+
validations:
46+
required: true
47+
48+
- type: textarea
49+
attributes:
50+
label: Reproduces the problem - command or script
51+
description: |
52+
What command or script did you run?
53+
placeholder: |
54+
```shell
55+
The command or script you run.
56+
```
57+
validations:
58+
required: true
59+
60+
- type: textarea
61+
attributes:
62+
label: Reproduces the problem - error message
63+
description: |
64+
Please provide the error message or logs you got, with the full traceback.
65+
66+
Tip: You can attach screenshots or log files by dragging them into the text area..
67+
placeholder: |
68+
```
69+
The error message or logs you got, with the full traceback.
70+
```
71+
validations:
72+
required: true
73+
74+
- type: textarea
75+
attributes:
76+
label: Additional information
77+
description: |
78+
Tell us anything else you think we should know.
79+
80+
Tip: You can attach screenshots or log files by dragging them into the text area.
81+
placeholder: |
82+
1. What's your expected result?
83+
2. What dataset did you use?
84+
3. What do you think might be the reason?
85+
86+
- type: markdown
87+
attributes:
88+
value: |
89+
## Acknowledgement
90+
Thanks for taking the time to fill out this report.
91+
92+
If you have already identified the reason, we strongly appreciate you creating a new PR to fix it [**Here**](https://github.com/open-mmlab/mmpose/pulls)!
93+
Please refer to [**Contribution Guide**](https://mmpose.readthedocs.io/en/latest/contribution_guide.html) for contributing.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: 🚀 Feature request
2+
description: Suggest an idea for this project
3+
labels: feature-request
4+
title: "[Feature] "
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
## Note
11+
For general usage questions or idea discussions, please post it to our [**Forum**](https://github.com/open-mmlab/mmpose/discussions)
12+
13+
Please fill in as **much** of the following form as you're able to. **The clearer the description, the shorter it will take to solve it.**
14+
15+
- type: textarea
16+
attributes:
17+
label: What is the feature?
18+
description: Tell us more about the feature and how this feature can help.
19+
placeholder: |
20+
E.g., It is inconvenient when \[....\].
21+
validations:
22+
required: true
23+
24+
- type: textarea
25+
attributes:
26+
label: Any other context?
27+
description: |
28+
Have you considered any alternative solutions or features? If so, what are they? Also, feel free to add any other context or screenshots about the feature request here.
29+
30+
- type: markdown
31+
attributes:
32+
value: |
33+
## Acknowledgement
34+
Thanks for taking the time to fill out this report.
35+
36+
We strongly appreciate you creating a new PR to implement it [**Here**](https://github.com/open-mmlab/mmpose/pulls)!
37+
Please refer to [**Contribution Guide**](https://mmpose.readthedocs.io/en/latest/contribution_guide.html) for contributing.
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
---
21
name: General questions
32
about: Ask general questions to get help
43
title: ''
54
labels: ''
65
assignees: ''
7-
---

.github/ISSUE_TEMPLATE/bug-report.md

-96
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

-42
This file was deleted.

.github/workflows/merge_stage_test.yml

+7-9
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Install MMCV
4444
run: |
4545
pip install -U openmim
46-
mim install 'mmcv >= 2.0.0rc1'
46+
mim install 'mmcv >= 2.0.0'
4747
- name: Install MMDet
4848
run: |
4949
python -m pip install --upgrade pip setuptools wheel
@@ -67,12 +67,10 @@ jobs:
6767
strategy:
6868
matrix:
6969
python-version: [3.7]
70-
torch: [1.6.0, 1.7.1, 1.8.1, 1.9.1, 1.10.1, 1.11.0, 1.12.1, 1.13.0]
70+
torch: [1.8.0, 1.8.1, 1.9.1, 1.10.1, 1.11.0, 1.12.1, 1.13.0]
7171
include:
72-
- torch: 1.6.0
73-
torchvision: 0.7.0
74-
- torch: 1.7.1
75-
torchvision: 0.8.2
72+
- torch: 1.8.0
73+
torchvision: 0.9.0
7674
- torch: 1.8.1
7775
torchvision: 0.9.1
7876
- torch: 1.9.1
@@ -105,7 +103,7 @@ jobs:
105103
- name: Install MMCV
106104
run: |
107105
pip install -U openmim
108-
mim install 'mmcv >= 2.0.0rc1'
106+
mim install 'mmcv >= 2.0.0'
109107
- name: Install MMDet
110108
run: |
111109
python -m pip install --upgrade pip setuptools wheel
@@ -167,7 +165,7 @@ jobs:
167165
pip install -U numpy
168166
pip install git+https://github.com/open-mmlab/mmengine.git@main
169167
pip install -U openmim
170-
mim install 'mmcv >= 2.0.0rc1'
168+
mim install 'mmcv >= 2.0.0'
171169
pip install git+https://github.com/open-mmlab/[email protected]
172170
pip install -r requirements/tests.txt
173171
pip install -r requirements/runtime.txt
@@ -212,7 +210,7 @@ jobs:
212210
python -m pip install -U numpy
213211
python -m pip install git+https://github.com/open-mmlab/mmengine.git@main
214212
python -m pip install -U openmim
215-
mim install 'mmcv >= 2.0.0rc1'
213+
mim install 'mmcv >= 2.0.0'
216214
python -m pip install git+https://github.com/open-mmlab/[email protected]
217215
python -m pip install -r requirements/tests.txt
218216
python -m pip install -r requirements/runtime.txt

.github/workflows/pr_stage_test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
pip install -U numpy
4242
pip install git+https://github.com/open-mmlab/mmengine.git@main
4343
pip install -U openmim
44-
mim install 'mmcv >= 2.0.0rc1'
44+
mim install 'mmcv >= 2.0.0'
4545
pip install git+https://github.com/open-mmlab/[email protected]
4646
pip install -r requirements/tests.txt
4747
pip install -r requirements/runtime.txt
@@ -95,7 +95,7 @@ jobs:
9595
pip install -U numpy
9696
pip install git+https://github.com/open-mmlab/mmengine.git@main
9797
pip install -U openmim
98-
mim install 'mmcv >= 2.0.0rc1'
98+
mim install 'mmcv >= 2.0.0'
9999
pip install git+https://github.com/open-mmlab/[email protected]
100100
pip install -r requirements/tests.txt
101101
pip install -r requirements/runtime.txt
@@ -135,7 +135,7 @@ jobs:
135135
pip install -U numpy
136136
pip install git+https://github.com/open-mmlab/mmengine.git@main
137137
pip install -U openmim
138-
mim install 'mmcv >= 2.0.0rc1'
138+
mim install 'mmcv >= 2.0.0'
139139
pip install git+https://github.com/open-mmlab/[email protected]
140140
pip install -r requirements/tests.txt
141141
pip install -r requirements/runtime.txt
@@ -180,7 +180,7 @@ jobs:
180180
python -m pip install -U numpy
181181
python -m pip install git+https://github.com/open-mmlab/mmengine.git@main
182182
python -m pip install -U openmim
183-
mim install 'mmcv >= 2.0.0rc1'
183+
mim install 'mmcv >= 2.0.0'
184184
python -m pip install git+https://github.com/open-mmlab/[email protected]
185185
python -m pip install -r requirements/tests.txt
186186
python -m pip install -r requirements/albu.txt

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ English | [简体中文](README_CN.md)
6363
MMPose is an open-source toolbox for pose estimation based on PyTorch.
6464
It is a part of the [OpenMMLab project](https://github.com/open-mmlab).
6565

66-
The master branch works with **PyTorch 1.6+**.
66+
The master branch works with **PyTorch 1.8+**.
6767

6868
https://user-images.githubusercontent.com/15977946/124654387-0fd3c500-ded1-11eb-84f6-24eeddbf4d91.mp4
6969

0 commit comments

Comments
 (0)