Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add inferencers #1969

Merged
merged 17 commits into from
Mar 2, 2023
432 changes: 91 additions & 341 deletions configs/_base_/datasets/300w.py

Large diffs are not rendered by default.

77 changes: 19 additions & 58 deletions configs/_base_/datasets/aflw.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,70 +13,31 @@
'team-bischof/lrs/downloads/aflw/',
),
keypoint_info={
0:
dict(name='kpt-0', id=0, color=[255, 255, 255], type='', swap='kpt-5'),
1:
dict(name='kpt-1', id=1, color=[255, 255, 255], type='', swap='kpt-4'),
2:
dict(name='kpt-2', id=2, color=[255, 255, 255], type='', swap='kpt-3'),
3:
dict(name='kpt-3', id=3, color=[255, 255, 255], type='', swap='kpt-2'),
4:
dict(name='kpt-4', id=4, color=[255, 255, 255], type='', swap='kpt-1'),
5:
dict(name='kpt-5', id=5, color=[255, 255, 255], type='', swap='kpt-0'),
6:
dict(
name='kpt-6', id=6, color=[255, 255, 255], type='', swap='kpt-11'),
7:
dict(
name='kpt-7', id=7, color=[255, 255, 255], type='', swap='kpt-10'),
8:
dict(name='kpt-8', id=8, color=[255, 255, 255], type='', swap='kpt-9'),
9:
dict(name='kpt-9', id=9, color=[255, 255, 255], type='', swap='kpt-8'),
0: dict(name='kpt-0', id=0, color=[255, 0, 0], type='', swap='kpt-5'),
1: dict(name='kpt-1', id=1, color=[255, 0, 0], type='', swap='kpt-4'),
2: dict(name='kpt-2', id=2, color=[255, 0, 0], type='', swap='kpt-3'),
3: dict(name='kpt-3', id=3, color=[255, 0, 0], type='', swap='kpt-2'),
4: dict(name='kpt-4', id=4, color=[255, 0, 0], type='', swap='kpt-1'),
5: dict(name='kpt-5', id=5, color=[255, 0, 0], type='', swap='kpt-0'),
6: dict(name='kpt-6', id=6, color=[255, 0, 0], type='', swap='kpt-11'),
7: dict(name='kpt-7', id=7, color=[255, 0, 0], type='', swap='kpt-10'),
8: dict(name='kpt-8', id=8, color=[255, 0, 0], type='', swap='kpt-9'),
9: dict(name='kpt-9', id=9, color=[255, 0, 0], type='', swap='kpt-8'),
10:
dict(
name='kpt-10', id=10, color=[255, 255, 255], type='',
swap='kpt-7'),
dict(name='kpt-10', id=10, color=[255, 0, 0], type='', swap='kpt-7'),
11:
dict(
name='kpt-11', id=11, color=[255, 255, 255], type='',
swap='kpt-6'),
dict(name='kpt-11', id=11, color=[255, 0, 0], type='', swap='kpt-6'),
12:
dict(
name='kpt-12',
id=12,
color=[255, 255, 255],
type='',
swap='kpt-14'),
13:
dict(name='kpt-13', id=13, color=[255, 255, 255], type='', swap=''),
dict(name='kpt-12', id=12, color=[255, 0, 0], type='', swap='kpt-14'),
13: dict(name='kpt-13', id=13, color=[255, 0, 0], type='', swap=''),
14:
dict(
name='kpt-14',
id=14,
color=[255, 255, 255],
type='',
swap='kpt-12'),
dict(name='kpt-14', id=14, color=[255, 0, 0], type='', swap='kpt-12'),
15:
dict(
name='kpt-15',
id=15,
color=[255, 255, 255],
type='',
swap='kpt-17'),
16:
dict(name='kpt-16', id=16, color=[255, 255, 255], type='', swap=''),
dict(name='kpt-15', id=15, color=[255, 0, 0], type='', swap='kpt-17'),
16: dict(name='kpt-16', id=16, color=[255, 0, 0], type='', swap=''),
17:
dict(
name='kpt-17',
id=17,
color=[255, 255, 255],
type='',
swap='kpt-15'),
18:
dict(name='kpt-18', id=18, color=[255, 255, 255], type='', swap='')
dict(name='kpt-17', id=17, color=[255, 0, 0], type='', swap='kpt-15'),
18: dict(name='kpt-18', id=18, color=[255, 0, 0], type='', swap='')
},
skeleton_info={},
joint_weights=[1.] * 19,
Expand Down
Loading