Skip to content

Commit e6a8e8a

Browse files
committed
upload code
1 parent fd3a0f0 commit e6a8e8a

File tree

1,270 files changed

+192035
-5
lines changed

Some content is hidden

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

1,270 files changed

+192035
-5
lines changed

.gitignore

+137
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
**/*.pyc
6+
7+
# C extensions
8+
*.so
9+
10+
# Distribution / packaging
11+
.Python
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
MANIFEST
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.coverage
43+
.coverage.*
44+
.cache
45+
nosetests.xml
46+
coverage.xml
47+
*.cover
48+
.hypothesis/
49+
.pytest_cache/
50+
51+
# Translations
52+
*.mo
53+
*.pot
54+
55+
# Django stuff:
56+
*.log
57+
local_settings.py
58+
db.sqlite3
59+
60+
# Flask stuff:
61+
instance/
62+
.webassets-cache
63+
64+
# Scrapy stuff:
65+
.scrapy
66+
67+
# Sphinx documentation
68+
docs/_build/
69+
docs_zh-CN/_build/
70+
71+
# PyBuilder
72+
target/
73+
74+
# Jupyter Notebook
75+
.ipynb_checkpoints
76+
77+
# pyenv
78+
.python-version
79+
80+
# celery beat schedule file
81+
celerybeat-schedule
82+
83+
# SageMath parsed files
84+
*.sage.py
85+
86+
# Environments
87+
.env
88+
.venv
89+
env/
90+
venv/
91+
ENV/
92+
env.bak/
93+
venv.bak/
94+
95+
# Spyder project settings
96+
.spyderproject
97+
.spyproject
98+
99+
# Rope project settings
100+
.ropeproject
101+
102+
# mkdocs documentation
103+
/site
104+
105+
# mypy
106+
.mypy_cache/
107+
108+
# custom
109+
mmpose/.mim
110+
/models
111+
/data
112+
.vscode
113+
.idea
114+
*.pkl
115+
*.pkl.json
116+
*.log.json
117+
*.npy
118+
work_dirs/
119+
docs/topics/
120+
docs/papers/**/*.md
121+
docs/datasets.md
122+
docs/modelzoo.md
123+
docs_zh-CN/topics/
124+
docs_zh-CN/papers/*.md
125+
docs_zh-CN/datasets.md
126+
docs_zh-CN/modelzoo.md
127+
128+
!tests/data/**/*.pkl
129+
!tests/data/**/*.pkl.json
130+
!tests/data/**/*.log.json
131+
!tests/data/**/*.pth
132+
!tests/data/**/*.npy
133+
134+
# Pytorch
135+
*.pth
136+
137+
*.DS_Store

.pre-commit-config.yaml

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
exclude: ^tests/data/
2+
repos:
3+
- repo: https://gitlab.com/pycqa/flake8
4+
rev: 3.8.3
5+
hooks:
6+
- id: flake8
7+
- repo: https://github.com/asottile/seed-isort-config
8+
rev: v2.2.0
9+
hooks:
10+
- id: seed-isort-config
11+
- repo: https://github.com/timothycrosley/isort
12+
rev: 4.3.21
13+
hooks:
14+
- id: isort
15+
- repo: https://github.com/pre-commit/mirrors-yapf
16+
rev: v0.30.0
17+
hooks:
18+
- id: yapf
19+
- repo: https://github.com/pre-commit/pre-commit-hooks
20+
rev: v3.1.0
21+
hooks:
22+
- id: trailing-whitespace
23+
- id: check-yaml
24+
- id: end-of-file-fixer
25+
- id: requirements-txt-fixer
26+
- id: double-quote-string-fixer
27+
- id: check-merge-conflict
28+
- id: fix-encoding-pragma
29+
args: ["--remove"]
30+
- id: mixed-line-ending
31+
args: ["--fix=lf"]
32+
- repo: https://github.com/jumanjihouse/pre-commit-hooks
33+
rev: 2.1.4
34+
hooks:
35+
- id: markdownlint
36+
args: [ "-r", "~MD002,~MD007,~MD013,~MD024,~MD029,~MD033,~MD034,~MD036,~MD041" ]
37+
- repo: https://github.com/myint/docformatter
38+
rev: v1.3.1
39+
hooks:
40+
- id: docformatter
41+
args: ["--in-place", "--wrap-descriptions", "79"]
42+
- repo: https://github.com/codespell-project/codespell
43+
rev: v2.1.0
44+
hooks:
45+
- id: codespell
46+
args: ["--skip", "*.ipynb", "-L", "mot"]
47+
- repo: local
48+
hooks:
49+
- id: update-model-index
50+
name: update-model-index
51+
description: Collect model information and update model-index.yml
52+
entry: .dev_scripts/github/update_model_index.py
53+
additional_dependencies: [mmcv]
54+
language: python
55+
files: ^configs/.*\.md$
56+
require_serial: true
57+
- id: update-copyright
58+
name: update-copyright
59+
description: Add OpenMMLab copyright header to files
60+
entry: .dev_scripts/github/update_copyright.py
61+
language: python
62+
files: ^(demo|docs|docs_zh-CN|mmpose|tests|tools|\.dev_scripts)/.*\.(py|c|cpp|cu|sh)$
63+
exclude: ^demo/mm(detection|tracking)_cfg/.*$

0 commit comments

Comments
 (0)