liyy201912 commited on
Commit
a85c463
Β·
1 Parent(s): a9ab68a

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes. Β  See raw diff
Files changed (50) hide show
  1. aagenerator.py +8 -4
  2. ckpts/checkpoint-388000/optimizer.bin +3 -0
  3. ckpts/checkpoint-388000/random_states_0.pkl +3 -0
  4. ckpts/checkpoint-388000/scheduler.bin +3 -0
  5. ckpts/checkpoint-388000/unet/config.json +76 -0
  6. ckpts/checkpoint-388000/unet/diffusion_pytorch_model.bin +3 -0
  7. ckpts/checkpoint-388000/unet_ema/config.json +83 -0
  8. ckpts/checkpoint-388000/unet_ema/diffusion_pytorch_model.bin +3 -0
  9. ckpts/checkpoint-91000/controlnet/config.json +60 -0
  10. ckpts/checkpoint-91000/controlnet/diffusion_pytorch_model.bin +3 -0
  11. ckpts/checkpoint-91000/optimizer.bin +3 -0
  12. ckpts/checkpoint-91000/random_states_0.pkl +3 -0
  13. ckpts/checkpoint-91000/scheduler.bin +3 -0
  14. mmpose/configs/_base_/datasets/300w.py +134 -0
  15. mmpose/configs/_base_/datasets/aflw.py +44 -0
  16. mmpose/configs/_base_/datasets/aic.py +140 -0
  17. mmpose/configs/_base_/datasets/animalpose.py +166 -0
  18. mmpose/configs/_base_/datasets/ap10k.py +142 -0
  19. mmpose/configs/_base_/datasets/atrw.py +144 -0
  20. mmpose/configs/_base_/datasets/campus.py +151 -0
  21. mmpose/configs/_base_/datasets/coco.py +181 -0
  22. mmpose/configs/_base_/datasets/coco_aic.py +205 -0
  23. mmpose/configs/_base_/datasets/coco_openpose.py +157 -0
  24. mmpose/configs/_base_/datasets/coco_wholebody.py +1154 -0
  25. mmpose/configs/_base_/datasets/coco_wholebody_face.py +154 -0
  26. mmpose/configs/_base_/datasets/coco_wholebody_hand.py +147 -0
  27. mmpose/configs/_base_/datasets/cofw.py +57 -0
  28. mmpose/configs/_base_/datasets/crowdpose.py +147 -0
  29. mmpose/configs/_base_/datasets/deepfashion2.py +2660 -0
  30. mmpose/configs/_base_/datasets/deepfashion_full.py +74 -0
  31. mmpose/configs/_base_/datasets/deepfashion_lower.py +46 -0
  32. mmpose/configs/_base_/datasets/deepfashion_upper.py +60 -0
  33. mmpose/configs/_base_/datasets/fly.py +237 -0
  34. mmpose/configs/_base_/datasets/freihand2d.py +144 -0
  35. mmpose/configs/_base_/datasets/h36m.py +152 -0
  36. mmpose/configs/_base_/datasets/halpe.py +1157 -0
  37. mmpose/configs/_base_/datasets/horse10.py +201 -0
  38. mmpose/configs/_base_/datasets/interhand2d.py +142 -0
  39. mmpose/configs/_base_/datasets/interhand3d.py +487 -0
  40. mmpose/configs/_base_/datasets/jhmdb.py +129 -0
  41. mmpose/configs/_base_/datasets/lapa.py +688 -0
  42. mmpose/configs/_base_/datasets/locust.py +263 -0
  43. mmpose/configs/_base_/datasets/macaque.py +183 -0
  44. mmpose/configs/_base_/datasets/mhp.py +156 -0
  45. mmpose/configs/_base_/datasets/mpi_inf_3dhp.py +132 -0
  46. mmpose/configs/_base_/datasets/mpii.py +155 -0
  47. mmpose/configs/_base_/datasets/mpii_trb.py +380 -0
  48. mmpose/configs/_base_/datasets/ochuman.py +181 -0
  49. mmpose/configs/_base_/datasets/onehand10k.py +142 -0
  50. mmpose/configs/_base_/datasets/panoptic_body3d.py +160 -0
aagenerator.py CHANGED
@@ -126,10 +126,14 @@ def parse_args():
126
  ################################### newly added args ###################################
127
  parser.add_argument("--ref_path", type=str, default="/data_laion/alvin/Dataset/evaluation/debug/42361.png")
128
  parser.add_argument("--prompt", type=str, default="A person riding skis down a snow covered slope.")
 
 
129
  parser.add_argument("--t2mn_path", type=str,
130
- default="/data_laion/alvin/sd4human/ckpts/a-ranstart-body-sdv20-v-nd-flaw-avg-copy1-glc-resume288k-512-ft1024/checkpoint-388000")
 
 
131
  parser.add_argument("--controlnet_model_name_or_path", type=str,
132
- default="/data_laion/alvin/sd4human/ckpts/ctrl-sdxl10-eps-glc-composer-bmn-sum-1024/checkpoint-91000")
133
  parser.add_argument('--step_num1', default=50, type=int)
134
  parser.add_argument('--step_num2', default=50, type=int)
135
  parser.add_argument('--size', default=2048, type=int)
@@ -717,8 +721,8 @@ class Generator:
717
  )
718
 
719
  self.body_inferencer = MMPoseInferencer(
720
- pose2d='/fsx_laion/alvin/mmpose/configs/body_2d_keypoint/topdown_heatmap/coco/td-hm_ViTPose-huge-simple_8xb64-210e_coco-256x192.py',
721
- pose2d_weights='/fsx_laion/alvin/pretrain/ViTPose/td-hm_ViTPose-huge-simple_8xb64-210e_coco-256x192-ffd48c05_20230314.pth',
722
  scope="mmpose"
723
  # det_model='/fsx_laion/alvin/mmpose/demo/mmdetection_cfg/faster_rcnn_r50_fpn_coco.py',
724
  # det_weights="/fsx_laion/alvin/pretrain/ViTPose/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth"
 
126
  ################################### newly added args ###################################
127
  parser.add_argument("--ref_path", type=str, default="/data_laion/alvin/Dataset/evaluation/debug/42361.png")
128
  parser.add_argument("--prompt", type=str, default="A person riding skis down a snow covered slope.")
129
+ # parser.add_argument("--t2mn_path", type=str,
130
+ # default="/data_laion/alvin/sd4human/ckpts/a-ranstart-body-sdv20-v-nd-flaw-avg-copy1-glc-resume288k-512-ft1024/checkpoint-388000")
131
  parser.add_argument("--t2mn_path", type=str,
132
+ default="./ckpts/checkpoint-388000")
133
+ # parser.add_argument("--controlnet_model_name_or_path", type=str,
134
+ # default="/data_laion/alvin/sd4human/ckpts/ctrl-sdxl10-eps-glc-composer-bmn-sum-1024/checkpoint-91000")
135
  parser.add_argument("--controlnet_model_name_or_path", type=str,
136
+ default=".ckpts/checkpoint-91000")
137
  parser.add_argument('--step_num1', default=50, type=int)
138
  parser.add_argument('--step_num2', default=50, type=int)
139
  parser.add_argument('--size', default=2048, type=int)
 
721
  )
722
 
723
  self.body_inferencer = MMPoseInferencer(
724
+ pose2d='./mmpose/configs/body_2d_keypoint/topdown_heatmap/coco/td-hm_ViTPose-huge-simple_8xb64-210e_coco-256x192.py',
725
+ pose2d_weights='./pretrain/td-hm_ViTPose-huge-simple_8xb64-210e_coco-256x192-ffd48c05_20230314.pth',
726
  scope="mmpose"
727
  # det_model='/fsx_laion/alvin/mmpose/demo/mmdetection_cfg/faster_rcnn_r50_fpn_coco.py',
728
  # det_weights="/fsx_laion/alvin/pretrain/ViTPose/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth"
ckpts/checkpoint-388000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf8f25e968c1a2a363da273d9ca7ee2d2d4d3d7b84a82a80c4764152795cfa21
3
+ size 7440199099
ckpts/checkpoint-388000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:054b28928bcd597ce093db874082bede1c8313c722b6ce54d8360549e68737a9
3
+ size 21795
ckpts/checkpoint-388000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c92acef4f084138c2708bb2f7fc53d9ad31be999ccf6cb61dc4f614bc370baf
3
+ size 563
ckpts/checkpoint-388000/unet/config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.19.0.dev0",
4
+ "_name_or_path": "/fsx_laion/alvin/sd4human/a-ranstart-body-sdv20-v-nd-flaw-avg-copy1-glc-resume282k-512/checkpoint-288000",
5
+ "act_fn": "silu",
6
+ "addition_embed_type": "time",
7
+ "addition_embed_type_num_heads": 64,
8
+ "addition_time_embed_dim": 256,
9
+ "attention_head_dim": [
10
+ 5,
11
+ 10,
12
+ 20,
13
+ 20
14
+ ],
15
+ "block_out_channels": [
16
+ 320,
17
+ 640,
18
+ 1280,
19
+ 1280
20
+ ],
21
+ "branch_num": 2,
22
+ "center_input_sample": false,
23
+ "class_embed_type": null,
24
+ "class_embeddings_concat": false,
25
+ "conv_in_kernel": 3,
26
+ "conv_out_kernel": 3,
27
+ "copy_first_n_block": 1,
28
+ "copy_last_n_block": 1,
29
+ "cross_attention_dim": 1024,
30
+ "cross_attention_norm": null,
31
+ "down_block_types": [
32
+ "CrossAttnDownBlock2D",
33
+ "CrossAttnDownBlock2D",
34
+ "CrossAttnDownBlock2D",
35
+ "DownBlock2D"
36
+ ],
37
+ "downsample_padding": 1,
38
+ "dual_cross_attention": false,
39
+ "encoder_hid_dim": null,
40
+ "encoder_hid_dim_type": null,
41
+ "flip_sin_to_cos": true,
42
+ "freq_shift": 0,
43
+ "fusion": "avg",
44
+ "in_channels": 8,
45
+ "layers_per_block": 2,
46
+ "mid_block_only_cross_attention": null,
47
+ "mid_block_scale_factor": 1,
48
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
49
+ "norm_eps": 1e-05,
50
+ "norm_num_groups": 32,
51
+ "num_attention_heads": null,
52
+ "num_class_embeds": null,
53
+ "off_wa": true,
54
+ "only_cross_attention": false,
55
+ "out_channels": 4,
56
+ "projection_class_embeddings_input_dim": null,
57
+ "resnet_out_scale_factor": 1.0,
58
+ "resnet_skip_time_act": false,
59
+ "resnet_time_scale_shift": "default",
60
+ "sample_size": 64,
61
+ "size_cond": true,
62
+ "time_cond_proj_dim": null,
63
+ "time_embedding_act_fn": null,
64
+ "time_embedding_dim": null,
65
+ "time_embedding_type": "positional",
66
+ "timestep_post_act": null,
67
+ "transformer_layers_per_block": 1,
68
+ "up_block_types": [
69
+ "UpBlock2D",
70
+ "CrossAttnUpBlock2D",
71
+ "CrossAttnUpBlock2D",
72
+ "CrossAttnUpBlock2D"
73
+ ],
74
+ "upcast_attention": false,
75
+ "use_linear_projection": true
76
+ }
ckpts/checkpoint-388000/unet/diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2a87ea43737713b524ec399a3b92f97e267829757c2286aeb1145d00d1d4c3d
3
+ size 3720102563
ckpts/checkpoint-388000/unet_ema/config.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.19.0.dev0",
4
+ "_name_or_path": "/home/suraj_huggingface_co/.cache/huggingface/diffusers/models--fusing--stable-diffusion-v2/snapshots/3282d2bdc378f4afd43edbbb90803779a5249116/unet",
5
+ "act_fn": "silu",
6
+ "addition_embed_type": "time",
7
+ "addition_embed_type_num_heads": 64,
8
+ "addition_time_embed_dim": 256,
9
+ "attention_head_dim": [
10
+ 5,
11
+ 10,
12
+ 20,
13
+ 20
14
+ ],
15
+ "block_out_channels": [
16
+ 320,
17
+ 640,
18
+ 1280,
19
+ 1280
20
+ ],
21
+ "branch_num": 2,
22
+ "center_input_sample": false,
23
+ "class_embed_type": null,
24
+ "class_embeddings_concat": false,
25
+ "conv_in_kernel": 3,
26
+ "conv_out_kernel": 3,
27
+ "copy_first_n_block": 1,
28
+ "copy_last_n_block": 1,
29
+ "cross_attention_dim": 1024,
30
+ "cross_attention_norm": null,
31
+ "decay": 0.9999,
32
+ "down_block_types": [
33
+ "CrossAttnDownBlock2D",
34
+ "CrossAttnDownBlock2D",
35
+ "CrossAttnDownBlock2D",
36
+ "DownBlock2D"
37
+ ],
38
+ "downsample_padding": 1,
39
+ "dual_cross_attention": false,
40
+ "encoder_hid_dim": null,
41
+ "encoder_hid_dim_type": null,
42
+ "flip_sin_to_cos": true,
43
+ "freq_shift": 0,
44
+ "fusion": "avg",
45
+ "in_channels": 8,
46
+ "inv_gamma": 1.0,
47
+ "layers_per_block": 2,
48
+ "mid_block_only_cross_attention": null,
49
+ "mid_block_scale_factor": 1,
50
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
51
+ "min_decay": 0.0,
52
+ "norm_eps": 1e-05,
53
+ "norm_num_groups": 32,
54
+ "num_attention_heads": null,
55
+ "num_class_embeds": null,
56
+ "off_wa": true,
57
+ "only_cross_attention": false,
58
+ "optimization_step": 100000,
59
+ "out_channels": 4,
60
+ "power": 0.6666666666666666,
61
+ "projection_class_embeddings_input_dim": null,
62
+ "resnet_out_scale_factor": 1.0,
63
+ "resnet_skip_time_act": false,
64
+ "resnet_time_scale_shift": "default",
65
+ "sample_size": 64,
66
+ "size_cond": true,
67
+ "time_cond_proj_dim": null,
68
+ "time_embedding_act_fn": null,
69
+ "time_embedding_dim": null,
70
+ "time_embedding_type": "positional",
71
+ "timestep_post_act": null,
72
+ "transformer_layers_per_block": 1,
73
+ "up_block_types": [
74
+ "UpBlock2D",
75
+ "CrossAttnUpBlock2D",
76
+ "CrossAttnUpBlock2D",
77
+ "CrossAttnUpBlock2D"
78
+ ],
79
+ "upcast_attention": false,
80
+ "update_after_step": 0,
81
+ "use_ema_warmup": false,
82
+ "use_linear_projection": true
83
+ }
ckpts/checkpoint-388000/unet_ema/diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb2d5bc8f8bd2cf1487f9cdbb955ba78e3fbb91570ea137710be142d2e11f55c
3
+ size 3720087523
ckpts/checkpoint-91000/controlnet/config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "ControlNetModel",
3
+ "_diffusers_version": "0.19.0.dev0",
4
+ "_name_or_path": "ctrl-sdxl10-eps-glc-composer-bmn-sum-1024/checkpoint-9000",
5
+ "act_fn": "silu",
6
+ "addition_embed_type": "text_time",
7
+ "addition_embed_type_num_heads": 64,
8
+ "addition_time_embed_dim": 256,
9
+ "attention_head_dim": [
10
+ 5,
11
+ 10,
12
+ 20
13
+ ],
14
+ "block_out_channels": [
15
+ 320,
16
+ 640,
17
+ 1280
18
+ ],
19
+ "class_embed_type": null,
20
+ "cond_num": 3,
21
+ "conditioning_channels": 3,
22
+ "conditioning_embedding_out_channels": [
23
+ 16,
24
+ 32,
25
+ 96,
26
+ 256
27
+ ],
28
+ "controlnet_conditioning_channel_order": "rgb",
29
+ "cross_attention_dim": 2048,
30
+ "down_block_types": [
31
+ "DownBlock2D",
32
+ "CrossAttnDownBlock2D",
33
+ "CrossAttnDownBlock2D"
34
+ ],
35
+ "downsample_padding": 1,
36
+ "encoder_hid_dim": null,
37
+ "encoder_hid_dim_type": null,
38
+ "flip_sin_to_cos": true,
39
+ "freq_shift": 0,
40
+ "fusion": "sum",
41
+ "global_pool_conditions": false,
42
+ "in_channels": 4,
43
+ "layers_per_block": 2,
44
+ "mid_block_scale_factor": 1,
45
+ "norm_eps": 1e-05,
46
+ "norm_num_groups": 32,
47
+ "normalize_to_0_1": true,
48
+ "num_attention_heads": null,
49
+ "num_class_embeds": null,
50
+ "only_cross_attention": false,
51
+ "projection_class_embeddings_input_dim": 2816,
52
+ "resnet_time_scale_shift": "default",
53
+ "transformer_layers_per_block": [
54
+ 1,
55
+ 2,
56
+ 10
57
+ ],
58
+ "upcast_attention": null,
59
+ "use_linear_projection": true
60
+ }
ckpts/checkpoint-91000/controlnet/diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f823a8a0f5bf7568d10450ea2b8c3423758f024ec6fed7a267f36a58eaef5015
3
+ size 5013143113
ckpts/checkpoint-91000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b18e068e83f582f440b7391fd5dab22acb9e1fa400f6014130d42edab42d4888
3
+ size 10026266209
ckpts/checkpoint-91000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b5e8ac6a3e6c740570fd852f0fbcd8783d0f8a9dc14fdf3a0b2d81c5432fc14
3
+ size 21795
ckpts/checkpoint-91000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d37caf0a25b77ffa731e73953cef4e9361e94796681e3c7506f2a0ec3b44538
3
+ size 563
mmpose/configs/_base_/datasets/300w.py ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='300w',
3
+ paper_info=dict(
4
+ author='Sagonas, Christos and Antonakos, Epameinondas '
5
+ 'and Tzimiropoulos, Georgios and Zafeiriou, Stefanos '
6
+ 'and Pantic, Maja',
7
+ title='300 faces in-the-wild challenge: '
8
+ 'Database and results',
9
+ container='Image and vision computing',
10
+ year='2016',
11
+ homepage='https://ibug.doc.ic.ac.uk/resources/300-W/',
12
+ ),
13
+ keypoint_info={
14
+ 0: dict(name='kpt-0', id=0, color=[255, 0, 0], type='', swap='kpt-16'),
15
+ 1: dict(name='kpt-1', id=1, color=[255, 0, 0], type='', swap='kpt-15'),
16
+ 2: dict(name='kpt-2', id=2, color=[255, 0, 0], type='', swap='kpt-14'),
17
+ 3: dict(name='kpt-3', id=3, color=[255, 0, 0], type='', swap='kpt-13'),
18
+ 4: dict(name='kpt-4', id=4, color=[255, 0, 0], type='', swap='kpt-12'),
19
+ 5: dict(name='kpt-5', id=5, color=[255, 0, 0], type='', swap='kpt-11'),
20
+ 6: dict(name='kpt-6', id=6, color=[255, 0, 0], type='', swap='kpt-10'),
21
+ 7: dict(name='kpt-7', id=7, color=[255, 0, 0], type='', swap='kpt-9'),
22
+ 8: dict(name='kpt-8', id=8, color=[255, 0, 0], type='', swap=''),
23
+ 9: dict(name='kpt-9', id=9, color=[255, 0, 0], type='', swap='kpt-7'),
24
+ 10:
25
+ dict(name='kpt-10', id=10, color=[255, 0, 0], type='', swap='kpt-6'),
26
+ 11:
27
+ dict(name='kpt-11', id=11, color=[255, 0, 0], type='', swap='kpt-5'),
28
+ 12:
29
+ dict(name='kpt-12', id=12, color=[255, 0, 0], type='', swap='kpt-4'),
30
+ 13:
31
+ dict(name='kpt-13', id=13, color=[255, 0, 0], type='', swap='kpt-3'),
32
+ 14:
33
+ dict(name='kpt-14', id=14, color=[255, 0, 0], type='', swap='kpt-2'),
34
+ 15:
35
+ dict(name='kpt-15', id=15, color=[255, 0, 0], type='', swap='kpt-1'),
36
+ 16:
37
+ dict(name='kpt-16', id=16, color=[255, 0, 0], type='', swap='kpt-0'),
38
+ 17:
39
+ dict(name='kpt-17', id=17, color=[255, 0, 0], type='', swap='kpt-26'),
40
+ 18:
41
+ dict(name='kpt-18', id=18, color=[255, 0, 0], type='', swap='kpt-25'),
42
+ 19:
43
+ dict(name='kpt-19', id=19, color=[255, 0, 0], type='', swap='kpt-24'),
44
+ 20:
45
+ dict(name='kpt-20', id=20, color=[255, 0, 0], type='', swap='kpt-23'),
46
+ 21:
47
+ dict(name='kpt-21', id=21, color=[255, 0, 0], type='', swap='kpt-22'),
48
+ 22:
49
+ dict(name='kpt-22', id=22, color=[255, 0, 0], type='', swap='kpt-21'),
50
+ 23:
51
+ dict(name='kpt-23', id=23, color=[255, 0, 0], type='', swap='kpt-20'),
52
+ 24:
53
+ dict(name='kpt-24', id=24, color=[255, 0, 0], type='', swap='kpt-19'),
54
+ 25:
55
+ dict(name='kpt-25', id=25, color=[255, 0, 0], type='', swap='kpt-18'),
56
+ 26:
57
+ dict(name='kpt-26', id=26, color=[255, 0, 0], type='', swap='kpt-17'),
58
+ 27: dict(name='kpt-27', id=27, color=[255, 0, 0], type='', swap=''),
59
+ 28: dict(name='kpt-28', id=28, color=[255, 0, 0], type='', swap=''),
60
+ 29: dict(name='kpt-29', id=29, color=[255, 0, 0], type='', swap=''),
61
+ 30: dict(name='kpt-30', id=30, color=[255, 0, 0], type='', swap=''),
62
+ 31:
63
+ dict(name='kpt-31', id=31, color=[255, 0, 0], type='', swap='kpt-35'),
64
+ 32:
65
+ dict(name='kpt-32', id=32, color=[255, 0, 0], type='', swap='kpt-34'),
66
+ 33: dict(name='kpt-33', id=33, color=[255, 0, 0], type='', swap=''),
67
+ 34:
68
+ dict(name='kpt-34', id=34, color=[255, 0, 0], type='', swap='kpt-32'),
69
+ 35:
70
+ dict(name='kpt-35', id=35, color=[255, 0, 0], type='', swap='kpt-31'),
71
+ 36:
72
+ dict(name='kpt-36', id=36, color=[255, 0, 0], type='', swap='kpt-45'),
73
+ 37:
74
+ dict(name='kpt-37', id=37, color=[255, 0, 0], type='', swap='kpt-44'),
75
+ 38:
76
+ dict(name='kpt-38', id=38, color=[255, 0, 0], type='', swap='kpt-43'),
77
+ 39:
78
+ dict(name='kpt-39', id=39, color=[255, 0, 0], type='', swap='kpt-42'),
79
+ 40:
80
+ dict(name='kpt-40', id=40, color=[255, 0, 0], type='', swap='kpt-47'),
81
+ 41: dict(
82
+ name='kpt-41', id=41, color=[255, 0, 0], type='', swap='kpt-46'),
83
+ 42: dict(
84
+ name='kpt-42', id=42, color=[255, 0, 0], type='', swap='kpt-39'),
85
+ 43: dict(
86
+ name='kpt-43', id=43, color=[255, 0, 0], type='', swap='kpt-38'),
87
+ 44: dict(
88
+ name='kpt-44', id=44, color=[255, 0, 0], type='', swap='kpt-37'),
89
+ 45: dict(
90
+ name='kpt-45', id=45, color=[255, 0, 0], type='', swap='kpt-36'),
91
+ 46: dict(
92
+ name='kpt-46', id=46, color=[255, 0, 0], type='', swap='kpt-41'),
93
+ 47: dict(
94
+ name='kpt-47', id=47, color=[255, 0, 0], type='', swap='kpt-40'),
95
+ 48: dict(
96
+ name='kpt-48', id=48, color=[255, 0, 0], type='', swap='kpt-54'),
97
+ 49: dict(
98
+ name='kpt-49', id=49, color=[255, 0, 0], type='', swap='kpt-53'),
99
+ 50: dict(
100
+ name='kpt-50', id=50, color=[255, 0, 0], type='', swap='kpt-52'),
101
+ 51: dict(name='kpt-51', id=51, color=[255, 0, 0], type='', swap=''),
102
+ 52: dict(
103
+ name='kpt-52', id=52, color=[255, 0, 0], type='', swap='kpt-50'),
104
+ 53: dict(
105
+ name='kpt-53', id=53, color=[255, 0, 0], type='', swap='kpt-49'),
106
+ 54: dict(
107
+ name='kpt-54', id=54, color=[255, 0, 0], type='', swap='kpt-48'),
108
+ 55: dict(
109
+ name='kpt-55', id=55, color=[255, 0, 0], type='', swap='kpt-59'),
110
+ 56: dict(
111
+ name='kpt-56', id=56, color=[255, 0, 0], type='', swap='kpt-58'),
112
+ 57: dict(name='kpt-57', id=57, color=[255, 0, 0], type='', swap=''),
113
+ 58: dict(
114
+ name='kpt-58', id=58, color=[255, 0, 0], type='', swap='kpt-56'),
115
+ 59: dict(
116
+ name='kpt-59', id=59, color=[255, 0, 0], type='', swap='kpt-55'),
117
+ 60: dict(
118
+ name='kpt-60', id=60, color=[255, 0, 0], type='', swap='kpt-64'),
119
+ 61: dict(
120
+ name='kpt-61', id=61, color=[255, 0, 0], type='', swap='kpt-63'),
121
+ 62: dict(name='kpt-62', id=62, color=[255, 0, 0], type='', swap=''),
122
+ 63: dict(
123
+ name='kpt-63', id=63, color=[255, 0, 0], type='', swap='kpt-61'),
124
+ 64: dict(
125
+ name='kpt-64', id=64, color=[255, 0, 0], type='', swap='kpt-60'),
126
+ 65: dict(
127
+ name='kpt-65', id=65, color=[255, 0, 0], type='', swap='kpt-67'),
128
+ 66: dict(name='kpt-66', id=66, color=[255, 0, 0], type='', swap=''),
129
+ 67: dict(
130
+ name='kpt-67', id=67, color=[255, 0, 0], type='', swap='kpt-65'),
131
+ },
132
+ skeleton_info={},
133
+ joint_weights=[1.] * 68,
134
+ sigmas=[])
mmpose/configs/_base_/datasets/aflw.py ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='aflw',
3
+ paper_info=dict(
4
+ author='Koestinger, Martin and Wohlhart, Paul and '
5
+ 'Roth, Peter M and Bischof, Horst',
6
+ title='Annotated facial landmarks in the wild: '
7
+ 'A large-scale, real-world database for facial '
8
+ 'landmark localization',
9
+ container='2011 IEEE international conference on computer '
10
+ 'vision workshops (ICCV workshops)',
11
+ year='2011',
12
+ homepage='https://www.tugraz.at/institute/icg/research/'
13
+ 'team-bischof/lrs/downloads/aflw/',
14
+ ),
15
+ keypoint_info={
16
+ 0: dict(name='kpt-0', id=0, color=[255, 0, 0], type='', swap='kpt-5'),
17
+ 1: dict(name='kpt-1', id=1, color=[255, 0, 0], type='', swap='kpt-4'),
18
+ 2: dict(name='kpt-2', id=2, color=[255, 0, 0], type='', swap='kpt-3'),
19
+ 3: dict(name='kpt-3', id=3, color=[255, 0, 0], type='', swap='kpt-2'),
20
+ 4: dict(name='kpt-4', id=4, color=[255, 0, 0], type='', swap='kpt-1'),
21
+ 5: dict(name='kpt-5', id=5, color=[255, 0, 0], type='', swap='kpt-0'),
22
+ 6: dict(name='kpt-6', id=6, color=[255, 0, 0], type='', swap='kpt-11'),
23
+ 7: dict(name='kpt-7', id=7, color=[255, 0, 0], type='', swap='kpt-10'),
24
+ 8: dict(name='kpt-8', id=8, color=[255, 0, 0], type='', swap='kpt-9'),
25
+ 9: dict(name='kpt-9', id=9, color=[255, 0, 0], type='', swap='kpt-8'),
26
+ 10:
27
+ dict(name='kpt-10', id=10, color=[255, 0, 0], type='', swap='kpt-7'),
28
+ 11:
29
+ dict(name='kpt-11', id=11, color=[255, 0, 0], type='', swap='kpt-6'),
30
+ 12:
31
+ dict(name='kpt-12', id=12, color=[255, 0, 0], type='', swap='kpt-14'),
32
+ 13: dict(name='kpt-13', id=13, color=[255, 0, 0], type='', swap=''),
33
+ 14:
34
+ dict(name='kpt-14', id=14, color=[255, 0, 0], type='', swap='kpt-12'),
35
+ 15:
36
+ dict(name='kpt-15', id=15, color=[255, 0, 0], type='', swap='kpt-17'),
37
+ 16: dict(name='kpt-16', id=16, color=[255, 0, 0], type='', swap=''),
38
+ 17:
39
+ dict(name='kpt-17', id=17, color=[255, 0, 0], type='', swap='kpt-15'),
40
+ 18: dict(name='kpt-18', id=18, color=[255, 0, 0], type='', swap='')
41
+ },
42
+ skeleton_info={},
43
+ joint_weights=[1.] * 19,
44
+ sigmas=[])
mmpose/configs/_base_/datasets/aic.py ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='aic',
3
+ paper_info=dict(
4
+ author='Wu, Jiahong and Zheng, He and Zhao, Bo and '
5
+ 'Li, Yixin and Yan, Baoming and Liang, Rui and '
6
+ 'Wang, Wenjia and Zhou, Shipei and Lin, Guosen and '
7
+ 'Fu, Yanwei and others',
8
+ title='Ai challenger: A large-scale dataset for going '
9
+ 'deeper in image understanding',
10
+ container='arXiv',
11
+ year='2017',
12
+ homepage='https://github.com/AIChallenger/AI_Challenger_2017',
13
+ ),
14
+ keypoint_info={
15
+ 0:
16
+ dict(
17
+ name='right_shoulder',
18
+ id=0,
19
+ color=[255, 128, 0],
20
+ type='upper',
21
+ swap='left_shoulder'),
22
+ 1:
23
+ dict(
24
+ name='right_elbow',
25
+ id=1,
26
+ color=[255, 128, 0],
27
+ type='upper',
28
+ swap='left_elbow'),
29
+ 2:
30
+ dict(
31
+ name='right_wrist',
32
+ id=2,
33
+ color=[255, 128, 0],
34
+ type='upper',
35
+ swap='left_wrist'),
36
+ 3:
37
+ dict(
38
+ name='left_shoulder',
39
+ id=3,
40
+ color=[0, 255, 0],
41
+ type='upper',
42
+ swap='right_shoulder'),
43
+ 4:
44
+ dict(
45
+ name='left_elbow',
46
+ id=4,
47
+ color=[0, 255, 0],
48
+ type='upper',
49
+ swap='right_elbow'),
50
+ 5:
51
+ dict(
52
+ name='left_wrist',
53
+ id=5,
54
+ color=[0, 255, 0],
55
+ type='upper',
56
+ swap='right_wrist'),
57
+ 6:
58
+ dict(
59
+ name='right_hip',
60
+ id=6,
61
+ color=[255, 128, 0],
62
+ type='lower',
63
+ swap='left_hip'),
64
+ 7:
65
+ dict(
66
+ name='right_knee',
67
+ id=7,
68
+ color=[255, 128, 0],
69
+ type='lower',
70
+ swap='left_knee'),
71
+ 8:
72
+ dict(
73
+ name='right_ankle',
74
+ id=8,
75
+ color=[255, 128, 0],
76
+ type='lower',
77
+ swap='left_ankle'),
78
+ 9:
79
+ dict(
80
+ name='left_hip',
81
+ id=9,
82
+ color=[0, 255, 0],
83
+ type='lower',
84
+ swap='right_hip'),
85
+ 10:
86
+ dict(
87
+ name='left_knee',
88
+ id=10,
89
+ color=[0, 255, 0],
90
+ type='lower',
91
+ swap='right_knee'),
92
+ 11:
93
+ dict(
94
+ name='left_ankle',
95
+ id=11,
96
+ color=[0, 255, 0],
97
+ type='lower',
98
+ swap='right_ankle'),
99
+ 12:
100
+ dict(
101
+ name='head_top',
102
+ id=12,
103
+ color=[51, 153, 255],
104
+ type='upper',
105
+ swap=''),
106
+ 13:
107
+ dict(name='neck', id=13, color=[51, 153, 255], type='upper', swap='')
108
+ },
109
+ skeleton_info={
110
+ 0:
111
+ dict(link=('right_wrist', 'right_elbow'), id=0, color=[255, 128, 0]),
112
+ 1: dict(
113
+ link=('right_elbow', 'right_shoulder'), id=1, color=[255, 128, 0]),
114
+ 2: dict(link=('right_shoulder', 'neck'), id=2, color=[51, 153, 255]),
115
+ 3: dict(link=('neck', 'left_shoulder'), id=3, color=[51, 153, 255]),
116
+ 4: dict(link=('left_shoulder', 'left_elbow'), id=4, color=[0, 255, 0]),
117
+ 5: dict(link=('left_elbow', 'left_wrist'), id=5, color=[0, 255, 0]),
118
+ 6: dict(link=('right_ankle', 'right_knee'), id=6, color=[255, 128, 0]),
119
+ 7: dict(link=('right_knee', 'right_hip'), id=7, color=[255, 128, 0]),
120
+ 8: dict(link=('right_hip', 'left_hip'), id=8, color=[51, 153, 255]),
121
+ 9: dict(link=('left_hip', 'left_knee'), id=9, color=[0, 255, 0]),
122
+ 10: dict(link=('left_knee', 'left_ankle'), id=10, color=[0, 255, 0]),
123
+ 11: dict(link=('head_top', 'neck'), id=11, color=[51, 153, 255]),
124
+ 12: dict(
125
+ link=('right_shoulder', 'right_hip'), id=12, color=[51, 153, 255]),
126
+ 13:
127
+ dict(link=('left_shoulder', 'left_hip'), id=13, color=[51, 153, 255])
128
+ },
129
+ joint_weights=[
130
+ 1., 1.2, 1.5, 1., 1.2, 1.5, 1., 1.2, 1.5, 1., 1.2, 1.5, 1., 1.
131
+ ],
132
+
133
+ # 'https://github.com/AIChallenger/AI_Challenger_2017/blob/master/'
134
+ # 'Evaluation/keypoint_eval/keypoint_eval.py#L50'
135
+ # delta = 2 x sigma
136
+ sigmas=[
137
+ 0.01388152, 0.01515228, 0.01057665, 0.01417709, 0.01497891, 0.01402144,
138
+ 0.03909642, 0.03686941, 0.01981803, 0.03843971, 0.03412318, 0.02415081,
139
+ 0.01291456, 0.01236173
140
+ ])
mmpose/configs/_base_/datasets/animalpose.py ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='animalpose',
3
+ paper_info=dict(
4
+ author='Cao, Jinkun and Tang, Hongyang and Fang, Hao-Shu and '
5
+ 'Shen, Xiaoyong and Lu, Cewu and Tai, Yu-Wing',
6
+ title='Cross-Domain Adaptation for Animal Pose Estimation',
7
+ container='The IEEE International Conference on '
8
+ 'Computer Vision (ICCV)',
9
+ year='2019',
10
+ homepage='https://sites.google.com/view/animal-pose/',
11
+ ),
12
+ keypoint_info={
13
+ 0:
14
+ dict(
15
+ name='L_Eye', id=0, color=[0, 255, 0], type='upper', swap='R_Eye'),
16
+ 1:
17
+ dict(
18
+ name='R_Eye',
19
+ id=1,
20
+ color=[255, 128, 0],
21
+ type='upper',
22
+ swap='L_Eye'),
23
+ 2:
24
+ dict(
25
+ name='L_EarBase',
26
+ id=2,
27
+ color=[0, 255, 0],
28
+ type='upper',
29
+ swap='R_EarBase'),
30
+ 3:
31
+ dict(
32
+ name='R_EarBase',
33
+ id=3,
34
+ color=[255, 128, 0],
35
+ type='upper',
36
+ swap='L_EarBase'),
37
+ 4:
38
+ dict(name='Nose', id=4, color=[51, 153, 255], type='upper', swap=''),
39
+ 5:
40
+ dict(name='Throat', id=5, color=[51, 153, 255], type='upper', swap=''),
41
+ 6:
42
+ dict(
43
+ name='TailBase', id=6, color=[51, 153, 255], type='lower',
44
+ swap=''),
45
+ 7:
46
+ dict(
47
+ name='Withers', id=7, color=[51, 153, 255], type='upper', swap=''),
48
+ 8:
49
+ dict(
50
+ name='L_F_Elbow',
51
+ id=8,
52
+ color=[0, 255, 0],
53
+ type='upper',
54
+ swap='R_F_Elbow'),
55
+ 9:
56
+ dict(
57
+ name='R_F_Elbow',
58
+ id=9,
59
+ color=[255, 128, 0],
60
+ type='upper',
61
+ swap='L_F_Elbow'),
62
+ 10:
63
+ dict(
64
+ name='L_B_Elbow',
65
+ id=10,
66
+ color=[0, 255, 0],
67
+ type='lower',
68
+ swap='R_B_Elbow'),
69
+ 11:
70
+ dict(
71
+ name='R_B_Elbow',
72
+ id=11,
73
+ color=[255, 128, 0],
74
+ type='lower',
75
+ swap='L_B_Elbow'),
76
+ 12:
77
+ dict(
78
+ name='L_F_Knee',
79
+ id=12,
80
+ color=[0, 255, 0],
81
+ type='upper',
82
+ swap='R_F_Knee'),
83
+ 13:
84
+ dict(
85
+ name='R_F_Knee',
86
+ id=13,
87
+ color=[255, 128, 0],
88
+ type='upper',
89
+ swap='L_F_Knee'),
90
+ 14:
91
+ dict(
92
+ name='L_B_Knee',
93
+ id=14,
94
+ color=[0, 255, 0],
95
+ type='lower',
96
+ swap='R_B_Knee'),
97
+ 15:
98
+ dict(
99
+ name='R_B_Knee',
100
+ id=15,
101
+ color=[255, 128, 0],
102
+ type='lower',
103
+ swap='L_B_Knee'),
104
+ 16:
105
+ dict(
106
+ name='L_F_Paw',
107
+ id=16,
108
+ color=[0, 255, 0],
109
+ type='upper',
110
+ swap='R_F_Paw'),
111
+ 17:
112
+ dict(
113
+ name='R_F_Paw',
114
+ id=17,
115
+ color=[255, 128, 0],
116
+ type='upper',
117
+ swap='L_F_Paw'),
118
+ 18:
119
+ dict(
120
+ name='L_B_Paw',
121
+ id=18,
122
+ color=[0, 255, 0],
123
+ type='lower',
124
+ swap='R_B_Paw'),
125
+ 19:
126
+ dict(
127
+ name='R_B_Paw',
128
+ id=19,
129
+ color=[255, 128, 0],
130
+ type='lower',
131
+ swap='L_B_Paw')
132
+ },
133
+ skeleton_info={
134
+ 0: dict(link=('L_Eye', 'R_Eye'), id=0, color=[51, 153, 255]),
135
+ 1: dict(link=('L_Eye', 'L_EarBase'), id=1, color=[0, 255, 0]),
136
+ 2: dict(link=('R_Eye', 'R_EarBase'), id=2, color=[255, 128, 0]),
137
+ 3: dict(link=('L_Eye', 'Nose'), id=3, color=[0, 255, 0]),
138
+ 4: dict(link=('R_Eye', 'Nose'), id=4, color=[255, 128, 0]),
139
+ 5: dict(link=('Nose', 'Throat'), id=5, color=[51, 153, 255]),
140
+ 6: dict(link=('Throat', 'Withers'), id=6, color=[51, 153, 255]),
141
+ 7: dict(link=('TailBase', 'Withers'), id=7, color=[51, 153, 255]),
142
+ 8: dict(link=('Throat', 'L_F_Elbow'), id=8, color=[0, 255, 0]),
143
+ 9: dict(link=('L_F_Elbow', 'L_F_Knee'), id=9, color=[0, 255, 0]),
144
+ 10: dict(link=('L_F_Knee', 'L_F_Paw'), id=10, color=[0, 255, 0]),
145
+ 11: dict(link=('Throat', 'R_F_Elbow'), id=11, color=[255, 128, 0]),
146
+ 12: dict(link=('R_F_Elbow', 'R_F_Knee'), id=12, color=[255, 128, 0]),
147
+ 13: dict(link=('R_F_Knee', 'R_F_Paw'), id=13, color=[255, 128, 0]),
148
+ 14: dict(link=('TailBase', 'L_B_Elbow'), id=14, color=[0, 255, 0]),
149
+ 15: dict(link=('L_B_Elbow', 'L_B_Knee'), id=15, color=[0, 255, 0]),
150
+ 16: dict(link=('L_B_Knee', 'L_B_Paw'), id=16, color=[0, 255, 0]),
151
+ 17: dict(link=('TailBase', 'R_B_Elbow'), id=17, color=[255, 128, 0]),
152
+ 18: dict(link=('R_B_Elbow', 'R_B_Knee'), id=18, color=[255, 128, 0]),
153
+ 19: dict(link=('R_B_Knee', 'R_B_Paw'), id=19, color=[255, 128, 0])
154
+ },
155
+ joint_weights=[
156
+ 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.2, 1.2, 1.2, 1.2,
157
+ 1.5, 1.5, 1.5, 1.5
158
+ ],
159
+
160
+ # Note: The original paper did not provide enough information about
161
+ # the sigmas. We modified from 'https://github.com/cocodataset/'
162
+ # 'cocoapi/blob/master/PythonAPI/pycocotools/cocoeval.py#L523'
163
+ sigmas=[
164
+ 0.025, 0.025, 0.026, 0.035, 0.035, 0.10, 0.10, 0.10, 0.107, 0.107,
165
+ 0.107, 0.107, 0.087, 0.087, 0.087, 0.087, 0.089, 0.089, 0.089, 0.089
166
+ ])
mmpose/configs/_base_/datasets/ap10k.py ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='ap10k',
3
+ paper_info=dict(
4
+ author='Yu, Hang and Xu, Yufei and Zhang, Jing and '
5
+ 'Zhao, Wei and Guan, Ziyu and Tao, Dacheng',
6
+ title='AP-10K: A Benchmark for Animal Pose Estimation in the Wild',
7
+ container='35th Conference on Neural Information Processing Systems '
8
+ '(NeurIPS 2021) Track on Datasets and Bench-marks.',
9
+ year='2021',
10
+ homepage='https://github.com/AlexTheBad/AP-10K',
11
+ ),
12
+ keypoint_info={
13
+ 0:
14
+ dict(
15
+ name='L_Eye', id=0, color=[0, 255, 0], type='upper', swap='R_Eye'),
16
+ 1:
17
+ dict(
18
+ name='R_Eye',
19
+ id=1,
20
+ color=[255, 128, 0],
21
+ type='upper',
22
+ swap='L_Eye'),
23
+ 2:
24
+ dict(name='Nose', id=2, color=[51, 153, 255], type='upper', swap=''),
25
+ 3:
26
+ dict(name='Neck', id=3, color=[51, 153, 255], type='upper', swap=''),
27
+ 4:
28
+ dict(
29
+ name='Root of tail',
30
+ id=4,
31
+ color=[51, 153, 255],
32
+ type='lower',
33
+ swap=''),
34
+ 5:
35
+ dict(
36
+ name='L_Shoulder',
37
+ id=5,
38
+ color=[51, 153, 255],
39
+ type='upper',
40
+ swap='R_Shoulder'),
41
+ 6:
42
+ dict(
43
+ name='L_Elbow',
44
+ id=6,
45
+ color=[51, 153, 255],
46
+ type='upper',
47
+ swap='R_Elbow'),
48
+ 7:
49
+ dict(
50
+ name='L_F_Paw',
51
+ id=7,
52
+ color=[0, 255, 0],
53
+ type='upper',
54
+ swap='R_F_Paw'),
55
+ 8:
56
+ dict(
57
+ name='R_Shoulder',
58
+ id=8,
59
+ color=[0, 255, 0],
60
+ type='upper',
61
+ swap='L_Shoulder'),
62
+ 9:
63
+ dict(
64
+ name='R_Elbow',
65
+ id=9,
66
+ color=[255, 128, 0],
67
+ type='upper',
68
+ swap='L_Elbow'),
69
+ 10:
70
+ dict(
71
+ name='R_F_Paw',
72
+ id=10,
73
+ color=[0, 255, 0],
74
+ type='lower',
75
+ swap='L_F_Paw'),
76
+ 11:
77
+ dict(
78
+ name='L_Hip',
79
+ id=11,
80
+ color=[255, 128, 0],
81
+ type='lower',
82
+ swap='R_Hip'),
83
+ 12:
84
+ dict(
85
+ name='L_Knee',
86
+ id=12,
87
+ color=[255, 128, 0],
88
+ type='lower',
89
+ swap='R_Knee'),
90
+ 13:
91
+ dict(
92
+ name='L_B_Paw',
93
+ id=13,
94
+ color=[0, 255, 0],
95
+ type='lower',
96
+ swap='R_B_Paw'),
97
+ 14:
98
+ dict(
99
+ name='R_Hip', id=14, color=[0, 255, 0], type='lower',
100
+ swap='L_Hip'),
101
+ 15:
102
+ dict(
103
+ name='R_Knee',
104
+ id=15,
105
+ color=[0, 255, 0],
106
+ type='lower',
107
+ swap='L_Knee'),
108
+ 16:
109
+ dict(
110
+ name='R_B_Paw',
111
+ id=16,
112
+ color=[0, 255, 0],
113
+ type='lower',
114
+ swap='L_B_Paw'),
115
+ },
116
+ skeleton_info={
117
+ 0: dict(link=('L_Eye', 'R_Eye'), id=0, color=[0, 0, 255]),
118
+ 1: dict(link=('L_Eye', 'Nose'), id=1, color=[0, 0, 255]),
119
+ 2: dict(link=('R_Eye', 'Nose'), id=2, color=[0, 0, 255]),
120
+ 3: dict(link=('Nose', 'Neck'), id=3, color=[0, 255, 0]),
121
+ 4: dict(link=('Neck', 'Root of tail'), id=4, color=[0, 255, 0]),
122
+ 5: dict(link=('Neck', 'L_Shoulder'), id=5, color=[0, 255, 255]),
123
+ 6: dict(link=('L_Shoulder', 'L_Elbow'), id=6, color=[0, 255, 255]),
124
+ 7: dict(link=('L_Elbow', 'L_F_Paw'), id=6, color=[0, 255, 255]),
125
+ 8: dict(link=('Neck', 'R_Shoulder'), id=7, color=[6, 156, 250]),
126
+ 9: dict(link=('R_Shoulder', 'R_Elbow'), id=8, color=[6, 156, 250]),
127
+ 10: dict(link=('R_Elbow', 'R_F_Paw'), id=9, color=[6, 156, 250]),
128
+ 11: dict(link=('Root of tail', 'L_Hip'), id=10, color=[0, 255, 255]),
129
+ 12: dict(link=('L_Hip', 'L_Knee'), id=11, color=[0, 255, 255]),
130
+ 13: dict(link=('L_Knee', 'L_B_Paw'), id=12, color=[0, 255, 255]),
131
+ 14: dict(link=('Root of tail', 'R_Hip'), id=13, color=[6, 156, 250]),
132
+ 15: dict(link=('R_Hip', 'R_Knee'), id=14, color=[6, 156, 250]),
133
+ 16: dict(link=('R_Knee', 'R_B_Paw'), id=15, color=[6, 156, 250]),
134
+ },
135
+ joint_weights=[
136
+ 1., 1., 1., 1., 1., 1., 1., 1.2, 1.2, 1.5, 1.5, 1., 1., 1.2, 1.2, 1.5,
137
+ 1.5
138
+ ],
139
+ sigmas=[
140
+ 0.025, 0.025, 0.026, 0.035, 0.035, 0.079, 0.072, 0.062, 0.079, 0.072,
141
+ 0.062, 0.107, 0.087, 0.089, 0.107, 0.087, 0.089
142
+ ])
mmpose/configs/_base_/datasets/atrw.py ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='atrw',
3
+ paper_info=dict(
4
+ author='Li, Shuyuan and Li, Jianguo and Tang, Hanlin '
5
+ 'and Qian, Rui and Lin, Weiyao',
6
+ title='ATRW: A Benchmark for Amur Tiger '
7
+ 'Re-identification in the Wild',
8
+ container='Proceedings of the 28th ACM '
9
+ 'International Conference on Multimedia',
10
+ year='2020',
11
+ homepage='https://cvwc2019.github.io/challenge.html',
12
+ ),
13
+ keypoint_info={
14
+ 0:
15
+ dict(
16
+ name='left_ear',
17
+ id=0,
18
+ color=[51, 153, 255],
19
+ type='upper',
20
+ swap='right_ear'),
21
+ 1:
22
+ dict(
23
+ name='right_ear',
24
+ id=1,
25
+ color=[51, 153, 255],
26
+ type='upper',
27
+ swap='left_ear'),
28
+ 2:
29
+ dict(name='nose', id=2, color=[51, 153, 255], type='upper', swap=''),
30
+ 3:
31
+ dict(
32
+ name='right_shoulder',
33
+ id=3,
34
+ color=[255, 128, 0],
35
+ type='upper',
36
+ swap='left_shoulder'),
37
+ 4:
38
+ dict(
39
+ name='right_front_paw',
40
+ id=4,
41
+ color=[255, 128, 0],
42
+ type='upper',
43
+ swap='left_front_paw'),
44
+ 5:
45
+ dict(
46
+ name='left_shoulder',
47
+ id=5,
48
+ color=[0, 255, 0],
49
+ type='upper',
50
+ swap='right_shoulder'),
51
+ 6:
52
+ dict(
53
+ name='left_front_paw',
54
+ id=6,
55
+ color=[0, 255, 0],
56
+ type='upper',
57
+ swap='right_front_paw'),
58
+ 7:
59
+ dict(
60
+ name='right_hip',
61
+ id=7,
62
+ color=[255, 128, 0],
63
+ type='lower',
64
+ swap='left_hip'),
65
+ 8:
66
+ dict(
67
+ name='right_knee',
68
+ id=8,
69
+ color=[255, 128, 0],
70
+ type='lower',
71
+ swap='left_knee'),
72
+ 9:
73
+ dict(
74
+ name='right_back_paw',
75
+ id=9,
76
+ color=[255, 128, 0],
77
+ type='lower',
78
+ swap='left_back_paw'),
79
+ 10:
80
+ dict(
81
+ name='left_hip',
82
+ id=10,
83
+ color=[0, 255, 0],
84
+ type='lower',
85
+ swap='right_hip'),
86
+ 11:
87
+ dict(
88
+ name='left_knee',
89
+ id=11,
90
+ color=[0, 255, 0],
91
+ type='lower',
92
+ swap='right_knee'),
93
+ 12:
94
+ dict(
95
+ name='left_back_paw',
96
+ id=12,
97
+ color=[0, 255, 0],
98
+ type='lower',
99
+ swap='right_back_paw'),
100
+ 13:
101
+ dict(name='tail', id=13, color=[51, 153, 255], type='lower', swap=''),
102
+ 14:
103
+ dict(
104
+ name='center', id=14, color=[51, 153, 255], type='lower', swap=''),
105
+ },
106
+ skeleton_info={
107
+ 0:
108
+ dict(link=('left_ear', 'nose'), id=0, color=[51, 153, 255]),
109
+ 1:
110
+ dict(link=('right_ear', 'nose'), id=1, color=[51, 153, 255]),
111
+ 2:
112
+ dict(link=('nose', 'center'), id=2, color=[51, 153, 255]),
113
+ 3:
114
+ dict(
115
+ link=('left_shoulder', 'left_front_paw'), id=3, color=[0, 255, 0]),
116
+ 4:
117
+ dict(link=('left_shoulder', 'center'), id=4, color=[0, 255, 0]),
118
+ 5:
119
+ dict(
120
+ link=('right_shoulder', 'right_front_paw'),
121
+ id=5,
122
+ color=[255, 128, 0]),
123
+ 6:
124
+ dict(link=('right_shoulder', 'center'), id=6, color=[255, 128, 0]),
125
+ 7:
126
+ dict(link=('tail', 'center'), id=7, color=[51, 153, 255]),
127
+ 8:
128
+ dict(link=('right_back_paw', 'right_knee'), id=8, color=[255, 128, 0]),
129
+ 9:
130
+ dict(link=('right_knee', 'right_hip'), id=9, color=[255, 128, 0]),
131
+ 10:
132
+ dict(link=('right_hip', 'tail'), id=10, color=[255, 128, 0]),
133
+ 11:
134
+ dict(link=('left_back_paw', 'left_knee'), id=11, color=[0, 255, 0]),
135
+ 12:
136
+ dict(link=('left_knee', 'left_hip'), id=12, color=[0, 255, 0]),
137
+ 13:
138
+ dict(link=('left_hip', 'tail'), id=13, color=[0, 255, 0]),
139
+ },
140
+ joint_weights=[1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.],
141
+ sigmas=[
142
+ 0.0277, 0.0823, 0.0831, 0.0202, 0.0716, 0.0263, 0.0646, 0.0302, 0.0440,
143
+ 0.0316, 0.0333, 0.0547, 0.0263, 0.0683, 0.0539
144
+ ])
mmpose/configs/_base_/datasets/campus.py ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='campus',
3
+ paper_info=dict(
4
+ author='Belagiannis, Vasileios and Amin, Sikandar and Andriluka, '
5
+ 'Mykhaylo and Schiele, Bernt and Navab, Nassir and Ilic, Slobodan',
6
+ title='3D Pictorial Structures for Multiple Human Pose Estimation',
7
+ container='IEEE Computer Society Conference on Computer Vision and '
8
+ 'Pattern Recognition (CVPR)',
9
+ year='2014',
10
+ homepage='http://campar.in.tum.de/Chair/MultiHumanPose',
11
+ ),
12
+ keypoint_info={
13
+ 0:
14
+ dict(
15
+ name='right_ankle',
16
+ id=0,
17
+ color=[255, 128, 0],
18
+ type='lower',
19
+ swap='left_ankle'),
20
+ 1:
21
+ dict(
22
+ name='right_knee',
23
+ id=1,
24
+ color=[255, 128, 0],
25
+ type='lower',
26
+ swap='left_knee'),
27
+ 2:
28
+ dict(
29
+ name='right_hip',
30
+ id=2,
31
+ color=[255, 128, 0],
32
+ type='lower',
33
+ swap='left_hip'),
34
+ 3:
35
+ dict(
36
+ name='left_hip',
37
+ id=3,
38
+ color=[0, 255, 0],
39
+ type='lower',
40
+ swap='right_hip'),
41
+ 4:
42
+ dict(
43
+ name='left_knee',
44
+ id=4,
45
+ color=[0, 255, 0],
46
+ type='lower',
47
+ swap='right_knee'),
48
+ 5:
49
+ dict(
50
+ name='left_ankle',
51
+ id=5,
52
+ color=[0, 255, 0],
53
+ type='lower',
54
+ swap='right_ankle'),
55
+ 6:
56
+ dict(
57
+ name='right_wrist',
58
+ id=6,
59
+ color=[255, 128, 0],
60
+ type='upper',
61
+ swap='left_wrist'),
62
+ 7:
63
+ dict(
64
+ name='right_elbow',
65
+ id=7,
66
+ color=[255, 128, 0],
67
+ type='upper',
68
+ swap='left_elbow'),
69
+ 8:
70
+ dict(
71
+ name='right_shoulder',
72
+ id=8,
73
+ color=[255, 128, 0],
74
+ type='upper',
75
+ swap='left_shoulder'),
76
+ 9:
77
+ dict(
78
+ name='left_shoulder',
79
+ id=9,
80
+ color=[0, 255, 0],
81
+ type='upper',
82
+ swap='right_shoulder'),
83
+ 10:
84
+ dict(
85
+ name='left_elbow',
86
+ id=10,
87
+ color=[0, 255, 0],
88
+ type='upper',
89
+ swap='right_elbow'),
90
+ 11:
91
+ dict(
92
+ name='left_wrist',
93
+ id=11,
94
+ color=[0, 255, 0],
95
+ type='upper',
96
+ swap='right_wrist'),
97
+ 12:
98
+ dict(
99
+ name='bottom_head',
100
+ id=12,
101
+ color=[51, 153, 255],
102
+ type='upper',
103
+ swap=''),
104
+ 13:
105
+ dict(
106
+ name='top_head',
107
+ id=13,
108
+ color=[51, 153, 255],
109
+ type='upper',
110
+ swap=''),
111
+ },
112
+ skeleton_info={
113
+ 0:
114
+ dict(link=('right_ankle', 'right_knee'), id=0, color=[255, 128, 0]),
115
+ 1:
116
+ dict(link=('right_knee', 'right_hip'), id=1, color=[255, 128, 0]),
117
+ 2:
118
+ dict(link=('left_hip', 'left_knee'), id=2, color=[0, 255, 0]),
119
+ 3:
120
+ dict(link=('left_knee', 'left_ankle'), id=3, color=[0, 255, 0]),
121
+ 4:
122
+ dict(link=('right_hip', 'left_hip'), id=4, color=[51, 153, 255]),
123
+ 5:
124
+ dict(link=('right_wrist', 'right_elbow'), id=5, color=[255, 128, 0]),
125
+ 6:
126
+ dict(
127
+ link=('right_elbow', 'right_shoulder'), id=6, color=[255, 128, 0]),
128
+ 7:
129
+ dict(link=('left_shoulder', 'left_elbow'), id=7, color=[0, 255, 0]),
130
+ 8:
131
+ dict(link=('left_elbow', 'left_wrist'), id=8, color=[0, 255, 0]),
132
+ 9:
133
+ dict(link=('right_hip', 'right_shoulder'), id=9, color=[255, 128, 0]),
134
+ 10:
135
+ dict(link=('left_hip', 'left_shoulder'), id=10, color=[0, 255, 0]),
136
+ 11:
137
+ dict(
138
+ link=('right_shoulder', 'bottom_head'), id=11, color=[255, 128,
139
+ 0]),
140
+ 12:
141
+ dict(link=('left_shoulder', 'bottom_head'), id=12, color=[0, 255, 0]),
142
+ 13:
143
+ dict(link=('bottom_head', 'top_head'), id=13, color=[51, 153, 255]),
144
+ },
145
+ joint_weights=[
146
+ 1.5, 1.2, 1.0, 1.0, 1.2, 1.5, 1.5, 1.2, 1.0, 1.0, 1.2, 1.5, 1.0, 1.0
147
+ ],
148
+ sigmas=[
149
+ 0.089, 0.087, 0.107, 0.107, 0.087, 0.089, 0.062, 0.072, 0.079, 0.079,
150
+ 0.072, 0.062, 0.026, 0.026
151
+ ])
mmpose/configs/_base_/datasets/coco.py ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='coco',
3
+ paper_info=dict(
4
+ author='Lin, Tsung-Yi and Maire, Michael and '
5
+ 'Belongie, Serge and Hays, James and '
6
+ 'Perona, Pietro and Ramanan, Deva and '
7
+ r'Doll{\'a}r, Piotr and Zitnick, C Lawrence',
8
+ title='Microsoft coco: Common objects in context',
9
+ container='European conference on computer vision',
10
+ year='2014',
11
+ homepage='http://cocodataset.org/',
12
+ ),
13
+ keypoint_info={
14
+ 0:
15
+ dict(name='nose', id=0, color=[51, 153, 255], type='upper', swap=''),
16
+ 1:
17
+ dict(
18
+ name='left_eye',
19
+ id=1,
20
+ color=[51, 153, 255],
21
+ type='upper',
22
+ swap='right_eye'),
23
+ 2:
24
+ dict(
25
+ name='right_eye',
26
+ id=2,
27
+ color=[51, 153, 255],
28
+ type='upper',
29
+ swap='left_eye'),
30
+ 3:
31
+ dict(
32
+ name='left_ear',
33
+ id=3,
34
+ color=[51, 153, 255],
35
+ type='upper',
36
+ swap='right_ear'),
37
+ 4:
38
+ dict(
39
+ name='right_ear',
40
+ id=4,
41
+ color=[51, 153, 255],
42
+ type='upper',
43
+ swap='left_ear'),
44
+ 5:
45
+ dict(
46
+ name='left_shoulder',
47
+ id=5,
48
+ color=[0, 255, 0],
49
+ type='upper',
50
+ swap='right_shoulder'),
51
+ 6:
52
+ dict(
53
+ name='right_shoulder',
54
+ id=6,
55
+ color=[255, 128, 0],
56
+ type='upper',
57
+ swap='left_shoulder'),
58
+ 7:
59
+ dict(
60
+ name='left_elbow',
61
+ id=7,
62
+ color=[0, 255, 0],
63
+ type='upper',
64
+ swap='right_elbow'),
65
+ 8:
66
+ dict(
67
+ name='right_elbow',
68
+ id=8,
69
+ color=[255, 128, 0],
70
+ type='upper',
71
+ swap='left_elbow'),
72
+ 9:
73
+ dict(
74
+ name='left_wrist',
75
+ id=9,
76
+ color=[0, 255, 0],
77
+ type='upper',
78
+ swap='right_wrist'),
79
+ 10:
80
+ dict(
81
+ name='right_wrist',
82
+ id=10,
83
+ color=[255, 128, 0],
84
+ type='upper',
85
+ swap='left_wrist'),
86
+ 11:
87
+ dict(
88
+ name='left_hip',
89
+ id=11,
90
+ color=[0, 255, 0],
91
+ type='lower',
92
+ swap='right_hip'),
93
+ 12:
94
+ dict(
95
+ name='right_hip',
96
+ id=12,
97
+ color=[255, 128, 0],
98
+ type='lower',
99
+ swap='left_hip'),
100
+ 13:
101
+ dict(
102
+ name='left_knee',
103
+ id=13,
104
+ color=[0, 255, 0],
105
+ type='lower',
106
+ swap='right_knee'),
107
+ 14:
108
+ dict(
109
+ name='right_knee',
110
+ id=14,
111
+ color=[255, 128, 0],
112
+ type='lower',
113
+ swap='left_knee'),
114
+ 15:
115
+ dict(
116
+ name='left_ankle',
117
+ id=15,
118
+ color=[0, 255, 0],
119
+ type='lower',
120
+ swap='right_ankle'),
121
+ 16:
122
+ dict(
123
+ name='right_ankle',
124
+ id=16,
125
+ color=[255, 128, 0],
126
+ type='lower',
127
+ swap='left_ankle')
128
+ },
129
+ skeleton_info={
130
+ 0:
131
+ dict(link=('left_ankle', 'left_knee'), id=0, color=[0, 255, 0]),
132
+ 1:
133
+ dict(link=('left_knee', 'left_hip'), id=1, color=[0, 255, 0]),
134
+ 2:
135
+ dict(link=('right_ankle', 'right_knee'), id=2, color=[255, 128, 0]),
136
+ 3:
137
+ dict(link=('right_knee', 'right_hip'), id=3, color=[255, 128, 0]),
138
+ 4:
139
+ dict(link=('left_hip', 'right_hip'), id=4, color=[51, 153, 255]),
140
+ 5:
141
+ dict(link=('left_shoulder', 'left_hip'), id=5, color=[51, 153, 255]),
142
+ 6:
143
+ dict(link=('right_shoulder', 'right_hip'), id=6, color=[51, 153, 255]),
144
+ 7:
145
+ dict(
146
+ link=('left_shoulder', 'right_shoulder'),
147
+ id=7,
148
+ color=[51, 153, 255]),
149
+ 8:
150
+ dict(link=('left_shoulder', 'left_elbow'), id=8, color=[0, 255, 0]),
151
+ 9:
152
+ dict(
153
+ link=('right_shoulder', 'right_elbow'), id=9, color=[255, 128, 0]),
154
+ 10:
155
+ dict(link=('left_elbow', 'left_wrist'), id=10, color=[0, 255, 0]),
156
+ 11:
157
+ dict(link=('right_elbow', 'right_wrist'), id=11, color=[255, 128, 0]),
158
+ 12:
159
+ dict(link=('left_eye', 'right_eye'), id=12, color=[51, 153, 255]),
160
+ 13:
161
+ dict(link=('nose', 'left_eye'), id=13, color=[51, 153, 255]),
162
+ 14:
163
+ dict(link=('nose', 'right_eye'), id=14, color=[51, 153, 255]),
164
+ 15:
165
+ dict(link=('left_eye', 'left_ear'), id=15, color=[51, 153, 255]),
166
+ 16:
167
+ dict(link=('right_eye', 'right_ear'), id=16, color=[51, 153, 255]),
168
+ 17:
169
+ dict(link=('left_ear', 'left_shoulder'), id=17, color=[51, 153, 255]),
170
+ 18:
171
+ dict(
172
+ link=('right_ear', 'right_shoulder'), id=18, color=[51, 153, 255])
173
+ },
174
+ joint_weights=[
175
+ 1., 1., 1., 1., 1., 1., 1., 1.2, 1.2, 1.5, 1.5, 1., 1., 1.2, 1.2, 1.5,
176
+ 1.5
177
+ ],
178
+ sigmas=[
179
+ 0.026, 0.025, 0.025, 0.035, 0.035, 0.079, 0.079, 0.072, 0.072, 0.062,
180
+ 0.062, 0.107, 0.107, 0.087, 0.087, 0.089, 0.089
181
+ ])
mmpose/configs/_base_/datasets/coco_aic.py ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='coco',
3
+ paper_info=[
4
+ dict(
5
+ author='Lin, Tsung-Yi and Maire, Michael and '
6
+ 'Belongie, Serge and Hays, James and '
7
+ 'Perona, Pietro and Ramanan, Deva and '
8
+ r'Doll{\'a}r, Piotr and Zitnick, C Lawrence',
9
+ title='Microsoft coco: Common objects in context',
10
+ container='European conference on computer vision',
11
+ year='2014',
12
+ homepage='http://cocodataset.org/',
13
+ ),
14
+ dict(
15
+ author='Wu, Jiahong and Zheng, He and Zhao, Bo and '
16
+ 'Li, Yixin and Yan, Baoming and Liang, Rui and '
17
+ 'Wang, Wenjia and Zhou, Shipei and Lin, Guosen and '
18
+ 'Fu, Yanwei and others',
19
+ title='Ai challenger: A large-scale dataset for going '
20
+ 'deeper in image understanding',
21
+ container='arXiv',
22
+ year='2017',
23
+ homepage='https://github.com/AIChallenger/AI_Challenger_2017',
24
+ ),
25
+ ],
26
+ keypoint_info={
27
+ 0:
28
+ dict(name='nose', id=0, color=[51, 153, 255], type='upper', swap=''),
29
+ 1:
30
+ dict(
31
+ name='left_eye',
32
+ id=1,
33
+ color=[51, 153, 255],
34
+ type='upper',
35
+ swap='right_eye'),
36
+ 2:
37
+ dict(
38
+ name='right_eye',
39
+ id=2,
40
+ color=[51, 153, 255],
41
+ type='upper',
42
+ swap='left_eye'),
43
+ 3:
44
+ dict(
45
+ name='left_ear',
46
+ id=3,
47
+ color=[51, 153, 255],
48
+ type='upper',
49
+ swap='right_ear'),
50
+ 4:
51
+ dict(
52
+ name='right_ear',
53
+ id=4,
54
+ color=[51, 153, 255],
55
+ type='upper',
56
+ swap='left_ear'),
57
+ 5:
58
+ dict(
59
+ name='left_shoulder',
60
+ id=5,
61
+ color=[0, 255, 0],
62
+ type='upper',
63
+ swap='right_shoulder'),
64
+ 6:
65
+ dict(
66
+ name='right_shoulder',
67
+ id=6,
68
+ color=[255, 128, 0],
69
+ type='upper',
70
+ swap='left_shoulder'),
71
+ 7:
72
+ dict(
73
+ name='left_elbow',
74
+ id=7,
75
+ color=[0, 255, 0],
76
+ type='upper',
77
+ swap='right_elbow'),
78
+ 8:
79
+ dict(
80
+ name='right_elbow',
81
+ id=8,
82
+ color=[255, 128, 0],
83
+ type='upper',
84
+ swap='left_elbow'),
85
+ 9:
86
+ dict(
87
+ name='left_wrist',
88
+ id=9,
89
+ color=[0, 255, 0],
90
+ type='upper',
91
+ swap='right_wrist'),
92
+ 10:
93
+ dict(
94
+ name='right_wrist',
95
+ id=10,
96
+ color=[255, 128, 0],
97
+ type='upper',
98
+ swap='left_wrist'),
99
+ 11:
100
+ dict(
101
+ name='left_hip',
102
+ id=11,
103
+ color=[0, 255, 0],
104
+ type='lower',
105
+ swap='right_hip'),
106
+ 12:
107
+ dict(
108
+ name='right_hip',
109
+ id=12,
110
+ color=[255, 128, 0],
111
+ type='lower',
112
+ swap='left_hip'),
113
+ 13:
114
+ dict(
115
+ name='left_knee',
116
+ id=13,
117
+ color=[0, 255, 0],
118
+ type='lower',
119
+ swap='right_knee'),
120
+ 14:
121
+ dict(
122
+ name='right_knee',
123
+ id=14,
124
+ color=[255, 128, 0],
125
+ type='lower',
126
+ swap='left_knee'),
127
+ 15:
128
+ dict(
129
+ name='left_ankle',
130
+ id=15,
131
+ color=[0, 255, 0],
132
+ type='lower',
133
+ swap='right_ankle'),
134
+ 16:
135
+ dict(
136
+ name='right_ankle',
137
+ id=16,
138
+ color=[255, 128, 0],
139
+ type='lower',
140
+ swap='left_ankle'),
141
+ 17:
142
+ dict(
143
+ name='head_top',
144
+ id=17,
145
+ color=[51, 153, 255],
146
+ type='upper',
147
+ swap=''),
148
+ 18:
149
+ dict(name='neck', id=18, color=[51, 153, 255], type='upper', swap='')
150
+ },
151
+ skeleton_info={
152
+ 0:
153
+ dict(link=('left_ankle', 'left_knee'), id=0, color=[0, 255, 0]),
154
+ 1:
155
+ dict(link=('left_knee', 'left_hip'), id=1, color=[0, 255, 0]),
156
+ 2:
157
+ dict(link=('right_ankle', 'right_knee'), id=2, color=[255, 128, 0]),
158
+ 3:
159
+ dict(link=('right_knee', 'right_hip'), id=3, color=[255, 128, 0]),
160
+ 4:
161
+ dict(link=('left_hip', 'right_hip'), id=4, color=[51, 153, 255]),
162
+ 5:
163
+ dict(link=('left_shoulder', 'left_hip'), id=5, color=[51, 153, 255]),
164
+ 6:
165
+ dict(link=('right_shoulder', 'right_hip'), id=6, color=[51, 153, 255]),
166
+ 7:
167
+ dict(
168
+ link=('left_shoulder', 'right_shoulder'),
169
+ id=7,
170
+ color=[51, 153, 255]),
171
+ 8:
172
+ dict(link=('left_shoulder', 'left_elbow'), id=8, color=[0, 255, 0]),
173
+ 9:
174
+ dict(
175
+ link=('right_shoulder', 'right_elbow'), id=9, color=[255, 128, 0]),
176
+ 10:
177
+ dict(link=('left_elbow', 'left_wrist'), id=10, color=[0, 255, 0]),
178
+ 11:
179
+ dict(link=('right_elbow', 'right_wrist'), id=11, color=[255, 128, 0]),
180
+ 12:
181
+ dict(link=('left_eye', 'right_eye'), id=12, color=[51, 153, 255]),
182
+ 13:
183
+ dict(link=('nose', 'left_eye'), id=13, color=[51, 153, 255]),
184
+ 14:
185
+ dict(link=('nose', 'right_eye'), id=14, color=[51, 153, 255]),
186
+ 15:
187
+ dict(link=('left_eye', 'left_ear'), id=15, color=[51, 153, 255]),
188
+ 16:
189
+ dict(link=('right_eye', 'right_ear'), id=16, color=[51, 153, 255]),
190
+ 17:
191
+ dict(link=('left_ear', 'left_shoulder'), id=17, color=[51, 153, 255]),
192
+ 18:
193
+ dict(
194
+ link=('right_ear', 'right_shoulder'), id=18, color=[51, 153, 255]),
195
+ 19:
196
+ dict(link=('head_top', 'neck'), id=11, color=[51, 153, 255]),
197
+ },
198
+ joint_weights=[
199
+ 1., 1., 1., 1., 1., 1., 1., 1.2, 1.2, 1.5, 1.5, 1., 1., 1.2, 1.2, 1.5,
200
+ 1.5, 1.5
201
+ ],
202
+ sigmas=[
203
+ 0.026, 0.025, 0.025, 0.035, 0.035, 0.079, 0.079, 0.072, 0.072, 0.062,
204
+ 0.062, 0.107, 0.107, 0.087, 0.087, 0.089, 0.089, 0.026, 0.026
205
+ ])
mmpose/configs/_base_/datasets/coco_openpose.py ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='coco_openpose',
3
+ paper_info=dict(
4
+ author='Zhe, Cao and Tomas, Simon and '
5
+ 'Shih-En, Wei and Yaser, Sheikh',
6
+ title='OpenPose: Realtime Multi-Person 2D Pose '
7
+ 'Estimation using Part Affinity Fields',
8
+ container='IEEE Transactions on Pattern Analysis '
9
+ 'and Machine Intelligence',
10
+ year='2019',
11
+ homepage='https://github.com/CMU-Perceptual-Computing-Lab/openpose/',
12
+ ),
13
+ keypoint_info={
14
+ 0:
15
+ dict(name='nose', id=0, color=[255, 0, 85], type='upper', swap=''),
16
+ 1:
17
+ dict(name='neck', id=1, color=[255, 0, 0], type='upper', swap=''),
18
+ 2:
19
+ dict(
20
+ name='right_shoulder',
21
+ id=2,
22
+ color=[255, 85, 0],
23
+ type='upper',
24
+ swap='left_shoulder'),
25
+ 3:
26
+ dict(
27
+ name='right_elbow',
28
+ id=3,
29
+ color=[255, 170, 0],
30
+ type='upper',
31
+ swap='left_elbow'),
32
+ 4:
33
+ dict(
34
+ name='right_wrist',
35
+ id=4,
36
+ color=[255, 255, 0],
37
+ type='upper',
38
+ swap='left_wrist'),
39
+ 5:
40
+ dict(
41
+ name='left_shoulder',
42
+ id=5,
43
+ color=[170, 255, 0],
44
+ type='upper',
45
+ swap='right_shoulder'),
46
+ 6:
47
+ dict(
48
+ name='left_elbow',
49
+ id=6,
50
+ color=[85, 255, 0],
51
+ type='upper',
52
+ swap='right_elbow'),
53
+ 7:
54
+ dict(
55
+ name='left_wrist',
56
+ id=7,
57
+ color=[0, 255, 0],
58
+ type='upper',
59
+ swap='right_wrist'),
60
+ 8:
61
+ dict(
62
+ name='right_hip',
63
+ id=8,
64
+ color=[255, 0, 170],
65
+ type='lower',
66
+ swap='left_hip'),
67
+ 9:
68
+ dict(
69
+ name='right_knee',
70
+ id=9,
71
+ color=[255, 0, 255],
72
+ type='lower',
73
+ swap='left_knee'),
74
+ 10:
75
+ dict(
76
+ name='right_ankle',
77
+ id=10,
78
+ color=[170, 0, 255],
79
+ type='lower',
80
+ swap='left_ankle'),
81
+ 11:
82
+ dict(
83
+ name='left_hip',
84
+ id=11,
85
+ color=[85, 255, 0],
86
+ type='lower',
87
+ swap='right_hip'),
88
+ 12:
89
+ dict(
90
+ name='left_knee',
91
+ id=12,
92
+ color=[0, 0, 255],
93
+ type='lower',
94
+ swap='right_knee'),
95
+ 13:
96
+ dict(
97
+ name='left_ankle',
98
+ id=13,
99
+ color=[0, 85, 255],
100
+ type='lower',
101
+ swap='right_ankle'),
102
+ 14:
103
+ dict(
104
+ name='right_eye',
105
+ id=14,
106
+ color=[0, 255, 170],
107
+ type='upper',
108
+ swap='left_eye'),
109
+ 15:
110
+ dict(
111
+ name='left_eye',
112
+ id=15,
113
+ color=[0, 255, 255],
114
+ type='upper',
115
+ swap='right_eye'),
116
+ 16:
117
+ dict(
118
+ name='right_ear',
119
+ id=16,
120
+ color=[0, 170, 255],
121
+ type='upper',
122
+ swap='left_ear'),
123
+ 17:
124
+ dict(
125
+ name='left_ear',
126
+ id=17,
127
+ color=[0, 170, 255],
128
+ type='upper',
129
+ swap='right_ear'),
130
+ },
131
+ skeleton_info={
132
+ 0: dict(link=('neck', 'right_shoulder'), id=0, color=[255, 0, 85]),
133
+ 1: dict(link=('neck', 'left_shoulder'), id=1, color=[255, 0, 0]),
134
+ 2:
135
+ dict(link=('right_shoulder', 'right_elbow'), id=2, color=[255, 85, 0]),
136
+ 3:
137
+ dict(link=('right_elbow', 'right_wrist'), id=3, color=[255, 170, 0]),
138
+ 4:
139
+ dict(link=('left_shoulder', 'left_elbow'), id=4, color=[255, 255, 0]),
140
+ 5: dict(link=('left_elbow', 'left_wrist'), id=5, color=[170, 255, 0]),
141
+ 6: dict(link=('neck', 'right_hip'), id=6, color=[85, 255, 0]),
142
+ 7: dict(link=('right_hip', 'right_knee'), id=7, color=[0, 255, 0]),
143
+ 8: dict(link=('right_knee', 'right_ankle'), id=8, color=[0, 255, 85]),
144
+ 9: dict(link=('neck', 'left_hip'), id=9, color=[0, 255, 170]),
145
+ 10: dict(link=('left_hip', 'left_knee'), id=10, color=[0, 255, 225]),
146
+ 11: dict(link=('left_knee', 'left_ankle'), id=11, color=[0, 170, 255]),
147
+ 12: dict(link=('neck', 'nose'), id=12, color=[0, 85, 255]),
148
+ 13: dict(link=('nose', 'right_eye'), id=13, color=[0, 0, 255]),
149
+ 14: dict(link=('right_eye', 'right_ear'), id=14, color=[255, 0, 170]),
150
+ 15: dict(link=('nose', 'left_eye'), id=15, color=[170, 0, 255]),
151
+ 16: dict(link=('left_eye', 'left_ear'), id=16, color=[255, 0, 255]),
152
+ },
153
+ joint_weights=[1.] * 18,
154
+ sigmas=[
155
+ 0.026, 0.025, 0.025, 0.035, 0.035, 0.079, 0.079, 0.072, 0.072, 0.062,
156
+ 0.062, 0.107, 0.107, 0.087, 0.087, 0.089, 0.089, 0.082
157
+ ])
mmpose/configs/_base_/datasets/coco_wholebody.py ADDED
@@ -0,0 +1,1154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='coco_wholebody',
3
+ paper_info=dict(
4
+ author='Jin, Sheng and Xu, Lumin and Xu, Jin and '
5
+ 'Wang, Can and Liu, Wentao and '
6
+ 'Qian, Chen and Ouyang, Wanli and Luo, Ping',
7
+ title='Whole-Body Human Pose Estimation in the Wild',
8
+ container='Proceedings of the European '
9
+ 'Conference on Computer Vision (ECCV)',
10
+ year='2020',
11
+ homepage='https://github.com/jin-s13/COCO-WholeBody/',
12
+ ),
13
+ keypoint_info={
14
+ 0:
15
+ dict(name='nose', id=0, color=[51, 153, 255], type='upper', swap=''),
16
+ 1:
17
+ dict(
18
+ name='left_eye',
19
+ id=1,
20
+ color=[51, 153, 255],
21
+ type='upper',
22
+ swap='right_eye'),
23
+ 2:
24
+ dict(
25
+ name='right_eye',
26
+ id=2,
27
+ color=[51, 153, 255],
28
+ type='upper',
29
+ swap='left_eye'),
30
+ 3:
31
+ dict(
32
+ name='left_ear',
33
+ id=3,
34
+ color=[51, 153, 255],
35
+ type='upper',
36
+ swap='right_ear'),
37
+ 4:
38
+ dict(
39
+ name='right_ear',
40
+ id=4,
41
+ color=[51, 153, 255],
42
+ type='upper',
43
+ swap='left_ear'),
44
+ 5:
45
+ dict(
46
+ name='left_shoulder',
47
+ id=5,
48
+ color=[0, 255, 0],
49
+ type='upper',
50
+ swap='right_shoulder'),
51
+ 6:
52
+ dict(
53
+ name='right_shoulder',
54
+ id=6,
55
+ color=[255, 128, 0],
56
+ type='upper',
57
+ swap='left_shoulder'),
58
+ 7:
59
+ dict(
60
+ name='left_elbow',
61
+ id=7,
62
+ color=[0, 255, 0],
63
+ type='upper',
64
+ swap='right_elbow'),
65
+ 8:
66
+ dict(
67
+ name='right_elbow',
68
+ id=8,
69
+ color=[255, 128, 0],
70
+ type='upper',
71
+ swap='left_elbow'),
72
+ 9:
73
+ dict(
74
+ name='left_wrist',
75
+ id=9,
76
+ color=[0, 255, 0],
77
+ type='upper',
78
+ swap='right_wrist'),
79
+ 10:
80
+ dict(
81
+ name='right_wrist',
82
+ id=10,
83
+ color=[255, 128, 0],
84
+ type='upper',
85
+ swap='left_wrist'),
86
+ 11:
87
+ dict(
88
+ name='left_hip',
89
+ id=11,
90
+ color=[0, 255, 0],
91
+ type='lower',
92
+ swap='right_hip'),
93
+ 12:
94
+ dict(
95
+ name='right_hip',
96
+ id=12,
97
+ color=[255, 128, 0],
98
+ type='lower',
99
+ swap='left_hip'),
100
+ 13:
101
+ dict(
102
+ name='left_knee',
103
+ id=13,
104
+ color=[0, 255, 0],
105
+ type='lower',
106
+ swap='right_knee'),
107
+ 14:
108
+ dict(
109
+ name='right_knee',
110
+ id=14,
111
+ color=[255, 128, 0],
112
+ type='lower',
113
+ swap='left_knee'),
114
+ 15:
115
+ dict(
116
+ name='left_ankle',
117
+ id=15,
118
+ color=[0, 255, 0],
119
+ type='lower',
120
+ swap='right_ankle'),
121
+ 16:
122
+ dict(
123
+ name='right_ankle',
124
+ id=16,
125
+ color=[255, 128, 0],
126
+ type='lower',
127
+ swap='left_ankle'),
128
+ 17:
129
+ dict(
130
+ name='left_big_toe',
131
+ id=17,
132
+ color=[255, 128, 0],
133
+ type='lower',
134
+ swap='right_big_toe'),
135
+ 18:
136
+ dict(
137
+ name='left_small_toe',
138
+ id=18,
139
+ color=[255, 128, 0],
140
+ type='lower',
141
+ swap='right_small_toe'),
142
+ 19:
143
+ dict(
144
+ name='left_heel',
145
+ id=19,
146
+ color=[255, 128, 0],
147
+ type='lower',
148
+ swap='right_heel'),
149
+ 20:
150
+ dict(
151
+ name='right_big_toe',
152
+ id=20,
153
+ color=[255, 128, 0],
154
+ type='lower',
155
+ swap='left_big_toe'),
156
+ 21:
157
+ dict(
158
+ name='right_small_toe',
159
+ id=21,
160
+ color=[255, 128, 0],
161
+ type='lower',
162
+ swap='left_small_toe'),
163
+ 22:
164
+ dict(
165
+ name='right_heel',
166
+ id=22,
167
+ color=[255, 128, 0],
168
+ type='lower',
169
+ swap='left_heel'),
170
+ 23:
171
+ dict(
172
+ name='face-0',
173
+ id=23,
174
+ color=[255, 255, 255],
175
+ type='',
176
+ swap='face-16'),
177
+ 24:
178
+ dict(
179
+ name='face-1',
180
+ id=24,
181
+ color=[255, 255, 255],
182
+ type='',
183
+ swap='face-15'),
184
+ 25:
185
+ dict(
186
+ name='face-2',
187
+ id=25,
188
+ color=[255, 255, 255],
189
+ type='',
190
+ swap='face-14'),
191
+ 26:
192
+ dict(
193
+ name='face-3',
194
+ id=26,
195
+ color=[255, 255, 255],
196
+ type='',
197
+ swap='face-13'),
198
+ 27:
199
+ dict(
200
+ name='face-4',
201
+ id=27,
202
+ color=[255, 255, 255],
203
+ type='',
204
+ swap='face-12'),
205
+ 28:
206
+ dict(
207
+ name='face-5',
208
+ id=28,
209
+ color=[255, 255, 255],
210
+ type='',
211
+ swap='face-11'),
212
+ 29:
213
+ dict(
214
+ name='face-6',
215
+ id=29,
216
+ color=[255, 255, 255],
217
+ type='',
218
+ swap='face-10'),
219
+ 30:
220
+ dict(
221
+ name='face-7',
222
+ id=30,
223
+ color=[255, 255, 255],
224
+ type='',
225
+ swap='face-9'),
226
+ 31:
227
+ dict(name='face-8', id=31, color=[255, 255, 255], type='', swap=''),
228
+ 32:
229
+ dict(
230
+ name='face-9',
231
+ id=32,
232
+ color=[255, 255, 255],
233
+ type='',
234
+ swap='face-7'),
235
+ 33:
236
+ dict(
237
+ name='face-10',
238
+ id=33,
239
+ color=[255, 255, 255],
240
+ type='',
241
+ swap='face-6'),
242
+ 34:
243
+ dict(
244
+ name='face-11',
245
+ id=34,
246
+ color=[255, 255, 255],
247
+ type='',
248
+ swap='face-5'),
249
+ 35:
250
+ dict(
251
+ name='face-12',
252
+ id=35,
253
+ color=[255, 255, 255],
254
+ type='',
255
+ swap='face-4'),
256
+ 36:
257
+ dict(
258
+ name='face-13',
259
+ id=36,
260
+ color=[255, 255, 255],
261
+ type='',
262
+ swap='face-3'),
263
+ 37:
264
+ dict(
265
+ name='face-14',
266
+ id=37,
267
+ color=[255, 255, 255],
268
+ type='',
269
+ swap='face-2'),
270
+ 38:
271
+ dict(
272
+ name='face-15',
273
+ id=38,
274
+ color=[255, 255, 255],
275
+ type='',
276
+ swap='face-1'),
277
+ 39:
278
+ dict(
279
+ name='face-16',
280
+ id=39,
281
+ color=[255, 255, 255],
282
+ type='',
283
+ swap='face-0'),
284
+ 40:
285
+ dict(
286
+ name='face-17',
287
+ id=40,
288
+ color=[255, 255, 255],
289
+ type='',
290
+ swap='face-26'),
291
+ 41:
292
+ dict(
293
+ name='face-18',
294
+ id=41,
295
+ color=[255, 255, 255],
296
+ type='',
297
+ swap='face-25'),
298
+ 42:
299
+ dict(
300
+ name='face-19',
301
+ id=42,
302
+ color=[255, 255, 255],
303
+ type='',
304
+ swap='face-24'),
305
+ 43:
306
+ dict(
307
+ name='face-20',
308
+ id=43,
309
+ color=[255, 255, 255],
310
+ type='',
311
+ swap='face-23'),
312
+ 44:
313
+ dict(
314
+ name='face-21',
315
+ id=44,
316
+ color=[255, 255, 255],
317
+ type='',
318
+ swap='face-22'),
319
+ 45:
320
+ dict(
321
+ name='face-22',
322
+ id=45,
323
+ color=[255, 255, 255],
324
+ type='',
325
+ swap='face-21'),
326
+ 46:
327
+ dict(
328
+ name='face-23',
329
+ id=46,
330
+ color=[255, 255, 255],
331
+ type='',
332
+ swap='face-20'),
333
+ 47:
334
+ dict(
335
+ name='face-24',
336
+ id=47,
337
+ color=[255, 255, 255],
338
+ type='',
339
+ swap='face-19'),
340
+ 48:
341
+ dict(
342
+ name='face-25',
343
+ id=48,
344
+ color=[255, 255, 255],
345
+ type='',
346
+ swap='face-18'),
347
+ 49:
348
+ dict(
349
+ name='face-26',
350
+ id=49,
351
+ color=[255, 255, 255],
352
+ type='',
353
+ swap='face-17'),
354
+ 50:
355
+ dict(name='face-27', id=50, color=[255, 255, 255], type='', swap=''),
356
+ 51:
357
+ dict(name='face-28', id=51, color=[255, 255, 255], type='', swap=''),
358
+ 52:
359
+ dict(name='face-29', id=52, color=[255, 255, 255], type='', swap=''),
360
+ 53:
361
+ dict(name='face-30', id=53, color=[255, 255, 255], type='', swap=''),
362
+ 54:
363
+ dict(
364
+ name='face-31',
365
+ id=54,
366
+ color=[255, 255, 255],
367
+ type='',
368
+ swap='face-35'),
369
+ 55:
370
+ dict(
371
+ name='face-32',
372
+ id=55,
373
+ color=[255, 255, 255],
374
+ type='',
375
+ swap='face-34'),
376
+ 56:
377
+ dict(name='face-33', id=56, color=[255, 255, 255], type='', swap=''),
378
+ 57:
379
+ dict(
380
+ name='face-34',
381
+ id=57,
382
+ color=[255, 255, 255],
383
+ type='',
384
+ swap='face-32'),
385
+ 58:
386
+ dict(
387
+ name='face-35',
388
+ id=58,
389
+ color=[255, 255, 255],
390
+ type='',
391
+ swap='face-31'),
392
+ 59:
393
+ dict(
394
+ name='face-36',
395
+ id=59,
396
+ color=[255, 255, 255],
397
+ type='',
398
+ swap='face-45'),
399
+ 60:
400
+ dict(
401
+ name='face-37',
402
+ id=60,
403
+ color=[255, 255, 255],
404
+ type='',
405
+ swap='face-44'),
406
+ 61:
407
+ dict(
408
+ name='face-38',
409
+ id=61,
410
+ color=[255, 255, 255],
411
+ type='',
412
+ swap='face-43'),
413
+ 62:
414
+ dict(
415
+ name='face-39',
416
+ id=62,
417
+ color=[255, 255, 255],
418
+ type='',
419
+ swap='face-42'),
420
+ 63:
421
+ dict(
422
+ name='face-40',
423
+ id=63,
424
+ color=[255, 255, 255],
425
+ type='',
426
+ swap='face-47'),
427
+ 64:
428
+ dict(
429
+ name='face-41',
430
+ id=64,
431
+ color=[255, 255, 255],
432
+ type='',
433
+ swap='face-46'),
434
+ 65:
435
+ dict(
436
+ name='face-42',
437
+ id=65,
438
+ color=[255, 255, 255],
439
+ type='',
440
+ swap='face-39'),
441
+ 66:
442
+ dict(
443
+ name='face-43',
444
+ id=66,
445
+ color=[255, 255, 255],
446
+ type='',
447
+ swap='face-38'),
448
+ 67:
449
+ dict(
450
+ name='face-44',
451
+ id=67,
452
+ color=[255, 255, 255],
453
+ type='',
454
+ swap='face-37'),
455
+ 68:
456
+ dict(
457
+ name='face-45',
458
+ id=68,
459
+ color=[255, 255, 255],
460
+ type='',
461
+ swap='face-36'),
462
+ 69:
463
+ dict(
464
+ name='face-46',
465
+ id=69,
466
+ color=[255, 255, 255],
467
+ type='',
468
+ swap='face-41'),
469
+ 70:
470
+ dict(
471
+ name='face-47',
472
+ id=70,
473
+ color=[255, 255, 255],
474
+ type='',
475
+ swap='face-40'),
476
+ 71:
477
+ dict(
478
+ name='face-48',
479
+ id=71,
480
+ color=[255, 255, 255],
481
+ type='',
482
+ swap='face-54'),
483
+ 72:
484
+ dict(
485
+ name='face-49',
486
+ id=72,
487
+ color=[255, 255, 255],
488
+ type='',
489
+ swap='face-53'),
490
+ 73:
491
+ dict(
492
+ name='face-50',
493
+ id=73,
494
+ color=[255, 255, 255],
495
+ type='',
496
+ swap='face-52'),
497
+ 74:
498
+ dict(name='face-51', id=74, color=[255, 255, 255], type='', swap=''),
499
+ 75:
500
+ dict(
501
+ name='face-52',
502
+ id=75,
503
+ color=[255, 255, 255],
504
+ type='',
505
+ swap='face-50'),
506
+ 76:
507
+ dict(
508
+ name='face-53',
509
+ id=76,
510
+ color=[255, 255, 255],
511
+ type='',
512
+ swap='face-49'),
513
+ 77:
514
+ dict(
515
+ name='face-54',
516
+ id=77,
517
+ color=[255, 255, 255],
518
+ type='',
519
+ swap='face-48'),
520
+ 78:
521
+ dict(
522
+ name='face-55',
523
+ id=78,
524
+ color=[255, 255, 255],
525
+ type='',
526
+ swap='face-59'),
527
+ 79:
528
+ dict(
529
+ name='face-56',
530
+ id=79,
531
+ color=[255, 255, 255],
532
+ type='',
533
+ swap='face-58'),
534
+ 80:
535
+ dict(name='face-57', id=80, color=[255, 255, 255], type='', swap=''),
536
+ 81:
537
+ dict(
538
+ name='face-58',
539
+ id=81,
540
+ color=[255, 255, 255],
541
+ type='',
542
+ swap='face-56'),
543
+ 82:
544
+ dict(
545
+ name='face-59',
546
+ id=82,
547
+ color=[255, 255, 255],
548
+ type='',
549
+ swap='face-55'),
550
+ 83:
551
+ dict(
552
+ name='face-60',
553
+ id=83,
554
+ color=[255, 255, 255],
555
+ type='',
556
+ swap='face-64'),
557
+ 84:
558
+ dict(
559
+ name='face-61',
560
+ id=84,
561
+ color=[255, 255, 255],
562
+ type='',
563
+ swap='face-63'),
564
+ 85:
565
+ dict(name='face-62', id=85, color=[255, 255, 255], type='', swap=''),
566
+ 86:
567
+ dict(
568
+ name='face-63',
569
+ id=86,
570
+ color=[255, 255, 255],
571
+ type='',
572
+ swap='face-61'),
573
+ 87:
574
+ dict(
575
+ name='face-64',
576
+ id=87,
577
+ color=[255, 255, 255],
578
+ type='',
579
+ swap='face-60'),
580
+ 88:
581
+ dict(
582
+ name='face-65',
583
+ id=88,
584
+ color=[255, 255, 255],
585
+ type='',
586
+ swap='face-67'),
587
+ 89:
588
+ dict(name='face-66', id=89, color=[255, 255, 255], type='', swap=''),
589
+ 90:
590
+ dict(
591
+ name='face-67',
592
+ id=90,
593
+ color=[255, 255, 255],
594
+ type='',
595
+ swap='face-65'),
596
+ 91:
597
+ dict(
598
+ name='left_hand_root',
599
+ id=91,
600
+ color=[255, 255, 255],
601
+ type='',
602
+ swap='right_hand_root'),
603
+ 92:
604
+ dict(
605
+ name='left_thumb1',
606
+ id=92,
607
+ color=[255, 128, 0],
608
+ type='',
609
+ swap='right_thumb1'),
610
+ 93:
611
+ dict(
612
+ name='left_thumb2',
613
+ id=93,
614
+ color=[255, 128, 0],
615
+ type='',
616
+ swap='right_thumb2'),
617
+ 94:
618
+ dict(
619
+ name='left_thumb3',
620
+ id=94,
621
+ color=[255, 128, 0],
622
+ type='',
623
+ swap='right_thumb3'),
624
+ 95:
625
+ dict(
626
+ name='left_thumb4',
627
+ id=95,
628
+ color=[255, 128, 0],
629
+ type='',
630
+ swap='right_thumb4'),
631
+ 96:
632
+ dict(
633
+ name='left_forefinger1',
634
+ id=96,
635
+ color=[255, 153, 255],
636
+ type='',
637
+ swap='right_forefinger1'),
638
+ 97:
639
+ dict(
640
+ name='left_forefinger2',
641
+ id=97,
642
+ color=[255, 153, 255],
643
+ type='',
644
+ swap='right_forefinger2'),
645
+ 98:
646
+ dict(
647
+ name='left_forefinger3',
648
+ id=98,
649
+ color=[255, 153, 255],
650
+ type='',
651
+ swap='right_forefinger3'),
652
+ 99:
653
+ dict(
654
+ name='left_forefinger4',
655
+ id=99,
656
+ color=[255, 153, 255],
657
+ type='',
658
+ swap='right_forefinger4'),
659
+ 100:
660
+ dict(
661
+ name='left_middle_finger1',
662
+ id=100,
663
+ color=[102, 178, 255],
664
+ type='',
665
+ swap='right_middle_finger1'),
666
+ 101:
667
+ dict(
668
+ name='left_middle_finger2',
669
+ id=101,
670
+ color=[102, 178, 255],
671
+ type='',
672
+ swap='right_middle_finger2'),
673
+ 102:
674
+ dict(
675
+ name='left_middle_finger3',
676
+ id=102,
677
+ color=[102, 178, 255],
678
+ type='',
679
+ swap='right_middle_finger3'),
680
+ 103:
681
+ dict(
682
+ name='left_middle_finger4',
683
+ id=103,
684
+ color=[102, 178, 255],
685
+ type='',
686
+ swap='right_middle_finger4'),
687
+ 104:
688
+ dict(
689
+ name='left_ring_finger1',
690
+ id=104,
691
+ color=[255, 51, 51],
692
+ type='',
693
+ swap='right_ring_finger1'),
694
+ 105:
695
+ dict(
696
+ name='left_ring_finger2',
697
+ id=105,
698
+ color=[255, 51, 51],
699
+ type='',
700
+ swap='right_ring_finger2'),
701
+ 106:
702
+ dict(
703
+ name='left_ring_finger3',
704
+ id=106,
705
+ color=[255, 51, 51],
706
+ type='',
707
+ swap='right_ring_finger3'),
708
+ 107:
709
+ dict(
710
+ name='left_ring_finger4',
711
+ id=107,
712
+ color=[255, 51, 51],
713
+ type='',
714
+ swap='right_ring_finger4'),
715
+ 108:
716
+ dict(
717
+ name='left_pinky_finger1',
718
+ id=108,
719
+ color=[0, 255, 0],
720
+ type='',
721
+ swap='right_pinky_finger1'),
722
+ 109:
723
+ dict(
724
+ name='left_pinky_finger2',
725
+ id=109,
726
+ color=[0, 255, 0],
727
+ type='',
728
+ swap='right_pinky_finger2'),
729
+ 110:
730
+ dict(
731
+ name='left_pinky_finger3',
732
+ id=110,
733
+ color=[0, 255, 0],
734
+ type='',
735
+ swap='right_pinky_finger3'),
736
+ 111:
737
+ dict(
738
+ name='left_pinky_finger4',
739
+ id=111,
740
+ color=[0, 255, 0],
741
+ type='',
742
+ swap='right_pinky_finger4'),
743
+ 112:
744
+ dict(
745
+ name='right_hand_root',
746
+ id=112,
747
+ color=[255, 255, 255],
748
+ type='',
749
+ swap='left_hand_root'),
750
+ 113:
751
+ dict(
752
+ name='right_thumb1',
753
+ id=113,
754
+ color=[255, 128, 0],
755
+ type='',
756
+ swap='left_thumb1'),
757
+ 114:
758
+ dict(
759
+ name='right_thumb2',
760
+ id=114,
761
+ color=[255, 128, 0],
762
+ type='',
763
+ swap='left_thumb2'),
764
+ 115:
765
+ dict(
766
+ name='right_thumb3',
767
+ id=115,
768
+ color=[255, 128, 0],
769
+ type='',
770
+ swap='left_thumb3'),
771
+ 116:
772
+ dict(
773
+ name='right_thumb4',
774
+ id=116,
775
+ color=[255, 128, 0],
776
+ type='',
777
+ swap='left_thumb4'),
778
+ 117:
779
+ dict(
780
+ name='right_forefinger1',
781
+ id=117,
782
+ color=[255, 153, 255],
783
+ type='',
784
+ swap='left_forefinger1'),
785
+ 118:
786
+ dict(
787
+ name='right_forefinger2',
788
+ id=118,
789
+ color=[255, 153, 255],
790
+ type='',
791
+ swap='left_forefinger2'),
792
+ 119:
793
+ dict(
794
+ name='right_forefinger3',
795
+ id=119,
796
+ color=[255, 153, 255],
797
+ type='',
798
+ swap='left_forefinger3'),
799
+ 120:
800
+ dict(
801
+ name='right_forefinger4',
802
+ id=120,
803
+ color=[255, 153, 255],
804
+ type='',
805
+ swap='left_forefinger4'),
806
+ 121:
807
+ dict(
808
+ name='right_middle_finger1',
809
+ id=121,
810
+ color=[102, 178, 255],
811
+ type='',
812
+ swap='left_middle_finger1'),
813
+ 122:
814
+ dict(
815
+ name='right_middle_finger2',
816
+ id=122,
817
+ color=[102, 178, 255],
818
+ type='',
819
+ swap='left_middle_finger2'),
820
+ 123:
821
+ dict(
822
+ name='right_middle_finger3',
823
+ id=123,
824
+ color=[102, 178, 255],
825
+ type='',
826
+ swap='left_middle_finger3'),
827
+ 124:
828
+ dict(
829
+ name='right_middle_finger4',
830
+ id=124,
831
+ color=[102, 178, 255],
832
+ type='',
833
+ swap='left_middle_finger4'),
834
+ 125:
835
+ dict(
836
+ name='right_ring_finger1',
837
+ id=125,
838
+ color=[255, 51, 51],
839
+ type='',
840
+ swap='left_ring_finger1'),
841
+ 126:
842
+ dict(
843
+ name='right_ring_finger2',
844
+ id=126,
845
+ color=[255, 51, 51],
846
+ type='',
847
+ swap='left_ring_finger2'),
848
+ 127:
849
+ dict(
850
+ name='right_ring_finger3',
851
+ id=127,
852
+ color=[255, 51, 51],
853
+ type='',
854
+ swap='left_ring_finger3'),
855
+ 128:
856
+ dict(
857
+ name='right_ring_finger4',
858
+ id=128,
859
+ color=[255, 51, 51],
860
+ type='',
861
+ swap='left_ring_finger4'),
862
+ 129:
863
+ dict(
864
+ name='right_pinky_finger1',
865
+ id=129,
866
+ color=[0, 255, 0],
867
+ type='',
868
+ swap='left_pinky_finger1'),
869
+ 130:
870
+ dict(
871
+ name='right_pinky_finger2',
872
+ id=130,
873
+ color=[0, 255, 0],
874
+ type='',
875
+ swap='left_pinky_finger2'),
876
+ 131:
877
+ dict(
878
+ name='right_pinky_finger3',
879
+ id=131,
880
+ color=[0, 255, 0],
881
+ type='',
882
+ swap='left_pinky_finger3'),
883
+ 132:
884
+ dict(
885
+ name='right_pinky_finger4',
886
+ id=132,
887
+ color=[0, 255, 0],
888
+ type='',
889
+ swap='left_pinky_finger4')
890
+ },
891
+ skeleton_info={
892
+ 0:
893
+ dict(link=('left_ankle', 'left_knee'), id=0, color=[0, 255, 0]),
894
+ 1:
895
+ dict(link=('left_knee', 'left_hip'), id=1, color=[0, 255, 0]),
896
+ 2:
897
+ dict(link=('right_ankle', 'right_knee'), id=2, color=[255, 128, 0]),
898
+ 3:
899
+ dict(link=('right_knee', 'right_hip'), id=3, color=[255, 128, 0]),
900
+ 4:
901
+ dict(link=('left_hip', 'right_hip'), id=4, color=[51, 153, 255]),
902
+ 5:
903
+ dict(link=('left_shoulder', 'left_hip'), id=5, color=[51, 153, 255]),
904
+ 6:
905
+ dict(link=('right_shoulder', 'right_hip'), id=6, color=[51, 153, 255]),
906
+ 7:
907
+ dict(
908
+ link=('left_shoulder', 'right_shoulder'),
909
+ id=7,
910
+ color=[51, 153, 255]),
911
+ 8:
912
+ dict(link=('left_shoulder', 'left_elbow'), id=8, color=[0, 255, 0]),
913
+ 9:
914
+ dict(
915
+ link=('right_shoulder', 'right_elbow'), id=9, color=[255, 128, 0]),
916
+ 10:
917
+ dict(link=('left_elbow', 'left_wrist'), id=10, color=[0, 255, 0]),
918
+ 11:
919
+ dict(link=('right_elbow', 'right_wrist'), id=11, color=[255, 128, 0]),
920
+ 12:
921
+ dict(link=('left_eye', 'right_eye'), id=12, color=[51, 153, 255]),
922
+ 13:
923
+ dict(link=('nose', 'left_eye'), id=13, color=[51, 153, 255]),
924
+ 14:
925
+ dict(link=('nose', 'right_eye'), id=14, color=[51, 153, 255]),
926
+ 15:
927
+ dict(link=('left_eye', 'left_ear'), id=15, color=[51, 153, 255]),
928
+ 16:
929
+ dict(link=('right_eye', 'right_ear'), id=16, color=[51, 153, 255]),
930
+ 17:
931
+ dict(link=('left_ear', 'left_shoulder'), id=17, color=[51, 153, 255]),
932
+ 18:
933
+ dict(
934
+ link=('right_ear', 'right_shoulder'), id=18, color=[51, 153, 255]),
935
+ 19:
936
+ dict(link=('left_ankle', 'left_big_toe'), id=19, color=[0, 255, 0]),
937
+ 20:
938
+ dict(link=('left_ankle', 'left_small_toe'), id=20, color=[0, 255, 0]),
939
+ 21:
940
+ dict(link=('left_ankle', 'left_heel'), id=21, color=[0, 255, 0]),
941
+ 22:
942
+ dict(
943
+ link=('right_ankle', 'right_big_toe'), id=22, color=[255, 128, 0]),
944
+ 23:
945
+ dict(
946
+ link=('right_ankle', 'right_small_toe'),
947
+ id=23,
948
+ color=[255, 128, 0]),
949
+ 24:
950
+ dict(link=('right_ankle', 'right_heel'), id=24, color=[255, 128, 0]),
951
+ 25:
952
+ dict(
953
+ link=('left_hand_root', 'left_thumb1'), id=25, color=[255, 128,
954
+ 0]),
955
+ 26:
956
+ dict(link=('left_thumb1', 'left_thumb2'), id=26, color=[255, 128, 0]),
957
+ 27:
958
+ dict(link=('left_thumb2', 'left_thumb3'), id=27, color=[255, 128, 0]),
959
+ 28:
960
+ dict(link=('left_thumb3', 'left_thumb4'), id=28, color=[255, 128, 0]),
961
+ 29:
962
+ dict(
963
+ link=('left_hand_root', 'left_forefinger1'),
964
+ id=29,
965
+ color=[255, 153, 255]),
966
+ 30:
967
+ dict(
968
+ link=('left_forefinger1', 'left_forefinger2'),
969
+ id=30,
970
+ color=[255, 153, 255]),
971
+ 31:
972
+ dict(
973
+ link=('left_forefinger2', 'left_forefinger3'),
974
+ id=31,
975
+ color=[255, 153, 255]),
976
+ 32:
977
+ dict(
978
+ link=('left_forefinger3', 'left_forefinger4'),
979
+ id=32,
980
+ color=[255, 153, 255]),
981
+ 33:
982
+ dict(
983
+ link=('left_hand_root', 'left_middle_finger1'),
984
+ id=33,
985
+ color=[102, 178, 255]),
986
+ 34:
987
+ dict(
988
+ link=('left_middle_finger1', 'left_middle_finger2'),
989
+ id=34,
990
+ color=[102, 178, 255]),
991
+ 35:
992
+ dict(
993
+ link=('left_middle_finger2', 'left_middle_finger3'),
994
+ id=35,
995
+ color=[102, 178, 255]),
996
+ 36:
997
+ dict(
998
+ link=('left_middle_finger3', 'left_middle_finger4'),
999
+ id=36,
1000
+ color=[102, 178, 255]),
1001
+ 37:
1002
+ dict(
1003
+ link=('left_hand_root', 'left_ring_finger1'),
1004
+ id=37,
1005
+ color=[255, 51, 51]),
1006
+ 38:
1007
+ dict(
1008
+ link=('left_ring_finger1', 'left_ring_finger2'),
1009
+ id=38,
1010
+ color=[255, 51, 51]),
1011
+ 39:
1012
+ dict(
1013
+ link=('left_ring_finger2', 'left_ring_finger3'),
1014
+ id=39,
1015
+ color=[255, 51, 51]),
1016
+ 40:
1017
+ dict(
1018
+ link=('left_ring_finger3', 'left_ring_finger4'),
1019
+ id=40,
1020
+ color=[255, 51, 51]),
1021
+ 41:
1022
+ dict(
1023
+ link=('left_hand_root', 'left_pinky_finger1'),
1024
+ id=41,
1025
+ color=[0, 255, 0]),
1026
+ 42:
1027
+ dict(
1028
+ link=('left_pinky_finger1', 'left_pinky_finger2'),
1029
+ id=42,
1030
+ color=[0, 255, 0]),
1031
+ 43:
1032
+ dict(
1033
+ link=('left_pinky_finger2', 'left_pinky_finger3'),
1034
+ id=43,
1035
+ color=[0, 255, 0]),
1036
+ 44:
1037
+ dict(
1038
+ link=('left_pinky_finger3', 'left_pinky_finger4'),
1039
+ id=44,
1040
+ color=[0, 255, 0]),
1041
+ 45:
1042
+ dict(
1043
+ link=('right_hand_root', 'right_thumb1'),
1044
+ id=45,
1045
+ color=[255, 128, 0]),
1046
+ 46:
1047
+ dict(
1048
+ link=('right_thumb1', 'right_thumb2'), id=46, color=[255, 128, 0]),
1049
+ 47:
1050
+ dict(
1051
+ link=('right_thumb2', 'right_thumb3'), id=47, color=[255, 128, 0]),
1052
+ 48:
1053
+ dict(
1054
+ link=('right_thumb3', 'right_thumb4'), id=48, color=[255, 128, 0]),
1055
+ 49:
1056
+ dict(
1057
+ link=('right_hand_root', 'right_forefinger1'),
1058
+ id=49,
1059
+ color=[255, 153, 255]),
1060
+ 50:
1061
+ dict(
1062
+ link=('right_forefinger1', 'right_forefinger2'),
1063
+ id=50,
1064
+ color=[255, 153, 255]),
1065
+ 51:
1066
+ dict(
1067
+ link=('right_forefinger2', 'right_forefinger3'),
1068
+ id=51,
1069
+ color=[255, 153, 255]),
1070
+ 52:
1071
+ dict(
1072
+ link=('right_forefinger3', 'right_forefinger4'),
1073
+ id=52,
1074
+ color=[255, 153, 255]),
1075
+ 53:
1076
+ dict(
1077
+ link=('right_hand_root', 'right_middle_finger1'),
1078
+ id=53,
1079
+ color=[102, 178, 255]),
1080
+ 54:
1081
+ dict(
1082
+ link=('right_middle_finger1', 'right_middle_finger2'),
1083
+ id=54,
1084
+ color=[102, 178, 255]),
1085
+ 55:
1086
+ dict(
1087
+ link=('right_middle_finger2', 'right_middle_finger3'),
1088
+ id=55,
1089
+ color=[102, 178, 255]),
1090
+ 56:
1091
+ dict(
1092
+ link=('right_middle_finger3', 'right_middle_finger4'),
1093
+ id=56,
1094
+ color=[102, 178, 255]),
1095
+ 57:
1096
+ dict(
1097
+ link=('right_hand_root', 'right_ring_finger1'),
1098
+ id=57,
1099
+ color=[255, 51, 51]),
1100
+ 58:
1101
+ dict(
1102
+ link=('right_ring_finger1', 'right_ring_finger2'),
1103
+ id=58,
1104
+ color=[255, 51, 51]),
1105
+ 59:
1106
+ dict(
1107
+ link=('right_ring_finger2', 'right_ring_finger3'),
1108
+ id=59,
1109
+ color=[255, 51, 51]),
1110
+ 60:
1111
+ dict(
1112
+ link=('right_ring_finger3', 'right_ring_finger4'),
1113
+ id=60,
1114
+ color=[255, 51, 51]),
1115
+ 61:
1116
+ dict(
1117
+ link=('right_hand_root', 'right_pinky_finger1'),
1118
+ id=61,
1119
+ color=[0, 255, 0]),
1120
+ 62:
1121
+ dict(
1122
+ link=('right_pinky_finger1', 'right_pinky_finger2'),
1123
+ id=62,
1124
+ color=[0, 255, 0]),
1125
+ 63:
1126
+ dict(
1127
+ link=('right_pinky_finger2', 'right_pinky_finger3'),
1128
+ id=63,
1129
+ color=[0, 255, 0]),
1130
+ 64:
1131
+ dict(
1132
+ link=('right_pinky_finger3', 'right_pinky_finger4'),
1133
+ id=64,
1134
+ color=[0, 255, 0])
1135
+ },
1136
+ joint_weights=[1.] * 133,
1137
+ # 'https://github.com/jin-s13/COCO-WholeBody/blob/master/'
1138
+ # 'evaluation/myeval_wholebody.py#L175'
1139
+ sigmas=[
1140
+ 0.026, 0.025, 0.025, 0.035, 0.035, 0.079, 0.079, 0.072, 0.072, 0.062,
1141
+ 0.062, 0.107, 0.107, 0.087, 0.087, 0.089, 0.089, 0.068, 0.066, 0.066,
1142
+ 0.092, 0.094, 0.094, 0.042, 0.043, 0.044, 0.043, 0.040, 0.035, 0.031,
1143
+ 0.025, 0.020, 0.023, 0.029, 0.032, 0.037, 0.038, 0.043, 0.041, 0.045,
1144
+ 0.013, 0.012, 0.011, 0.011, 0.012, 0.012, 0.011, 0.011, 0.013, 0.015,
1145
+ 0.009, 0.007, 0.007, 0.007, 0.012, 0.009, 0.008, 0.016, 0.010, 0.017,
1146
+ 0.011, 0.009, 0.011, 0.009, 0.007, 0.013, 0.008, 0.011, 0.012, 0.010,
1147
+ 0.034, 0.008, 0.008, 0.009, 0.008, 0.008, 0.007, 0.010, 0.008, 0.009,
1148
+ 0.009, 0.009, 0.007, 0.007, 0.008, 0.011, 0.008, 0.008, 0.008, 0.01,
1149
+ 0.008, 0.029, 0.022, 0.035, 0.037, 0.047, 0.026, 0.025, 0.024, 0.035,
1150
+ 0.018, 0.024, 0.022, 0.026, 0.017, 0.021, 0.021, 0.032, 0.02, 0.019,
1151
+ 0.022, 0.031, 0.029, 0.022, 0.035, 0.037, 0.047, 0.026, 0.025, 0.024,
1152
+ 0.035, 0.018, 0.024, 0.022, 0.026, 0.017, 0.021, 0.021, 0.032, 0.02,
1153
+ 0.019, 0.022, 0.031
1154
+ ])
mmpose/configs/_base_/datasets/coco_wholebody_face.py ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='coco_wholebody_face',
3
+ paper_info=dict(
4
+ author='Jin, Sheng and Xu, Lumin and Xu, Jin and '
5
+ 'Wang, Can and Liu, Wentao and '
6
+ 'Qian, Chen and Ouyang, Wanli and Luo, Ping',
7
+ title='Whole-Body Human Pose Estimation in the Wild',
8
+ container='Proceedings of the European '
9
+ 'Conference on Computer Vision (ECCV)',
10
+ year='2020',
11
+ homepage='https://github.com/jin-s13/COCO-WholeBody/',
12
+ ),
13
+ keypoint_info={
14
+ 0:
15
+ dict(name='face-0', id=0, color=[255, 0, 0], type='', swap='face-16'),
16
+ 1:
17
+ dict(name='face-1', id=1, color=[255, 0, 0], type='', swap='face-15'),
18
+ 2:
19
+ dict(name='face-2', id=2, color=[255, 0, 0], type='', swap='face-14'),
20
+ 3:
21
+ dict(name='face-3', id=3, color=[255, 0, 0], type='', swap='face-13'),
22
+ 4:
23
+ dict(name='face-4', id=4, color=[255, 0, 0], type='', swap='face-12'),
24
+ 5:
25
+ dict(name='face-5', id=5, color=[255, 0, 0], type='', swap='face-11'),
26
+ 6:
27
+ dict(name='face-6', id=6, color=[255, 0, 0], type='', swap='face-10'),
28
+ 7:
29
+ dict(name='face-7', id=7, color=[255, 0, 0], type='', swap='face-9'),
30
+ 8: dict(name='face-8', id=8, color=[255, 0, 0], type='', swap=''),
31
+ 9:
32
+ dict(name='face-9', id=9, color=[255, 0, 0], type='', swap='face-7'),
33
+ 10:
34
+ dict(name='face-10', id=10, color=[255, 0, 0], type='', swap='face-6'),
35
+ 11:
36
+ dict(name='face-11', id=11, color=[255, 0, 0], type='', swap='face-5'),
37
+ 12:
38
+ dict(name='face-12', id=12, color=[255, 0, 0], type='', swap='face-4'),
39
+ 13:
40
+ dict(name='face-13', id=13, color=[255, 0, 0], type='', swap='face-3'),
41
+ 14:
42
+ dict(name='face-14', id=14, color=[255, 0, 0], type='', swap='face-2'),
43
+ 15:
44
+ dict(name='face-15', id=15, color=[255, 0, 0], type='', swap='face-1'),
45
+ 16:
46
+ dict(name='face-16', id=16, color=[255, 0, 0], type='', swap='face-0'),
47
+ 17: dict(
48
+ name='face-17', id=17, color=[255, 0, 0], type='', swap='face-26'),
49
+ 18: dict(
50
+ name='face-18', id=18, color=[255, 0, 0], type='', swap='face-25'),
51
+ 19: dict(
52
+ name='face-19', id=19, color=[255, 0, 0], type='', swap='face-24'),
53
+ 20: dict(
54
+ name='face-20', id=20, color=[255, 0, 0], type='', swap='face-23'),
55
+ 21: dict(
56
+ name='face-21', id=21, color=[255, 0, 0], type='', swap='face-22'),
57
+ 22: dict(
58
+ name='face-22', id=22, color=[255, 0, 0], type='', swap='face-21'),
59
+ 23: dict(
60
+ name='face-23', id=23, color=[255, 0, 0], type='', swap='face-20'),
61
+ 24: dict(
62
+ name='face-24', id=24, color=[255, 0, 0], type='', swap='face-19'),
63
+ 25: dict(
64
+ name='face-25', id=25, color=[255, 0, 0], type='', swap='face-18'),
65
+ 26: dict(
66
+ name='face-26', id=26, color=[255, 0, 0], type='', swap='face-17'),
67
+ 27: dict(name='face-27', id=27, color=[255, 0, 0], type='', swap=''),
68
+ 28: dict(name='face-28', id=28, color=[255, 0, 0], type='', swap=''),
69
+ 29: dict(name='face-29', id=29, color=[255, 0, 0], type='', swap=''),
70
+ 30: dict(name='face-30', id=30, color=[255, 0, 0], type='', swap=''),
71
+ 31: dict(
72
+ name='face-31', id=31, color=[255, 0, 0], type='', swap='face-35'),
73
+ 32: dict(
74
+ name='face-32', id=32, color=[255, 0, 0], type='', swap='face-34'),
75
+ 33: dict(name='face-33', id=33, color=[255, 0, 0], type='', swap=''),
76
+ 34: dict(
77
+ name='face-34', id=34, color=[255, 0, 0], type='', swap='face-32'),
78
+ 35: dict(
79
+ name='face-35', id=35, color=[255, 0, 0], type='', swap='face-31'),
80
+ 36: dict(
81
+ name='face-36', id=36, color=[255, 0, 0], type='', swap='face-45'),
82
+ 37: dict(
83
+ name='face-37', id=37, color=[255, 0, 0], type='', swap='face-44'),
84
+ 38: dict(
85
+ name='face-38', id=38, color=[255, 0, 0], type='', swap='face-43'),
86
+ 39: dict(
87
+ name='face-39', id=39, color=[255, 0, 0], type='', swap='face-42'),
88
+ 40: dict(
89
+ name='face-40', id=40, color=[255, 0, 0], type='', swap='face-47'),
90
+ 41: dict(
91
+ name='face-41', id=41, color=[255, 0, 0], type='', swap='face-46'),
92
+ 42: dict(
93
+ name='face-42', id=42, color=[255, 0, 0], type='', swap='face-39'),
94
+ 43: dict(
95
+ name='face-43', id=43, color=[255, 0, 0], type='', swap='face-38'),
96
+ 44: dict(
97
+ name='face-44', id=44, color=[255, 0, 0], type='', swap='face-37'),
98
+ 45: dict(
99
+ name='face-45', id=45, color=[255, 0, 0], type='', swap='face-36'),
100
+ 46: dict(
101
+ name='face-46', id=46, color=[255, 0, 0], type='', swap='face-41'),
102
+ 47: dict(
103
+ name='face-47', id=47, color=[255, 0, 0], type='', swap='face-40'),
104
+ 48: dict(
105
+ name='face-48', id=48, color=[255, 0, 0], type='', swap='face-54'),
106
+ 49: dict(
107
+ name='face-49', id=49, color=[255, 0, 0], type='', swap='face-53'),
108
+ 50: dict(
109
+ name='face-50', id=50, color=[255, 0, 0], type='', swap='face-52'),
110
+ 51: dict(name='face-51', id=52, color=[255, 0, 0], type='', swap=''),
111
+ 52: dict(
112
+ name='face-52', id=52, color=[255, 0, 0], type='', swap='face-50'),
113
+ 53: dict(
114
+ name='face-53', id=53, color=[255, 0, 0], type='', swap='face-49'),
115
+ 54: dict(
116
+ name='face-54', id=54, color=[255, 0, 0], type='', swap='face-48'),
117
+ 55: dict(
118
+ name='face-55', id=55, color=[255, 0, 0], type='', swap='face-59'),
119
+ 56: dict(
120
+ name='face-56', id=56, color=[255, 0, 0], type='', swap='face-58'),
121
+ 57: dict(name='face-57', id=57, color=[255, 0, 0], type='', swap=''),
122
+ 58: dict(
123
+ name='face-58', id=58, color=[255, 0, 0], type='', swap='face-56'),
124
+ 59: dict(
125
+ name='face-59', id=59, color=[255, 0, 0], type='', swap='face-55'),
126
+ 60: dict(
127
+ name='face-60', id=60, color=[255, 0, 0], type='', swap='face-64'),
128
+ 61: dict(
129
+ name='face-61', id=61, color=[255, 0, 0], type='', swap='face-63'),
130
+ 62: dict(name='face-62', id=62, color=[255, 0, 0], type='', swap=''),
131
+ 63: dict(
132
+ name='face-63', id=63, color=[255, 0, 0], type='', swap='face-61'),
133
+ 64: dict(
134
+ name='face-64', id=64, color=[255, 0, 0], type='', swap='face-60'),
135
+ 65: dict(
136
+ name='face-65', id=65, color=[255, 0, 0], type='', swap='face-67'),
137
+ 66: dict(name='face-66', id=66, color=[255, 0, 0], type='', swap=''),
138
+ 67: dict(
139
+ name='face-67', id=67, color=[255, 0, 0], type='', swap='face-65')
140
+ },
141
+ skeleton_info={},
142
+ joint_weights=[1.] * 68,
143
+
144
+ # 'https://github.com/jin-s13/COCO-WholeBody/blob/master/'
145
+ # 'evaluation/myeval_wholebody.py#L177'
146
+ sigmas=[
147
+ 0.042, 0.043, 0.044, 0.043, 0.040, 0.035, 0.031, 0.025, 0.020, 0.023,
148
+ 0.029, 0.032, 0.037, 0.038, 0.043, 0.041, 0.045, 0.013, 0.012, 0.011,
149
+ 0.011, 0.012, 0.012, 0.011, 0.011, 0.013, 0.015, 0.009, 0.007, 0.007,
150
+ 0.007, 0.012, 0.009, 0.008, 0.016, 0.010, 0.017, 0.011, 0.009, 0.011,
151
+ 0.009, 0.007, 0.013, 0.008, 0.011, 0.012, 0.010, 0.034, 0.008, 0.008,
152
+ 0.009, 0.008, 0.008, 0.007, 0.010, 0.008, 0.009, 0.009, 0.009, 0.007,
153
+ 0.007, 0.008, 0.011, 0.008, 0.008, 0.008, 0.01, 0.008
154
+ ])
mmpose/configs/_base_/datasets/coco_wholebody_hand.py ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='coco_wholebody_hand',
3
+ paper_info=dict(
4
+ author='Jin, Sheng and Xu, Lumin and Xu, Jin and '
5
+ 'Wang, Can and Liu, Wentao and '
6
+ 'Qian, Chen and Ouyang, Wanli and Luo, Ping',
7
+ title='Whole-Body Human Pose Estimation in the Wild',
8
+ container='Proceedings of the European '
9
+ 'Conference on Computer Vision (ECCV)',
10
+ year='2020',
11
+ homepage='https://github.com/jin-s13/COCO-WholeBody/',
12
+ ),
13
+ keypoint_info={
14
+ 0:
15
+ dict(name='wrist', id=0, color=[255, 255, 255], type='', swap=''),
16
+ 1:
17
+ dict(name='thumb1', id=1, color=[255, 128, 0], type='', swap=''),
18
+ 2:
19
+ dict(name='thumb2', id=2, color=[255, 128, 0], type='', swap=''),
20
+ 3:
21
+ dict(name='thumb3', id=3, color=[255, 128, 0], type='', swap=''),
22
+ 4:
23
+ dict(name='thumb4', id=4, color=[255, 128, 0], type='', swap=''),
24
+ 5:
25
+ dict(
26
+ name='forefinger1', id=5, color=[255, 153, 255], type='', swap=''),
27
+ 6:
28
+ dict(
29
+ name='forefinger2', id=6, color=[255, 153, 255], type='', swap=''),
30
+ 7:
31
+ dict(
32
+ name='forefinger3', id=7, color=[255, 153, 255], type='', swap=''),
33
+ 8:
34
+ dict(
35
+ name='forefinger4', id=8, color=[255, 153, 255], type='', swap=''),
36
+ 9:
37
+ dict(
38
+ name='middle_finger1',
39
+ id=9,
40
+ color=[102, 178, 255],
41
+ type='',
42
+ swap=''),
43
+ 10:
44
+ dict(
45
+ name='middle_finger2',
46
+ id=10,
47
+ color=[102, 178, 255],
48
+ type='',
49
+ swap=''),
50
+ 11:
51
+ dict(
52
+ name='middle_finger3',
53
+ id=11,
54
+ color=[102, 178, 255],
55
+ type='',
56
+ swap=''),
57
+ 12:
58
+ dict(
59
+ name='middle_finger4',
60
+ id=12,
61
+ color=[102, 178, 255],
62
+ type='',
63
+ swap=''),
64
+ 13:
65
+ dict(
66
+ name='ring_finger1', id=13, color=[255, 51, 51], type='', swap=''),
67
+ 14:
68
+ dict(
69
+ name='ring_finger2', id=14, color=[255, 51, 51], type='', swap=''),
70
+ 15:
71
+ dict(
72
+ name='ring_finger3', id=15, color=[255, 51, 51], type='', swap=''),
73
+ 16:
74
+ dict(
75
+ name='ring_finger4', id=16, color=[255, 51, 51], type='', swap=''),
76
+ 17:
77
+ dict(name='pinky_finger1', id=17, color=[0, 255, 0], type='', swap=''),
78
+ 18:
79
+ dict(name='pinky_finger2', id=18, color=[0, 255, 0], type='', swap=''),
80
+ 19:
81
+ dict(name='pinky_finger3', id=19, color=[0, 255, 0], type='', swap=''),
82
+ 20:
83
+ dict(name='pinky_finger4', id=20, color=[0, 255, 0], type='', swap='')
84
+ },
85
+ skeleton_info={
86
+ 0:
87
+ dict(link=('wrist', 'thumb1'), id=0, color=[255, 128, 0]),
88
+ 1:
89
+ dict(link=('thumb1', 'thumb2'), id=1, color=[255, 128, 0]),
90
+ 2:
91
+ dict(link=('thumb2', 'thumb3'), id=2, color=[255, 128, 0]),
92
+ 3:
93
+ dict(link=('thumb3', 'thumb4'), id=3, color=[255, 128, 0]),
94
+ 4:
95
+ dict(link=('wrist', 'forefinger1'), id=4, color=[255, 153, 255]),
96
+ 5:
97
+ dict(link=('forefinger1', 'forefinger2'), id=5, color=[255, 153, 255]),
98
+ 6:
99
+ dict(link=('forefinger2', 'forefinger3'), id=6, color=[255, 153, 255]),
100
+ 7:
101
+ dict(link=('forefinger3', 'forefinger4'), id=7, color=[255, 153, 255]),
102
+ 8:
103
+ dict(link=('wrist', 'middle_finger1'), id=8, color=[102, 178, 255]),
104
+ 9:
105
+ dict(
106
+ link=('middle_finger1', 'middle_finger2'),
107
+ id=9,
108
+ color=[102, 178, 255]),
109
+ 10:
110
+ dict(
111
+ link=('middle_finger2', 'middle_finger3'),
112
+ id=10,
113
+ color=[102, 178, 255]),
114
+ 11:
115
+ dict(
116
+ link=('middle_finger3', 'middle_finger4'),
117
+ id=11,
118
+ color=[102, 178, 255]),
119
+ 12:
120
+ dict(link=('wrist', 'ring_finger1'), id=12, color=[255, 51, 51]),
121
+ 13:
122
+ dict(
123
+ link=('ring_finger1', 'ring_finger2'), id=13, color=[255, 51, 51]),
124
+ 14:
125
+ dict(
126
+ link=('ring_finger2', 'ring_finger3'), id=14, color=[255, 51, 51]),
127
+ 15:
128
+ dict(
129
+ link=('ring_finger3', 'ring_finger4'), id=15, color=[255, 51, 51]),
130
+ 16:
131
+ dict(link=('wrist', 'pinky_finger1'), id=16, color=[0, 255, 0]),
132
+ 17:
133
+ dict(
134
+ link=('pinky_finger1', 'pinky_finger2'), id=17, color=[0, 255, 0]),
135
+ 18:
136
+ dict(
137
+ link=('pinky_finger2', 'pinky_finger3'), id=18, color=[0, 255, 0]),
138
+ 19:
139
+ dict(
140
+ link=('pinky_finger3', 'pinky_finger4'), id=19, color=[0, 255, 0])
141
+ },
142
+ joint_weights=[1.] * 21,
143
+ sigmas=[
144
+ 0.029, 0.022, 0.035, 0.037, 0.047, 0.026, 0.025, 0.024, 0.035, 0.018,
145
+ 0.024, 0.022, 0.026, 0.017, 0.021, 0.021, 0.032, 0.02, 0.019, 0.022,
146
+ 0.031
147
+ ])
mmpose/configs/_base_/datasets/cofw.py ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='cofw',
3
+ paper_info=dict(
4
+ author='Burgos-Artizzu, Xavier P and Perona, '
5
+ r'Pietro and Doll{\'a}r, Piotr',
6
+ title='Robust face landmark estimation under occlusion',
7
+ container='Proceedings of the IEEE international '
8
+ 'conference on computer vision',
9
+ year='2013',
10
+ homepage='http://www.vision.caltech.edu/xpburgos/ICCV13/',
11
+ ),
12
+ keypoint_info={
13
+ 0: dict(name='kpt-0', id=0, color=[255, 0, 0], type='', swap='kpt-1'),
14
+ 1: dict(name='kpt-1', id=1, color=[255, 0, 0], type='', swap='kpt-0'),
15
+ 2: dict(name='kpt-2', id=2, color=[255, 0, 0], type='', swap='kpt-3'),
16
+ 3: dict(name='kpt-3', id=3, color=[255, 0, 0], type='', swap='kpt-2'),
17
+ 4: dict(name='kpt-4', id=4, color=[255, 0, 0], type='', swap='kpt-6'),
18
+ 5: dict(name='kpt-5', id=5, color=[255, 0, 0], type='', swap='kpt-7'),
19
+ 6: dict(name='kpt-6', id=6, color=[255, 0, 0], type='', swap='kpt-4'),
20
+ 7: dict(name='kpt-7', id=7, color=[255, 0, 0], type='', swap='kpt-5'),
21
+ 8: dict(name='kpt-8', id=8, color=[255, 0, 0], type='', swap='kpt-9'),
22
+ 9: dict(name='kpt-9', id=9, color=[255, 0, 0], type='', swap='kpt-8'),
23
+ 10:
24
+ dict(name='kpt-10', id=10, color=[255, 0, 0], type='', swap='kpt-11'),
25
+ 11:
26
+ dict(name='kpt-11', id=11, color=[255, 0, 0], type='', swap='kpt-10'),
27
+ 12:
28
+ dict(name='kpt-12', id=12, color=[255, 0, 0], type='', swap='kpt-14'),
29
+ 13:
30
+ dict(name='kpt-13', id=13, color=[255, 0, 0], type='', swap='kpt-15'),
31
+ 14:
32
+ dict(name='kpt-14', id=14, color=[255, 0, 0], type='', swap='kpt-12'),
33
+ 15:
34
+ dict(name='kpt-15', id=15, color=[255, 0, 0], type='', swap='kpt-13'),
35
+ 16:
36
+ dict(name='kpt-16', id=16, color=[255, 0, 0], type='', swap='kpt-17'),
37
+ 17:
38
+ dict(name='kpt-17', id=17, color=[255, 0, 0], type='', swap='kpt-16'),
39
+ 18:
40
+ dict(name='kpt-18', id=18, color=[255, 0, 0], type='', swap='kpt-19'),
41
+ 19:
42
+ dict(name='kpt-19', id=19, color=[255, 0, 0], type='', swap='kpt-18'),
43
+ 20: dict(name='kpt-20', id=20, color=[255, 0, 0], type='', swap=''),
44
+ 21: dict(name='kpt-21', id=21, color=[255, 0, 0], type='', swap=''),
45
+ 22:
46
+ dict(name='kpt-22', id=22, color=[255, 0, 0], type='', swap='kpt-23'),
47
+ 23:
48
+ dict(name='kpt-23', id=23, color=[255, 0, 0], type='', swap='kpt-22'),
49
+ 24: dict(name='kpt-24', id=24, color=[255, 0, 0], type='', swap=''),
50
+ 25: dict(name='kpt-25', id=25, color=[255, 0, 0], type='', swap=''),
51
+ 26: dict(name='kpt-26', id=26, color=[255, 0, 0], type='', swap=''),
52
+ 27: dict(name='kpt-27', id=27, color=[255, 0, 0], type='', swap=''),
53
+ 28: dict(name='kpt-28', id=28, color=[255, 0, 0], type='', swap='')
54
+ },
55
+ skeleton_info={},
56
+ joint_weights=[1.] * 29,
57
+ sigmas=[])
mmpose/configs/_base_/datasets/crowdpose.py ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='crowdpose',
3
+ paper_info=dict(
4
+ author='Li, Jiefeng and Wang, Can and Zhu, Hao and '
5
+ 'Mao, Yihuan and Fang, Hao-Shu and Lu, Cewu',
6
+ title='CrowdPose: Efficient Crowded Scenes Pose Estimation '
7
+ 'and A New Benchmark',
8
+ container='Proceedings of IEEE Conference on Computer '
9
+ 'Vision and Pattern Recognition (CVPR)',
10
+ year='2019',
11
+ homepage='https://github.com/Jeff-sjtu/CrowdPose',
12
+ ),
13
+ keypoint_info={
14
+ 0:
15
+ dict(
16
+ name='left_shoulder',
17
+ id=0,
18
+ color=[51, 153, 255],
19
+ type='upper',
20
+ swap='right_shoulder'),
21
+ 1:
22
+ dict(
23
+ name='right_shoulder',
24
+ id=1,
25
+ color=[51, 153, 255],
26
+ type='upper',
27
+ swap='left_shoulder'),
28
+ 2:
29
+ dict(
30
+ name='left_elbow',
31
+ id=2,
32
+ color=[51, 153, 255],
33
+ type='upper',
34
+ swap='right_elbow'),
35
+ 3:
36
+ dict(
37
+ name='right_elbow',
38
+ id=3,
39
+ color=[51, 153, 255],
40
+ type='upper',
41
+ swap='left_elbow'),
42
+ 4:
43
+ dict(
44
+ name='left_wrist',
45
+ id=4,
46
+ color=[51, 153, 255],
47
+ type='upper',
48
+ swap='right_wrist'),
49
+ 5:
50
+ dict(
51
+ name='right_wrist',
52
+ id=5,
53
+ color=[0, 255, 0],
54
+ type='upper',
55
+ swap='left_wrist'),
56
+ 6:
57
+ dict(
58
+ name='left_hip',
59
+ id=6,
60
+ color=[255, 128, 0],
61
+ type='lower',
62
+ swap='right_hip'),
63
+ 7:
64
+ dict(
65
+ name='right_hip',
66
+ id=7,
67
+ color=[0, 255, 0],
68
+ type='lower',
69
+ swap='left_hip'),
70
+ 8:
71
+ dict(
72
+ name='left_knee',
73
+ id=8,
74
+ color=[255, 128, 0],
75
+ type='lower',
76
+ swap='right_knee'),
77
+ 9:
78
+ dict(
79
+ name='right_knee',
80
+ id=9,
81
+ color=[0, 255, 0],
82
+ type='lower',
83
+ swap='left_knee'),
84
+ 10:
85
+ dict(
86
+ name='left_ankle',
87
+ id=10,
88
+ color=[255, 128, 0],
89
+ type='lower',
90
+ swap='right_ankle'),
91
+ 11:
92
+ dict(
93
+ name='right_ankle',
94
+ id=11,
95
+ color=[0, 255, 0],
96
+ type='lower',
97
+ swap='left_ankle'),
98
+ 12:
99
+ dict(
100
+ name='top_head', id=12, color=[255, 128, 0], type='upper',
101
+ swap=''),
102
+ 13:
103
+ dict(name='neck', id=13, color=[0, 255, 0], type='upper', swap='')
104
+ },
105
+ skeleton_info={
106
+ 0:
107
+ dict(link=('left_ankle', 'left_knee'), id=0, color=[0, 255, 0]),
108
+ 1:
109
+ dict(link=('left_knee', 'left_hip'), id=1, color=[0, 255, 0]),
110
+ 2:
111
+ dict(link=('right_ankle', 'right_knee'), id=2, color=[255, 128, 0]),
112
+ 3:
113
+ dict(link=('right_knee', 'right_hip'), id=3, color=[255, 128, 0]),
114
+ 4:
115
+ dict(link=('left_hip', 'right_hip'), id=4, color=[51, 153, 255]),
116
+ 5:
117
+ dict(link=('left_shoulder', 'left_hip'), id=5, color=[51, 153, 255]),
118
+ 6:
119
+ dict(link=('right_shoulder', 'right_hip'), id=6, color=[51, 153, 255]),
120
+ 7:
121
+ dict(
122
+ link=('left_shoulder', 'right_shoulder'),
123
+ id=7,
124
+ color=[51, 153, 255]),
125
+ 8:
126
+ dict(link=('left_shoulder', 'left_elbow'), id=8, color=[0, 255, 0]),
127
+ 9:
128
+ dict(
129
+ link=('right_shoulder', 'right_elbow'), id=9, color=[255, 128, 0]),
130
+ 10:
131
+ dict(link=('left_elbow', 'left_wrist'), id=10, color=[0, 255, 0]),
132
+ 11:
133
+ dict(link=('right_elbow', 'right_wrist'), id=11, color=[255, 128, 0]),
134
+ 12:
135
+ dict(link=('top_head', 'neck'), id=12, color=[51, 153, 255]),
136
+ 13:
137
+ dict(link=('right_shoulder', 'neck'), id=13, color=[51, 153, 255]),
138
+ 14:
139
+ dict(link=('left_shoulder', 'neck'), id=14, color=[51, 153, 255])
140
+ },
141
+ joint_weights=[
142
+ 0.2, 0.2, 0.2, 1.3, 1.5, 0.2, 1.3, 1.5, 0.2, 0.2, 0.5, 0.2, 0.2, 0.5
143
+ ],
144
+ sigmas=[
145
+ 0.079, 0.079, 0.072, 0.072, 0.062, 0.062, 0.107, 0.107, 0.087, 0.087,
146
+ 0.089, 0.089, 0.079, 0.079
147
+ ])
mmpose/configs/_base_/datasets/deepfashion2.py ADDED
@@ -0,0 +1,2660 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ colors = dict(
2
+ sss=[255, 128, 0], # short_sleeve_shirt
3
+ lss=[255, 0, 128], # long_sleeved_shirt
4
+ sso=[128, 0, 255], # short_sleeved_outwear
5
+ lso=[0, 128, 255], # long_sleeved_outwear
6
+ vest=[0, 128, 128], # vest
7
+ sling=[0, 0, 128], # sling
8
+ shorts=[128, 128, 128], # shorts
9
+ trousers=[128, 0, 128], # trousers
10
+ skirt=[64, 128, 128], # skirt
11
+ ssd=[64, 64, 128], # short_sleeved_dress
12
+ lsd=[128, 64, 0], # long_sleeved_dress
13
+ vd=[128, 64, 255], # vest_dress
14
+ sd=[128, 64, 0], # sling_dress
15
+ )
16
+ dataset_info = dict(
17
+ dataset_name='deepfashion2',
18
+ paper_info=dict(
19
+ author='Yuying Ge and Ruimao Zhang and Lingyun Wu '
20
+ 'and Xiaogang Wang and Xiaoou Tang and Ping Luo',
21
+ title='DeepFashion2: A Versatile Benchmark for '
22
+ 'Detection, Pose Estimation, Segmentation and '
23
+ 'Re-Identification of Clothing Images',
24
+ container='Proceedings of IEEE Conference on Computer '
25
+ 'Vision and Pattern Recognition (CVPR)',
26
+ year='2019',
27
+ homepage='https://github.com/switchablenorms/DeepFashion2',
28
+ ),
29
+ keypoint_info={
30
+ # short_sleeved_shirt
31
+ 0:
32
+ dict(name='sss_kpt1', id=0, color=colors['sss'], type='', swap=''),
33
+ 1:
34
+ dict(
35
+ name='sss_kpt2',
36
+ id=1,
37
+ color=colors['sss'],
38
+ type='',
39
+ swap='sss_kpt6'),
40
+ 2:
41
+ dict(
42
+ name='sss_kpt3',
43
+ id=2,
44
+ color=colors['sss'],
45
+ type='',
46
+ swap='sss_kpt5'),
47
+ 3:
48
+ dict(name='sss_kpt4', id=3, color=colors['sss'], type='', swap=''),
49
+ 4:
50
+ dict(
51
+ name='sss_kpt5',
52
+ id=4,
53
+ color=colors['sss'],
54
+ type='',
55
+ swap='sss_kpt3'),
56
+ 5:
57
+ dict(
58
+ name='sss_kpt6',
59
+ id=5,
60
+ color=colors['sss'],
61
+ type='',
62
+ swap='sss_kpt2'),
63
+ 6:
64
+ dict(
65
+ name='sss_kpt7',
66
+ id=6,
67
+ color=colors['sss'],
68
+ type='',
69
+ swap='sss_kpt25'),
70
+ 7:
71
+ dict(
72
+ name='sss_kpt8',
73
+ id=7,
74
+ color=colors['sss'],
75
+ type='',
76
+ swap='sss_kpt24'),
77
+ 8:
78
+ dict(
79
+ name='sss_kpt9',
80
+ id=8,
81
+ color=colors['sss'],
82
+ type='',
83
+ swap='sss_kpt23'),
84
+ 9:
85
+ dict(
86
+ name='sss_kpt10',
87
+ id=9,
88
+ color=colors['sss'],
89
+ type='',
90
+ swap='sss_kpt22'),
91
+ 10:
92
+ dict(
93
+ name='sss_kpt11',
94
+ id=10,
95
+ color=colors['sss'],
96
+ type='',
97
+ swap='sss_kpt21'),
98
+ 11:
99
+ dict(
100
+ name='sss_kpt12',
101
+ id=11,
102
+ color=colors['sss'],
103
+ type='',
104
+ swap='sss_kpt20'),
105
+ 12:
106
+ dict(
107
+ name='sss_kpt13',
108
+ id=12,
109
+ color=colors['sss'],
110
+ type='',
111
+ swap='sss_kpt19'),
112
+ 13:
113
+ dict(
114
+ name='sss_kpt14',
115
+ id=13,
116
+ color=colors['sss'],
117
+ type='',
118
+ swap='sss_kpt18'),
119
+ 14:
120
+ dict(
121
+ name='sss_kpt15',
122
+ id=14,
123
+ color=colors['sss'],
124
+ type='',
125
+ swap='sss_kpt17'),
126
+ 15:
127
+ dict(name='sss_kpt16', id=15, color=colors['sss'], type='', swap=''),
128
+ 16:
129
+ dict(
130
+ name='sss_kpt17',
131
+ id=16,
132
+ color=colors['sss'],
133
+ type='',
134
+ swap='sss_kpt15'),
135
+ 17:
136
+ dict(
137
+ name='sss_kpt18',
138
+ id=17,
139
+ color=colors['sss'],
140
+ type='',
141
+ swap='sss_kpt14'),
142
+ 18:
143
+ dict(
144
+ name='sss_kpt19',
145
+ id=18,
146
+ color=colors['sss'],
147
+ type='',
148
+ swap='sss_kpt13'),
149
+ 19:
150
+ dict(
151
+ name='sss_kpt20',
152
+ id=19,
153
+ color=colors['sss'],
154
+ type='',
155
+ swap='sss_kpt12'),
156
+ 20:
157
+ dict(
158
+ name='sss_kpt21',
159
+ id=20,
160
+ color=colors['sss'],
161
+ type='',
162
+ swap='sss_kpt11'),
163
+ 21:
164
+ dict(
165
+ name='sss_kpt22',
166
+ id=21,
167
+ color=colors['sss'],
168
+ type='',
169
+ swap='sss_kpt10'),
170
+ 22:
171
+ dict(
172
+ name='sss_kpt23',
173
+ id=22,
174
+ color=colors['sss'],
175
+ type='',
176
+ swap='sss_kpt9'),
177
+ 23:
178
+ dict(
179
+ name='sss_kpt24',
180
+ id=23,
181
+ color=colors['sss'],
182
+ type='',
183
+ swap='sss_kpt8'),
184
+ 24:
185
+ dict(
186
+ name='sss_kpt25',
187
+ id=24,
188
+ color=colors['sss'],
189
+ type='',
190
+ swap='sss_kpt7'),
191
+ # long_sleeved_shirt
192
+ 25:
193
+ dict(name='lss_kpt1', id=25, color=colors['lss'], type='', swap=''),
194
+ 26:
195
+ dict(
196
+ name='lss_kpt2',
197
+ id=26,
198
+ color=colors['lss'],
199
+ type='',
200
+ swap='lss_kpt6'),
201
+ 27:
202
+ dict(
203
+ name='lss_kpt3',
204
+ id=27,
205
+ color=colors['lss'],
206
+ type='',
207
+ swap='lss_kpt5'),
208
+ 28:
209
+ dict(name='lss_kpt4', id=28, color=colors['lss'], type='', swap=''),
210
+ 29:
211
+ dict(
212
+ name='lss_kpt5',
213
+ id=29,
214
+ color=colors['lss'],
215
+ type='',
216
+ swap='lss_kpt3'),
217
+ 30:
218
+ dict(
219
+ name='lss_kpt6',
220
+ id=30,
221
+ color=colors['lss'],
222
+ type='',
223
+ swap='lss_kpt2'),
224
+ 31:
225
+ dict(
226
+ name='lss_kpt7',
227
+ id=31,
228
+ color=colors['lss'],
229
+ type='',
230
+ swap='lss_kpt33'),
231
+ 32:
232
+ dict(
233
+ name='lss_kpt8',
234
+ id=32,
235
+ color=colors['lss'],
236
+ type='',
237
+ swap='lss_kpt32'),
238
+ 33:
239
+ dict(
240
+ name='lss_kpt9',
241
+ id=33,
242
+ color=colors['lss'],
243
+ type='',
244
+ swap='lss_kpt31'),
245
+ 34:
246
+ dict(
247
+ name='lss_kpt10',
248
+ id=34,
249
+ color=colors['lss'],
250
+ type='',
251
+ swap='lss_kpt30'),
252
+ 35:
253
+ dict(
254
+ name='lss_kpt11',
255
+ id=35,
256
+ color=colors['lss'],
257
+ type='',
258
+ swap='lss_kpt29'),
259
+ 36:
260
+ dict(
261
+ name='lss_kpt12',
262
+ id=36,
263
+ color=colors['lss'],
264
+ type='',
265
+ swap='lss_kpt28'),
266
+ 37:
267
+ dict(
268
+ name='lss_kpt13',
269
+ id=37,
270
+ color=colors['lss'],
271
+ type='',
272
+ swap='lss_kpt27'),
273
+ 38:
274
+ dict(
275
+ name='lss_kpt14',
276
+ id=38,
277
+ color=colors['lss'],
278
+ type='',
279
+ swap='lss_kpt26'),
280
+ 39:
281
+ dict(
282
+ name='lss_kpt15',
283
+ id=39,
284
+ color=colors['lss'],
285
+ type='',
286
+ swap='lss_kpt25'),
287
+ 40:
288
+ dict(
289
+ name='lss_kpt16',
290
+ id=40,
291
+ color=colors['lss'],
292
+ type='',
293
+ swap='lss_kpt24'),
294
+ 41:
295
+ dict(
296
+ name='lss_kpt17',
297
+ id=41,
298
+ color=colors['lss'],
299
+ type='',
300
+ swap='lss_kpt23'),
301
+ 42:
302
+ dict(
303
+ name='lss_kpt18',
304
+ id=42,
305
+ color=colors['lss'],
306
+ type='',
307
+ swap='lss_kpt22'),
308
+ 43:
309
+ dict(
310
+ name='lss_kpt19',
311
+ id=43,
312
+ color=colors['lss'],
313
+ type='',
314
+ swap='lss_kpt21'),
315
+ 44:
316
+ dict(name='lss_kpt20', id=44, color=colors['lss'], type='', swap=''),
317
+ 45:
318
+ dict(
319
+ name='lss_kpt21',
320
+ id=45,
321
+ color=colors['lss'],
322
+ type='',
323
+ swap='lss_kpt19'),
324
+ 46:
325
+ dict(
326
+ name='lss_kpt22',
327
+ id=46,
328
+ color=colors['lss'],
329
+ type='',
330
+ swap='lss_kpt18'),
331
+ 47:
332
+ dict(
333
+ name='lss_kpt23',
334
+ id=47,
335
+ color=colors['lss'],
336
+ type='',
337
+ swap='lss_kpt17'),
338
+ 48:
339
+ dict(
340
+ name='lss_kpt24',
341
+ id=48,
342
+ color=colors['lss'],
343
+ type='',
344
+ swap='lss_kpt16'),
345
+ 49:
346
+ dict(
347
+ name='lss_kpt25',
348
+ id=49,
349
+ color=colors['lss'],
350
+ type='',
351
+ swap='lss_kpt15'),
352
+ 50:
353
+ dict(
354
+ name='lss_kpt26',
355
+ id=50,
356
+ color=colors['lss'],
357
+ type='',
358
+ swap='lss_kpt14'),
359
+ 51:
360
+ dict(
361
+ name='lss_kpt27',
362
+ id=51,
363
+ color=colors['lss'],
364
+ type='',
365
+ swap='lss_kpt13'),
366
+ 52:
367
+ dict(
368
+ name='lss_kpt28',
369
+ id=52,
370
+ color=colors['lss'],
371
+ type='',
372
+ swap='lss_kpt12'),
373
+ 53:
374
+ dict(
375
+ name='lss_kpt29',
376
+ id=53,
377
+ color=colors['lss'],
378
+ type='',
379
+ swap='lss_kpt11'),
380
+ 54:
381
+ dict(
382
+ name='lss_kpt30',
383
+ id=54,
384
+ color=colors['lss'],
385
+ type='',
386
+ swap='lss_kpt10'),
387
+ 55:
388
+ dict(
389
+ name='lss_kpt31',
390
+ id=55,
391
+ color=colors['lss'],
392
+ type='',
393
+ swap='lss_kpt9'),
394
+ 56:
395
+ dict(
396
+ name='lss_kpt32',
397
+ id=56,
398
+ color=colors['lss'],
399
+ type='',
400
+ swap='lss_kpt8'),
401
+ 57:
402
+ dict(
403
+ name='lss_kpt33',
404
+ id=57,
405
+ color=colors['lss'],
406
+ type='',
407
+ swap='lss_kpt7'),
408
+ # short_sleeved_outwear
409
+ 58:
410
+ dict(name='sso_kpt1', id=58, color=colors['sso'], type='', swap=''),
411
+ 59:
412
+ dict(
413
+ name='sso_kpt2',
414
+ id=59,
415
+ color=colors['sso'],
416
+ type='',
417
+ swap='sso_kpt26'),
418
+ 60:
419
+ dict(
420
+ name='sso_kpt3',
421
+ id=60,
422
+ color=colors['sso'],
423
+ type='',
424
+ swap='sso_kpt5'),
425
+ 61:
426
+ dict(
427
+ name='sso_kpt4',
428
+ id=61,
429
+ color=colors['sso'],
430
+ type='',
431
+ swap='sso_kpt6'),
432
+ 62:
433
+ dict(
434
+ name='sso_kpt5',
435
+ id=62,
436
+ color=colors['sso'],
437
+ type='',
438
+ swap='sso_kpt3'),
439
+ 63:
440
+ dict(
441
+ name='sso_kpt6',
442
+ id=63,
443
+ color=colors['sso'],
444
+ type='',
445
+ swap='sso_kpt4'),
446
+ 64:
447
+ dict(
448
+ name='sso_kpt7',
449
+ id=64,
450
+ color=colors['sso'],
451
+ type='',
452
+ swap='sso_kpt25'),
453
+ 65:
454
+ dict(
455
+ name='sso_kpt8',
456
+ id=65,
457
+ color=colors['sso'],
458
+ type='',
459
+ swap='sso_kpt24'),
460
+ 66:
461
+ dict(
462
+ name='sso_kpt9',
463
+ id=66,
464
+ color=colors['sso'],
465
+ type='',
466
+ swap='sso_kpt23'),
467
+ 67:
468
+ dict(
469
+ name='sso_kpt10',
470
+ id=67,
471
+ color=colors['sso'],
472
+ type='',
473
+ swap='sso_kpt22'),
474
+ 68:
475
+ dict(
476
+ name='sso_kpt11',
477
+ id=68,
478
+ color=colors['sso'],
479
+ type='',
480
+ swap='sso_kpt21'),
481
+ 69:
482
+ dict(
483
+ name='sso_kpt12',
484
+ id=69,
485
+ color=colors['sso'],
486
+ type='',
487
+ swap='sso_kpt20'),
488
+ 70:
489
+ dict(
490
+ name='sso_kpt13',
491
+ id=70,
492
+ color=colors['sso'],
493
+ type='',
494
+ swap='sso_kpt19'),
495
+ 71:
496
+ dict(
497
+ name='sso_kpt14',
498
+ id=71,
499
+ color=colors['sso'],
500
+ type='',
501
+ swap='sso_kpt18'),
502
+ 72:
503
+ dict(
504
+ name='sso_kpt15',
505
+ id=72,
506
+ color=colors['sso'],
507
+ type='',
508
+ swap='sso_kpt17'),
509
+ 73:
510
+ dict(
511
+ name='sso_kpt16',
512
+ id=73,
513
+ color=colors['sso'],
514
+ type='',
515
+ swap='sso_kpt29'),
516
+ 74:
517
+ dict(
518
+ name='sso_kpt17',
519
+ id=74,
520
+ color=colors['sso'],
521
+ type='',
522
+ swap='sso_kpt15'),
523
+ 75:
524
+ dict(
525
+ name='sso_kpt18',
526
+ id=75,
527
+ color=colors['sso'],
528
+ type='',
529
+ swap='sso_kpt14'),
530
+ 76:
531
+ dict(
532
+ name='sso_kpt19',
533
+ id=76,
534
+ color=colors['sso'],
535
+ type='',
536
+ swap='sso_kpt13'),
537
+ 77:
538
+ dict(
539
+ name='sso_kpt20',
540
+ id=77,
541
+ color=colors['sso'],
542
+ type='',
543
+ swap='sso_kpt12'),
544
+ 78:
545
+ dict(
546
+ name='sso_kpt21',
547
+ id=78,
548
+ color=colors['sso'],
549
+ type='',
550
+ swap='sso_kpt11'),
551
+ 79:
552
+ dict(
553
+ name='sso_kpt22',
554
+ id=79,
555
+ color=colors['sso'],
556
+ type='',
557
+ swap='sso_kpt10'),
558
+ 80:
559
+ dict(
560
+ name='sso_kpt23',
561
+ id=80,
562
+ color=colors['sso'],
563
+ type='',
564
+ swap='sso_kpt9'),
565
+ 81:
566
+ dict(
567
+ name='sso_kpt24',
568
+ id=81,
569
+ color=colors['sso'],
570
+ type='',
571
+ swap='sso_kpt8'),
572
+ 82:
573
+ dict(
574
+ name='sso_kpt25',
575
+ id=82,
576
+ color=colors['sso'],
577
+ type='',
578
+ swap='sso_kpt7'),
579
+ 83:
580
+ dict(
581
+ name='sso_kpt26',
582
+ id=83,
583
+ color=colors['sso'],
584
+ type='',
585
+ swap='sso_kpt2'),
586
+ 84:
587
+ dict(
588
+ name='sso_kpt27',
589
+ id=84,
590
+ color=colors['sso'],
591
+ type='',
592
+ swap='sso_kpt30'),
593
+ 85:
594
+ dict(
595
+ name='sso_kpt28',
596
+ id=85,
597
+ color=colors['sso'],
598
+ type='',
599
+ swap='sso_kpt31'),
600
+ 86:
601
+ dict(
602
+ name='sso_kpt29',
603
+ id=86,
604
+ color=colors['sso'],
605
+ type='',
606
+ swap='sso_kpt16'),
607
+ 87:
608
+ dict(
609
+ name='sso_kpt30',
610
+ id=87,
611
+ color=colors['sso'],
612
+ type='',
613
+ swap='sso_kpt27'),
614
+ 88:
615
+ dict(
616
+ name='sso_kpt31',
617
+ id=88,
618
+ color=colors['sso'],
619
+ type='',
620
+ swap='sso_kpt28'),
621
+ # long_sleeved_outwear
622
+ 89:
623
+ dict(name='lso_kpt1', id=89, color=colors['lso'], type='', swap=''),
624
+ 90:
625
+ dict(
626
+ name='lso_kpt2',
627
+ id=90,
628
+ color=colors['lso'],
629
+ type='',
630
+ swap='lso_kpt6'),
631
+ 91:
632
+ dict(
633
+ name='lso_kpt3',
634
+ id=91,
635
+ color=colors['lso'],
636
+ type='',
637
+ swap='lso_kpt5'),
638
+ 92:
639
+ dict(
640
+ name='lso_kpt4',
641
+ id=92,
642
+ color=colors['lso'],
643
+ type='',
644
+ swap='lso_kpt34'),
645
+ 93:
646
+ dict(
647
+ name='lso_kpt5',
648
+ id=93,
649
+ color=colors['lso'],
650
+ type='',
651
+ swap='lso_kpt3'),
652
+ 94:
653
+ dict(
654
+ name='lso_kpt6',
655
+ id=94,
656
+ color=colors['lso'],
657
+ type='',
658
+ swap='lso_kpt2'),
659
+ 95:
660
+ dict(
661
+ name='lso_kpt7',
662
+ id=95,
663
+ color=colors['lso'],
664
+ type='',
665
+ swap='lso_kpt33'),
666
+ 96:
667
+ dict(
668
+ name='lso_kpt8',
669
+ id=96,
670
+ color=colors['lso'],
671
+ type='',
672
+ swap='lso_kpt32'),
673
+ 97:
674
+ dict(
675
+ name='lso_kpt9',
676
+ id=97,
677
+ color=colors['lso'],
678
+ type='',
679
+ swap='lso_kpt31'),
680
+ 98:
681
+ dict(
682
+ name='lso_kpt10',
683
+ id=98,
684
+ color=colors['lso'],
685
+ type='',
686
+ swap='lso_kpt30'),
687
+ 99:
688
+ dict(
689
+ name='lso_kpt11',
690
+ id=99,
691
+ color=colors['lso'],
692
+ type='',
693
+ swap='lso_kpt29'),
694
+ 100:
695
+ dict(
696
+ name='lso_kpt12',
697
+ id=100,
698
+ color=colors['lso'],
699
+ type='',
700
+ swap='lso_kpt28'),
701
+ 101:
702
+ dict(
703
+ name='lso_kpt13',
704
+ id=101,
705
+ color=colors['lso'],
706
+ type='',
707
+ swap='lso_kpt27'),
708
+ 102:
709
+ dict(
710
+ name='lso_kpt14',
711
+ id=102,
712
+ color=colors['lso'],
713
+ type='',
714
+ swap='lso_kpt26'),
715
+ 103:
716
+ dict(
717
+ name='lso_kpt15',
718
+ id=103,
719
+ color=colors['lso'],
720
+ type='',
721
+ swap='lso_kpt25'),
722
+ 104:
723
+ dict(
724
+ name='lso_kpt16',
725
+ id=104,
726
+ color=colors['lso'],
727
+ type='',
728
+ swap='lso_kpt24'),
729
+ 105:
730
+ dict(
731
+ name='lso_kpt17',
732
+ id=105,
733
+ color=colors['lso'],
734
+ type='',
735
+ swap='lso_kpt23'),
736
+ 106:
737
+ dict(
738
+ name='lso_kpt18',
739
+ id=106,
740
+ color=colors['lso'],
741
+ type='',
742
+ swap='lso_kpt22'),
743
+ 107:
744
+ dict(
745
+ name='lso_kpt19',
746
+ id=107,
747
+ color=colors['lso'],
748
+ type='',
749
+ swap='lso_kpt21'),
750
+ 108:
751
+ dict(
752
+ name='lso_kpt20',
753
+ id=108,
754
+ color=colors['lso'],
755
+ type='',
756
+ swap='lso_kpt37'),
757
+ 109:
758
+ dict(
759
+ name='lso_kpt21',
760
+ id=109,
761
+ color=colors['lso'],
762
+ type='',
763
+ swap='lso_kpt19'),
764
+ 110:
765
+ dict(
766
+ name='lso_kpt22',
767
+ id=110,
768
+ color=colors['lso'],
769
+ type='',
770
+ swap='lso_kpt18'),
771
+ 111:
772
+ dict(
773
+ name='lso_kpt23',
774
+ id=111,
775
+ color=colors['lso'],
776
+ type='',
777
+ swap='lso_kpt17'),
778
+ 112:
779
+ dict(
780
+ name='lso_kpt24',
781
+ id=112,
782
+ color=colors['lso'],
783
+ type='',
784
+ swap='lso_kpt16'),
785
+ 113:
786
+ dict(
787
+ name='lso_kpt25',
788
+ id=113,
789
+ color=colors['lso'],
790
+ type='',
791
+ swap='lso_kpt15'),
792
+ 114:
793
+ dict(
794
+ name='lso_kpt26',
795
+ id=114,
796
+ color=colors['lso'],
797
+ type='',
798
+ swap='lso_kpt14'),
799
+ 115:
800
+ dict(
801
+ name='lso_kpt27',
802
+ id=115,
803
+ color=colors['lso'],
804
+ type='',
805
+ swap='lso_kpt13'),
806
+ 116:
807
+ dict(
808
+ name='lso_kpt28',
809
+ id=116,
810
+ color=colors['lso'],
811
+ type='',
812
+ swap='lso_kpt12'),
813
+ 117:
814
+ dict(
815
+ name='lso_kpt29',
816
+ id=117,
817
+ color=colors['lso'],
818
+ type='',
819
+ swap='lso_kpt11'),
820
+ 118:
821
+ dict(
822
+ name='lso_kpt30',
823
+ id=118,
824
+ color=colors['lso'],
825
+ type='',
826
+ swap='lso_kpt10'),
827
+ 119:
828
+ dict(
829
+ name='lso_kpt31',
830
+ id=119,
831
+ color=colors['lso'],
832
+ type='',
833
+ swap='lso_kpt9'),
834
+ 120:
835
+ dict(
836
+ name='lso_kpt32',
837
+ id=120,
838
+ color=colors['lso'],
839
+ type='',
840
+ swap='lso_kpt8'),
841
+ 121:
842
+ dict(
843
+ name='lso_kpt33',
844
+ id=121,
845
+ color=colors['lso'],
846
+ type='',
847
+ swap='lso_kpt7'),
848
+ 122:
849
+ dict(
850
+ name='lso_kpt34',
851
+ id=122,
852
+ color=colors['lso'],
853
+ type='',
854
+ swap='lso_kpt4'),
855
+ 123:
856
+ dict(
857
+ name='lso_kpt35',
858
+ id=123,
859
+ color=colors['lso'],
860
+ type='',
861
+ swap='lso_kpt38'),
862
+ 124:
863
+ dict(
864
+ name='lso_kpt36',
865
+ id=124,
866
+ color=colors['lso'],
867
+ type='',
868
+ swap='lso_kpt39'),
869
+ 125:
870
+ dict(
871
+ name='lso_kpt37',
872
+ id=125,
873
+ color=colors['lso'],
874
+ type='',
875
+ swap='lso_kpt20'),
876
+ 126:
877
+ dict(
878
+ name='lso_kpt38',
879
+ id=126,
880
+ color=colors['lso'],
881
+ type='',
882
+ swap='lso_kpt35'),
883
+ 127:
884
+ dict(
885
+ name='lso_kpt39',
886
+ id=127,
887
+ color=colors['lso'],
888
+ type='',
889
+ swap='lso_kpt36'),
890
+ # vest
891
+ 128:
892
+ dict(name='vest_kpt1', id=128, color=colors['vest'], type='', swap=''),
893
+ 129:
894
+ dict(
895
+ name='vest_kpt2',
896
+ id=129,
897
+ color=colors['vest'],
898
+ type='',
899
+ swap='vest_kpt6'),
900
+ 130:
901
+ dict(
902
+ name='vest_kpt3',
903
+ id=130,
904
+ color=colors['vest'],
905
+ type='',
906
+ swap='vest_kpt5'),
907
+ 131:
908
+ dict(name='vest_kpt4', id=131, color=colors['vest'], type='', swap=''),
909
+ 132:
910
+ dict(
911
+ name='vest_kpt5',
912
+ id=132,
913
+ color=colors['vest'],
914
+ type='',
915
+ swap='vest_kpt3'),
916
+ 133:
917
+ dict(
918
+ name='vest_kpt6',
919
+ id=133,
920
+ color=colors['vest'],
921
+ type='',
922
+ swap='vest_kpt2'),
923
+ 134:
924
+ dict(
925
+ name='vest_kpt7',
926
+ id=134,
927
+ color=colors['vest'],
928
+ type='',
929
+ swap='vest_kpt15'),
930
+ 135:
931
+ dict(
932
+ name='vest_kpt8',
933
+ id=135,
934
+ color=colors['vest'],
935
+ type='',
936
+ swap='vest_kpt14'),
937
+ 136:
938
+ dict(
939
+ name='vest_kpt9',
940
+ id=136,
941
+ color=colors['vest'],
942
+ type='',
943
+ swap='vest_kpt13'),
944
+ 137:
945
+ dict(
946
+ name='vest_kpt10',
947
+ id=137,
948
+ color=colors['vest'],
949
+ type='',
950
+ swap='vest_kpt12'),
951
+ 138:
952
+ dict(
953
+ name='vest_kpt11', id=138, color=colors['vest'], type='', swap=''),
954
+ 139:
955
+ dict(
956
+ name='vest_kpt12',
957
+ id=139,
958
+ color=colors['vest'],
959
+ type='',
960
+ swap='vest_kpt10'),
961
+ 140:
962
+ dict(
963
+ name='vest_kpt13', id=140, color=colors['vest'], type='', swap=''),
964
+ 141:
965
+ dict(
966
+ name='vest_kpt14',
967
+ id=141,
968
+ color=colors['vest'],
969
+ type='',
970
+ swap='vest_kpt8'),
971
+ 142:
972
+ dict(
973
+ name='vest_kpt15',
974
+ id=142,
975
+ color=colors['vest'],
976
+ type='',
977
+ swap='vest_kpt7'),
978
+ # sling
979
+ 143:
980
+ dict(
981
+ name='sling_kpt1', id=143, color=colors['sling'], type='',
982
+ swap=''),
983
+ 144:
984
+ dict(
985
+ name='sling_kpt2',
986
+ id=144,
987
+ color=colors['sling'],
988
+ type='',
989
+ swap='sling_kpt6'),
990
+ 145:
991
+ dict(
992
+ name='sling_kpt3',
993
+ id=145,
994
+ color=colors['sling'],
995
+ type='',
996
+ swap='sling_kpt5'),
997
+ 146:
998
+ dict(
999
+ name='sling_kpt4', id=146, color=colors['sling'], type='',
1000
+ swap=''),
1001
+ 147:
1002
+ dict(
1003
+ name='sling_kpt5',
1004
+ id=147,
1005
+ color=colors['sling'],
1006
+ type='',
1007
+ swap='sling_kpt3'),
1008
+ 148:
1009
+ dict(
1010
+ name='sling_kpt6',
1011
+ id=148,
1012
+ color=colors['sling'],
1013
+ type='',
1014
+ swap='sling_kpt2'),
1015
+ 149:
1016
+ dict(
1017
+ name='sling_kpt7',
1018
+ id=149,
1019
+ color=colors['sling'],
1020
+ type='',
1021
+ swap='sling_kpt15'),
1022
+ 150:
1023
+ dict(
1024
+ name='sling_kpt8',
1025
+ id=150,
1026
+ color=colors['sling'],
1027
+ type='',
1028
+ swap='sling_kpt14'),
1029
+ 151:
1030
+ dict(
1031
+ name='sling_kpt9',
1032
+ id=151,
1033
+ color=colors['sling'],
1034
+ type='',
1035
+ swap='sling_kpt13'),
1036
+ 152:
1037
+ dict(
1038
+ name='sling_kpt10',
1039
+ id=152,
1040
+ color=colors['sling'],
1041
+ type='',
1042
+ swap='sling_kpt12'),
1043
+ 153:
1044
+ dict(
1045
+ name='sling_kpt11',
1046
+ id=153,
1047
+ color=colors['sling'],
1048
+ type='',
1049
+ swap=''),
1050
+ 154:
1051
+ dict(
1052
+ name='sling_kpt12',
1053
+ id=154,
1054
+ color=colors['sling'],
1055
+ type='',
1056
+ swap='sling_kpt10'),
1057
+ 155:
1058
+ dict(
1059
+ name='sling_kpt13',
1060
+ id=155,
1061
+ color=colors['sling'],
1062
+ type='',
1063
+ swap='sling_kpt9'),
1064
+ 156:
1065
+ dict(
1066
+ name='sling_kpt14',
1067
+ id=156,
1068
+ color=colors['sling'],
1069
+ type='',
1070
+ swap='sling_kpt8'),
1071
+ 157:
1072
+ dict(
1073
+ name='sling_kpt15',
1074
+ id=157,
1075
+ color=colors['sling'],
1076
+ type='',
1077
+ swap='sling_kpt7'),
1078
+ # shorts
1079
+ 158:
1080
+ dict(
1081
+ name='shorts_kpt1',
1082
+ id=158,
1083
+ color=colors['shorts'],
1084
+ type='',
1085
+ swap='shorts_kpt3'),
1086
+ 159:
1087
+ dict(
1088
+ name='shorts_kpt2',
1089
+ id=159,
1090
+ color=colors['shorts'],
1091
+ type='',
1092
+ swap=''),
1093
+ 160:
1094
+ dict(
1095
+ name='shorts_kpt3',
1096
+ id=160,
1097
+ color=colors['shorts'],
1098
+ type='',
1099
+ swap='shorts_kpt1'),
1100
+ 161:
1101
+ dict(
1102
+ name='shorts_kpt4',
1103
+ id=161,
1104
+ color=colors['shorts'],
1105
+ type='',
1106
+ swap='shorts_kpt10'),
1107
+ 162:
1108
+ dict(
1109
+ name='shorts_kpt5',
1110
+ id=162,
1111
+ color=colors['shorts'],
1112
+ type='',
1113
+ swap='shorts_kpt9'),
1114
+ 163:
1115
+ dict(
1116
+ name='shorts_kpt6',
1117
+ id=163,
1118
+ color=colors['shorts'],
1119
+ type='',
1120
+ swap='shorts_kpt8'),
1121
+ 164:
1122
+ dict(
1123
+ name='shorts_kpt7',
1124
+ id=164,
1125
+ color=colors['shorts'],
1126
+ type='',
1127
+ swap=''),
1128
+ 165:
1129
+ dict(
1130
+ name='shorts_kpt8',
1131
+ id=165,
1132
+ color=colors['shorts'],
1133
+ type='',
1134
+ swap='shorts_kpt6'),
1135
+ 166:
1136
+ dict(
1137
+ name='shorts_kpt9',
1138
+ id=166,
1139
+ color=colors['shorts'],
1140
+ type='',
1141
+ swap='shorts_kpt5'),
1142
+ 167:
1143
+ dict(
1144
+ name='shorts_kpt10',
1145
+ id=167,
1146
+ color=colors['shorts'],
1147
+ type='',
1148
+ swap='shorts_kpt4'),
1149
+ # trousers
1150
+ 168:
1151
+ dict(
1152
+ name='trousers_kpt1',
1153
+ id=168,
1154
+ color=colors['trousers'],
1155
+ type='',
1156
+ swap='trousers_kpt3'),
1157
+ 169:
1158
+ dict(
1159
+ name='trousers_kpt2',
1160
+ id=169,
1161
+ color=colors['trousers'],
1162
+ type='',
1163
+ swap=''),
1164
+ 170:
1165
+ dict(
1166
+ name='trousers_kpt3',
1167
+ id=170,
1168
+ color=colors['trousers'],
1169
+ type='',
1170
+ swap='trousers_kpt1'),
1171
+ 171:
1172
+ dict(
1173
+ name='trousers_kpt4',
1174
+ id=171,
1175
+ color=colors['trousers'],
1176
+ type='',
1177
+ swap='trousers_kpt14'),
1178
+ 172:
1179
+ dict(
1180
+ name='trousers_kpt5',
1181
+ id=172,
1182
+ color=colors['trousers'],
1183
+ type='',
1184
+ swap='trousers_kpt13'),
1185
+ 173:
1186
+ dict(
1187
+ name='trousers_kpt6',
1188
+ id=173,
1189
+ color=colors['trousers'],
1190
+ type='',
1191
+ swap='trousers_kpt12'),
1192
+ 174:
1193
+ dict(
1194
+ name='trousers_kpt7',
1195
+ id=174,
1196
+ color=colors['trousers'],
1197
+ type='',
1198
+ swap='trousers_kpt11'),
1199
+ 175:
1200
+ dict(
1201
+ name='trousers_kpt8',
1202
+ id=175,
1203
+ color=colors['trousers'],
1204
+ type='',
1205
+ swap='trousers_kpt10'),
1206
+ 176:
1207
+ dict(
1208
+ name='trousers_kpt9',
1209
+ id=176,
1210
+ color=colors['trousers'],
1211
+ type='',
1212
+ swap=''),
1213
+ 177:
1214
+ dict(
1215
+ name='trousers_kpt10',
1216
+ id=177,
1217
+ color=colors['trousers'],
1218
+ type='',
1219
+ swap='trousers_kpt8'),
1220
+ 178:
1221
+ dict(
1222
+ name='trousers_kpt11',
1223
+ id=178,
1224
+ color=colors['trousers'],
1225
+ type='',
1226
+ swap='trousers_kpt7'),
1227
+ 179:
1228
+ dict(
1229
+ name='trousers_kpt12',
1230
+ id=179,
1231
+ color=colors['trousers'],
1232
+ type='',
1233
+ swap='trousers_kpt6'),
1234
+ 180:
1235
+ dict(
1236
+ name='trousers_kpt13',
1237
+ id=180,
1238
+ color=colors['trousers'],
1239
+ type='',
1240
+ swap='trousers_kpt5'),
1241
+ 181:
1242
+ dict(
1243
+ name='trousers_kpt14',
1244
+ id=181,
1245
+ color=colors['trousers'],
1246
+ type='',
1247
+ swap='trousers_kpt4'),
1248
+ # skirt
1249
+ 182:
1250
+ dict(
1251
+ name='skirt_kpt1',
1252
+ id=182,
1253
+ color=colors['skirt'],
1254
+ type='',
1255
+ swap='skirt_kpt3'),
1256
+ 183:
1257
+ dict(
1258
+ name='skirt_kpt2', id=183, color=colors['skirt'], type='',
1259
+ swap=''),
1260
+ 184:
1261
+ dict(
1262
+ name='skirt_kpt3',
1263
+ id=184,
1264
+ color=colors['skirt'],
1265
+ type='',
1266
+ swap='skirt_kpt1'),
1267
+ 185:
1268
+ dict(
1269
+ name='skirt_kpt4',
1270
+ id=185,
1271
+ color=colors['skirt'],
1272
+ type='',
1273
+ swap='skirt_kpt8'),
1274
+ 186:
1275
+ dict(
1276
+ name='skirt_kpt5',
1277
+ id=186,
1278
+ color=colors['skirt'],
1279
+ type='',
1280
+ swap='skirt_kpt7'),
1281
+ 187:
1282
+ dict(
1283
+ name='skirt_kpt6', id=187, color=colors['skirt'], type='',
1284
+ swap=''),
1285
+ 188:
1286
+ dict(
1287
+ name='skirt_kpt7',
1288
+ id=188,
1289
+ color=colors['skirt'],
1290
+ type='',
1291
+ swap='skirt_kpt5'),
1292
+ 189:
1293
+ dict(
1294
+ name='skirt_kpt8',
1295
+ id=189,
1296
+ color=colors['skirt'],
1297
+ type='',
1298
+ swap='skirt_kpt4'),
1299
+ # short_sleeved_dress
1300
+ 190:
1301
+ dict(name='ssd_kpt1', id=190, color=colors['ssd'], type='', swap=''),
1302
+ 191:
1303
+ dict(
1304
+ name='ssd_kpt2',
1305
+ id=191,
1306
+ color=colors['ssd'],
1307
+ type='',
1308
+ swap='ssd_kpt6'),
1309
+ 192:
1310
+ dict(
1311
+ name='ssd_kpt3',
1312
+ id=192,
1313
+ color=colors['ssd'],
1314
+ type='',
1315
+ swap='ssd_kpt5'),
1316
+ 193:
1317
+ dict(name='ssd_kpt4', id=193, color=colors['ssd'], type='', swap=''),
1318
+ 194:
1319
+ dict(
1320
+ name='ssd_kpt5',
1321
+ id=194,
1322
+ color=colors['ssd'],
1323
+ type='',
1324
+ swap='ssd_kpt3'),
1325
+ 195:
1326
+ dict(
1327
+ name='ssd_kpt6',
1328
+ id=195,
1329
+ color=colors['ssd'],
1330
+ type='',
1331
+ swap='ssd_kpt2'),
1332
+ 196:
1333
+ dict(
1334
+ name='ssd_kpt7',
1335
+ id=196,
1336
+ color=colors['ssd'],
1337
+ type='',
1338
+ swap='ssd_kpt29'),
1339
+ 197:
1340
+ dict(
1341
+ name='ssd_kpt8',
1342
+ id=197,
1343
+ color=colors['ssd'],
1344
+ type='',
1345
+ swap='ssd_kpt28'),
1346
+ 198:
1347
+ dict(
1348
+ name='ssd_kpt9',
1349
+ id=198,
1350
+ color=colors['ssd'],
1351
+ type='',
1352
+ swap='ssd_kpt27'),
1353
+ 199:
1354
+ dict(
1355
+ name='ssd_kpt10',
1356
+ id=199,
1357
+ color=colors['ssd'],
1358
+ type='',
1359
+ swap='ssd_kpt26'),
1360
+ 200:
1361
+ dict(
1362
+ name='ssd_kpt11',
1363
+ id=200,
1364
+ color=colors['ssd'],
1365
+ type='',
1366
+ swap='ssd_kpt25'),
1367
+ 201:
1368
+ dict(
1369
+ name='ssd_kpt12',
1370
+ id=201,
1371
+ color=colors['ssd'],
1372
+ type='',
1373
+ swap='ssd_kpt24'),
1374
+ 202:
1375
+ dict(
1376
+ name='ssd_kpt13',
1377
+ id=202,
1378
+ color=colors['ssd'],
1379
+ type='',
1380
+ swap='ssd_kpt23'),
1381
+ 203:
1382
+ dict(
1383
+ name='ssd_kpt14',
1384
+ id=203,
1385
+ color=colors['ssd'],
1386
+ type='',
1387
+ swap='ssd_kpt22'),
1388
+ 204:
1389
+ dict(
1390
+ name='ssd_kpt15',
1391
+ id=204,
1392
+ color=colors['ssd'],
1393
+ type='',
1394
+ swap='ssd_kpt21'),
1395
+ 205:
1396
+ dict(
1397
+ name='ssd_kpt16',
1398
+ id=205,
1399
+ color=colors['ssd'],
1400
+ type='',
1401
+ swap='ssd_kpt20'),
1402
+ 206:
1403
+ dict(
1404
+ name='ssd_kpt17',
1405
+ id=206,
1406
+ color=colors['ssd'],
1407
+ type='',
1408
+ swap='ssd_kpt19'),
1409
+ 207:
1410
+ dict(name='ssd_kpt18', id=207, color=colors['ssd'], type='', swap=''),
1411
+ 208:
1412
+ dict(
1413
+ name='ssd_kpt19',
1414
+ id=208,
1415
+ color=colors['ssd'],
1416
+ type='',
1417
+ swap='ssd_kpt17'),
1418
+ 209:
1419
+ dict(
1420
+ name='ssd_kpt20',
1421
+ id=209,
1422
+ color=colors['ssd'],
1423
+ type='',
1424
+ swap='ssd_kpt16'),
1425
+ 210:
1426
+ dict(
1427
+ name='ssd_kpt21',
1428
+ id=210,
1429
+ color=colors['ssd'],
1430
+ type='',
1431
+ swap='ssd_kpt15'),
1432
+ 211:
1433
+ dict(
1434
+ name='ssd_kpt22',
1435
+ id=211,
1436
+ color=colors['ssd'],
1437
+ type='',
1438
+ swap='ssd_kpt14'),
1439
+ 212:
1440
+ dict(
1441
+ name='ssd_kpt23',
1442
+ id=212,
1443
+ color=colors['ssd'],
1444
+ type='',
1445
+ swap='ssd_kpt13'),
1446
+ 213:
1447
+ dict(
1448
+ name='ssd_kpt24',
1449
+ id=213,
1450
+ color=colors['ssd'],
1451
+ type='',
1452
+ swap='ssd_kpt12'),
1453
+ 214:
1454
+ dict(
1455
+ name='ssd_kpt25',
1456
+ id=214,
1457
+ color=colors['ssd'],
1458
+ type='',
1459
+ swap='ssd_kpt11'),
1460
+ 215:
1461
+ dict(
1462
+ name='ssd_kpt26',
1463
+ id=215,
1464
+ color=colors['ssd'],
1465
+ type='',
1466
+ swap='ssd_kpt10'),
1467
+ 216:
1468
+ dict(
1469
+ name='ssd_kpt27',
1470
+ id=216,
1471
+ color=colors['ssd'],
1472
+ type='',
1473
+ swap='ssd_kpt9'),
1474
+ 217:
1475
+ dict(
1476
+ name='ssd_kpt28',
1477
+ id=217,
1478
+ color=colors['ssd'],
1479
+ type='',
1480
+ swap='ssd_kpt8'),
1481
+ 218:
1482
+ dict(
1483
+ name='ssd_kpt29',
1484
+ id=218,
1485
+ color=colors['ssd'],
1486
+ type='',
1487
+ swap='ssd_kpt7'),
1488
+ # long_sleeved_dress
1489
+ 219:
1490
+ dict(name='lsd_kpt1', id=219, color=colors['lsd'], type='', swap=''),
1491
+ 220:
1492
+ dict(
1493
+ name='lsd_kpt2',
1494
+ id=220,
1495
+ color=colors['lsd'],
1496
+ type='',
1497
+ swap='lsd_kpt6'),
1498
+ 221:
1499
+ dict(
1500
+ name='lsd_kpt3',
1501
+ id=221,
1502
+ color=colors['lsd'],
1503
+ type='',
1504
+ swap='lsd_kpt5'),
1505
+ 222:
1506
+ dict(name='lsd_kpt4', id=222, color=colors['lsd'], type='', swap=''),
1507
+ 223:
1508
+ dict(
1509
+ name='lsd_kpt5',
1510
+ id=223,
1511
+ color=colors['lsd'],
1512
+ type='',
1513
+ swap='lsd_kpt3'),
1514
+ 224:
1515
+ dict(
1516
+ name='lsd_kpt6',
1517
+ id=224,
1518
+ color=colors['lsd'],
1519
+ type='',
1520
+ swap='lsd_kpt2'),
1521
+ 225:
1522
+ dict(
1523
+ name='lsd_kpt7',
1524
+ id=225,
1525
+ color=colors['lsd'],
1526
+ type='',
1527
+ swap='lsd_kpt37'),
1528
+ 226:
1529
+ dict(
1530
+ name='lsd_kpt8',
1531
+ id=226,
1532
+ color=colors['lsd'],
1533
+ type='',
1534
+ swap='lsd_kpt36'),
1535
+ 227:
1536
+ dict(
1537
+ name='lsd_kpt9',
1538
+ id=227,
1539
+ color=colors['lsd'],
1540
+ type='',
1541
+ swap='lsd_kpt35'),
1542
+ 228:
1543
+ dict(
1544
+ name='lsd_kpt10',
1545
+ id=228,
1546
+ color=colors['lsd'],
1547
+ type='',
1548
+ swap='lsd_kpt34'),
1549
+ 229:
1550
+ dict(
1551
+ name='lsd_kpt11',
1552
+ id=229,
1553
+ color=colors['lsd'],
1554
+ type='',
1555
+ swap='lsd_kpt33'),
1556
+ 230:
1557
+ dict(
1558
+ name='lsd_kpt12',
1559
+ id=230,
1560
+ color=colors['lsd'],
1561
+ type='',
1562
+ swap='lsd_kpt32'),
1563
+ 231:
1564
+ dict(
1565
+ name='lsd_kpt13',
1566
+ id=231,
1567
+ color=colors['lsd'],
1568
+ type='',
1569
+ swap='lsd_kpt31'),
1570
+ 232:
1571
+ dict(
1572
+ name='lsd_kpt14',
1573
+ id=232,
1574
+ color=colors['lsd'],
1575
+ type='',
1576
+ swap='lsd_kpt30'),
1577
+ 233:
1578
+ dict(
1579
+ name='lsd_kpt15',
1580
+ id=233,
1581
+ color=colors['lsd'],
1582
+ type='',
1583
+ swap='lsd_kpt29'),
1584
+ 234:
1585
+ dict(
1586
+ name='lsd_kpt16',
1587
+ id=234,
1588
+ color=colors['lsd'],
1589
+ type='',
1590
+ swap='lsd_kpt28'),
1591
+ 235:
1592
+ dict(
1593
+ name='lsd_kpt17',
1594
+ id=235,
1595
+ color=colors['lsd'],
1596
+ type='',
1597
+ swap='lsd_kpt27'),
1598
+ 236:
1599
+ dict(
1600
+ name='lsd_kpt18',
1601
+ id=236,
1602
+ color=colors['lsd'],
1603
+ type='',
1604
+ swap='lsd_kpt26'),
1605
+ 237:
1606
+ dict(
1607
+ name='lsd_kpt19',
1608
+ id=237,
1609
+ color=colors['lsd'],
1610
+ type='',
1611
+ swap='lsd_kpt25'),
1612
+ 238:
1613
+ dict(
1614
+ name='lsd_kpt20',
1615
+ id=238,
1616
+ color=colors['lsd'],
1617
+ type='',
1618
+ swap='lsd_kpt24'),
1619
+ 239:
1620
+ dict(
1621
+ name='lsd_kpt21',
1622
+ id=239,
1623
+ color=colors['lsd'],
1624
+ type='',
1625
+ swap='lsd_kpt23'),
1626
+ 240:
1627
+ dict(name='lsd_kpt22', id=240, color=colors['lsd'], type='', swap=''),
1628
+ 241:
1629
+ dict(
1630
+ name='lsd_kpt23',
1631
+ id=241,
1632
+ color=colors['lsd'],
1633
+ type='',
1634
+ swap='lsd_kpt21'),
1635
+ 242:
1636
+ dict(
1637
+ name='lsd_kpt24',
1638
+ id=242,
1639
+ color=colors['lsd'],
1640
+ type='',
1641
+ swap='lsd_kpt20'),
1642
+ 243:
1643
+ dict(
1644
+ name='lsd_kpt25',
1645
+ id=243,
1646
+ color=colors['lsd'],
1647
+ type='',
1648
+ swap='lsd_kpt19'),
1649
+ 244:
1650
+ dict(
1651
+ name='lsd_kpt26',
1652
+ id=244,
1653
+ color=colors['lsd'],
1654
+ type='',
1655
+ swap='lsd_kpt18'),
1656
+ 245:
1657
+ dict(
1658
+ name='lsd_kpt27',
1659
+ id=245,
1660
+ color=colors['lsd'],
1661
+ type='',
1662
+ swap='lsd_kpt17'),
1663
+ 246:
1664
+ dict(
1665
+ name='lsd_kpt28',
1666
+ id=246,
1667
+ color=colors['lsd'],
1668
+ type='',
1669
+ swap='lsd_kpt16'),
1670
+ 247:
1671
+ dict(
1672
+ name='lsd_kpt29',
1673
+ id=247,
1674
+ color=colors['lsd'],
1675
+ type='',
1676
+ swap='lsd_kpt15'),
1677
+ 248:
1678
+ dict(
1679
+ name='lsd_kpt30',
1680
+ id=248,
1681
+ color=colors['lsd'],
1682
+ type='',
1683
+ swap='lsd_kpt14'),
1684
+ 249:
1685
+ dict(
1686
+ name='lsd_kpt31',
1687
+ id=249,
1688
+ color=colors['lsd'],
1689
+ type='',
1690
+ swap='lsd_kpt13'),
1691
+ 250:
1692
+ dict(
1693
+ name='lsd_kpt32',
1694
+ id=250,
1695
+ color=colors['lsd'],
1696
+ type='',
1697
+ swap='lsd_kpt12'),
1698
+ 251:
1699
+ dict(
1700
+ name='lsd_kpt33',
1701
+ id=251,
1702
+ color=colors['lsd'],
1703
+ type='',
1704
+ swap='lsd_kpt11'),
1705
+ 252:
1706
+ dict(
1707
+ name='lsd_kpt34',
1708
+ id=252,
1709
+ color=colors['lsd'],
1710
+ type='',
1711
+ swap='lsd_kpt10'),
1712
+ 253:
1713
+ dict(
1714
+ name='lsd_kpt35',
1715
+ id=253,
1716
+ color=colors['lsd'],
1717
+ type='',
1718
+ swap='lsd_kpt9'),
1719
+ 254:
1720
+ dict(
1721
+ name='lsd_kpt36',
1722
+ id=254,
1723
+ color=colors['lsd'],
1724
+ type='',
1725
+ swap='lsd_kpt8'),
1726
+ 255:
1727
+ dict(
1728
+ name='lsd_kpt37',
1729
+ id=255,
1730
+ color=colors['lsd'],
1731
+ type='',
1732
+ swap='lsd_kpt7'),
1733
+ # vest_dress
1734
+ 256:
1735
+ dict(name='vd_kpt1', id=256, color=colors['vd'], type='', swap=''),
1736
+ 257:
1737
+ dict(
1738
+ name='vd_kpt2',
1739
+ id=257,
1740
+ color=colors['vd'],
1741
+ type='',
1742
+ swap='vd_kpt6'),
1743
+ 258:
1744
+ dict(
1745
+ name='vd_kpt3',
1746
+ id=258,
1747
+ color=colors['vd'],
1748
+ type='',
1749
+ swap='vd_kpt5'),
1750
+ 259:
1751
+ dict(name='vd_kpt4', id=259, color=colors['vd'], type='', swap=''),
1752
+ 260:
1753
+ dict(
1754
+ name='vd_kpt5',
1755
+ id=260,
1756
+ color=colors['vd'],
1757
+ type='',
1758
+ swap='vd_kpt3'),
1759
+ 261:
1760
+ dict(
1761
+ name='vd_kpt6',
1762
+ id=261,
1763
+ color=colors['vd'],
1764
+ type='',
1765
+ swap='vd_kpt2'),
1766
+ 262:
1767
+ dict(
1768
+ name='vd_kpt7',
1769
+ id=262,
1770
+ color=colors['vd'],
1771
+ type='',
1772
+ swap='vd_kpt19'),
1773
+ 263:
1774
+ dict(
1775
+ name='vd_kpt8',
1776
+ id=263,
1777
+ color=colors['vd'],
1778
+ type='',
1779
+ swap='vd_kpt18'),
1780
+ 264:
1781
+ dict(
1782
+ name='vd_kpt9',
1783
+ id=264,
1784
+ color=colors['vd'],
1785
+ type='',
1786
+ swap='vd_kpt17'),
1787
+ 265:
1788
+ dict(
1789
+ name='vd_kpt10',
1790
+ id=265,
1791
+ color=colors['vd'],
1792
+ type='',
1793
+ swap='vd_kpt16'),
1794
+ 266:
1795
+ dict(
1796
+ name='vd_kpt11',
1797
+ id=266,
1798
+ color=colors['vd'],
1799
+ type='',
1800
+ swap='vd_kpt15'),
1801
+ 267:
1802
+ dict(
1803
+ name='vd_kpt12',
1804
+ id=267,
1805
+ color=colors['vd'],
1806
+ type='',
1807
+ swap='vd_kpt14'),
1808
+ 268:
1809
+ dict(name='vd_kpt13', id=268, color=colors['vd'], type='', swap=''),
1810
+ 269:
1811
+ dict(
1812
+ name='vd_kpt14',
1813
+ id=269,
1814
+ color=colors['vd'],
1815
+ type='',
1816
+ swap='vd_kpt12'),
1817
+ 270:
1818
+ dict(
1819
+ name='vd_kpt15',
1820
+ id=270,
1821
+ color=colors['vd'],
1822
+ type='',
1823
+ swap='vd_kpt11'),
1824
+ 271:
1825
+ dict(
1826
+ name='vd_kpt16',
1827
+ id=271,
1828
+ color=colors['vd'],
1829
+ type='',
1830
+ swap='vd_kpt10'),
1831
+ 272:
1832
+ dict(
1833
+ name='vd_kpt17',
1834
+ id=272,
1835
+ color=colors['vd'],
1836
+ type='',
1837
+ swap='vd_kpt9'),
1838
+ 273:
1839
+ dict(
1840
+ name='vd_kpt18',
1841
+ id=273,
1842
+ color=colors['vd'],
1843
+ type='',
1844
+ swap='vd_kpt8'),
1845
+ 274:
1846
+ dict(
1847
+ name='vd_kpt19',
1848
+ id=274,
1849
+ color=colors['vd'],
1850
+ type='',
1851
+ swap='vd_kpt7'),
1852
+ # sling_dress
1853
+ 275:
1854
+ dict(name='sd_kpt1', id=275, color=colors['sd'], type='', swap=''),
1855
+ 276:
1856
+ dict(
1857
+ name='sd_kpt2',
1858
+ id=276,
1859
+ color=colors['sd'],
1860
+ type='',
1861
+ swap='sd_kpt6'),
1862
+ 277:
1863
+ dict(
1864
+ name='sd_kpt3',
1865
+ id=277,
1866
+ color=colors['sd'],
1867
+ type='',
1868
+ swap='sd_kpt5'),
1869
+ 278:
1870
+ dict(name='sd_kpt4', id=278, color=colors['sd'], type='', swap=''),
1871
+ 279:
1872
+ dict(
1873
+ name='sd_kpt5',
1874
+ id=279,
1875
+ color=colors['sd'],
1876
+ type='',
1877
+ swap='sd_kpt3'),
1878
+ 280:
1879
+ dict(
1880
+ name='sd_kpt6',
1881
+ id=280,
1882
+ color=colors['sd'],
1883
+ type='',
1884
+ swap='sd_kpt2'),
1885
+ 281:
1886
+ dict(
1887
+ name='sd_kpt7',
1888
+ id=281,
1889
+ color=colors['sd'],
1890
+ type='',
1891
+ swap='sd_kpt19'),
1892
+ 282:
1893
+ dict(
1894
+ name='sd_kpt8',
1895
+ id=282,
1896
+ color=colors['sd'],
1897
+ type='',
1898
+ swap='sd_kpt18'),
1899
+ 283:
1900
+ dict(
1901
+ name='sd_kpt9',
1902
+ id=283,
1903
+ color=colors['sd'],
1904
+ type='',
1905
+ swap='sd_kpt17'),
1906
+ 284:
1907
+ dict(
1908
+ name='sd_kpt10',
1909
+ id=284,
1910
+ color=colors['sd'],
1911
+ type='',
1912
+ swap='sd_kpt16'),
1913
+ 285:
1914
+ dict(
1915
+ name='sd_kpt11',
1916
+ id=285,
1917
+ color=colors['sd'],
1918
+ type='',
1919
+ swap='sd_kpt15'),
1920
+ 286:
1921
+ dict(
1922
+ name='sd_kpt12',
1923
+ id=286,
1924
+ color=colors['sd'],
1925
+ type='',
1926
+ swap='sd_kpt14'),
1927
+ 287:
1928
+ dict(name='sd_kpt13', id=287, color=colors['sd'], type='', swap=''),
1929
+ 288:
1930
+ dict(
1931
+ name='sd_kpt14',
1932
+ id=288,
1933
+ color=colors['sd'],
1934
+ type='',
1935
+ swap='sd_kpt12'),
1936
+ 289:
1937
+ dict(
1938
+ name='sd_kpt15',
1939
+ id=289,
1940
+ color=colors['sd'],
1941
+ type='',
1942
+ swap='sd_kpt11'),
1943
+ 290:
1944
+ dict(
1945
+ name='sd_kpt16',
1946
+ id=290,
1947
+ color=colors['sd'],
1948
+ type='',
1949
+ swap='sd_kpt10'),
1950
+ 291:
1951
+ dict(
1952
+ name='sd_kpt17',
1953
+ id=291,
1954
+ color=colors['sd'],
1955
+ type='',
1956
+ swap='sd_kpt9'),
1957
+ 292:
1958
+ dict(
1959
+ name='sd_kpt18',
1960
+ id=292,
1961
+ color=colors['sd'],
1962
+ type='',
1963
+ swap='sd_kpt8'),
1964
+ 293:
1965
+ dict(
1966
+ name='sd_kpt19',
1967
+ id=293,
1968
+ color=colors['sd'],
1969
+ type='',
1970
+ swap='sd_kpt7'),
1971
+ },
1972
+ skeleton_info={
1973
+ # short_sleeved_shirt
1974
+ 0:
1975
+ dict(link=('sss_kpt1', 'sss_kpt2'), id=0, color=[255, 128, 0]),
1976
+ 1:
1977
+ dict(link=('sss_kpt2', 'sss_kpt7'), id=1, color=[255, 128, 0]),
1978
+ 2:
1979
+ dict(link=('sss_kpt7', 'sss_kpt8'), id=2, color=[255, 128, 0]),
1980
+ 3:
1981
+ dict(link=('sss_kpt8', 'sss_kpt9'), id=3, color=[255, 128, 0]),
1982
+ 4:
1983
+ dict(link=('sss_kpt9', 'sss_kpt10'), id=4, color=[255, 128, 0]),
1984
+ 5:
1985
+ dict(link=('sss_kpt10', 'sss_kpt11'), id=5, color=[255, 128, 0]),
1986
+ 6:
1987
+ dict(link=('sss_kpt11', 'sss_kpt12'), id=6, color=[255, 128, 0]),
1988
+ 7:
1989
+ dict(link=('sss_kpt12', 'sss_kpt13'), id=7, color=[255, 128, 0]),
1990
+ 8:
1991
+ dict(link=('sss_kpt13', 'sss_kpt14'), id=8, color=[255, 128, 0]),
1992
+ 9:
1993
+ dict(link=('sss_kpt14', 'sss_kpt15'), id=9, color=[255, 128, 0]),
1994
+ 10:
1995
+ dict(link=('sss_kpt15', 'sss_kpt16'), id=10, color=[255, 128, 0]),
1996
+ 11:
1997
+ dict(link=('sss_kpt16', 'sss_kpt17'), id=11, color=[255, 128, 0]),
1998
+ 12:
1999
+ dict(link=('sss_kpt17', 'sss_kpt18'), id=12, color=[255, 128, 0]),
2000
+ 13:
2001
+ dict(link=('sss_kpt18', 'sss_kpt19'), id=13, color=[255, 128, 0]),
2002
+ 14:
2003
+ dict(link=('sss_kpt19', 'sss_kpt20'), id=14, color=[255, 128, 0]),
2004
+ 15:
2005
+ dict(link=('sss_kpt20', 'sss_kpt21'), id=15, color=[255, 128, 0]),
2006
+ 16:
2007
+ dict(link=('sss_kpt21', 'sss_kpt22'), id=16, color=[255, 128, 0]),
2008
+ 17:
2009
+ dict(link=('sss_kpt22', 'sss_kpt23'), id=17, color=[255, 128, 0]),
2010
+ 18:
2011
+ dict(link=('sss_kpt23', 'sss_kpt24'), id=18, color=[255, 128, 0]),
2012
+ 19:
2013
+ dict(link=('sss_kpt24', 'sss_kpt25'), id=19, color=[255, 128, 0]),
2014
+ 20:
2015
+ dict(link=('sss_kpt25', 'sss_kpt6'), id=20, color=[255, 128, 0]),
2016
+ 21:
2017
+ dict(link=('sss_kpt6', 'sss_kpt1'), id=21, color=[255, 128, 0]),
2018
+ 22:
2019
+ dict(link=('sss_kpt2', 'sss_kpt3'), id=22, color=[255, 128, 0]),
2020
+ 23:
2021
+ dict(link=('sss_kpt3', 'sss_kpt4'), id=23, color=[255, 128, 0]),
2022
+ 24:
2023
+ dict(link=('sss_kpt4', 'sss_kpt5'), id=24, color=[255, 128, 0]),
2024
+ 25:
2025
+ dict(link=('sss_kpt5', 'sss_kpt6'), id=25, color=[255, 128, 0]),
2026
+ # long_sleeve_shirt
2027
+ 26:
2028
+ dict(link=('lss_kpt1', 'lss_kpt2'), id=26, color=[255, 0, 128]),
2029
+ 27:
2030
+ dict(link=('lss_kpt2', 'lss_kpt7'), id=27, color=[255, 0, 128]),
2031
+ 28:
2032
+ dict(link=('lss_kpt7', 'lss_kpt8'), id=28, color=[255, 0, 128]),
2033
+ 29:
2034
+ dict(link=('lss_kpt8', 'lss_kpt9'), id=29, color=[255, 0, 128]),
2035
+ 30:
2036
+ dict(link=('lss_kpt9', 'lss_kpt10'), id=30, color=[255, 0, 128]),
2037
+ 31:
2038
+ dict(link=('lss_kpt10', 'lss_kpt11'), id=31, color=[255, 0, 128]),
2039
+ 32:
2040
+ dict(link=('lss_kpt11', 'lss_kpt12'), id=32, color=[255, 0, 128]),
2041
+ 33:
2042
+ dict(link=('lss_kpt12', 'lss_kpt13'), id=33, color=[255, 0, 128]),
2043
+ 34:
2044
+ dict(link=('lss_kpt13', 'lss_kpt14'), id=34, color=[255, 0, 128]),
2045
+ 35:
2046
+ dict(link=('lss_kpt14', 'lss_kpt15'), id=35, color=[255, 0, 128]),
2047
+ 36:
2048
+ dict(link=('lss_kpt15', 'lss_kpt16'), id=36, color=[255, 0, 128]),
2049
+ 37:
2050
+ dict(link=('lss_kpt16', 'lss_kpt17'), id=37, color=[255, 0, 128]),
2051
+ 38:
2052
+ dict(link=('lss_kpt17', 'lss_kpt18'), id=38, color=[255, 0, 128]),
2053
+ 39:
2054
+ dict(link=('lss_kpt18', 'lss_kpt19'), id=39, color=[255, 0, 128]),
2055
+ 40:
2056
+ dict(link=('lss_kpt19', 'lss_kpt20'), id=40, color=[255, 0, 128]),
2057
+ 41:
2058
+ dict(link=('lss_kpt20', 'lss_kpt21'), id=41, color=[255, 0, 128]),
2059
+ 42:
2060
+ dict(link=('lss_kpt21', 'lss_kpt22'), id=42, color=[255, 0, 128]),
2061
+ 43:
2062
+ dict(link=('lss_kpt22', 'lss_kpt23'), id=43, color=[255, 0, 128]),
2063
+ 44:
2064
+ dict(link=('lss_kpt23', 'lss_kpt24'), id=44, color=[255, 0, 128]),
2065
+ 45:
2066
+ dict(link=('lss_kpt24', 'lss_kpt25'), id=45, color=[255, 0, 128]),
2067
+ 46:
2068
+ dict(link=('lss_kpt25', 'lss_kpt26'), id=46, color=[255, 0, 128]),
2069
+ 47:
2070
+ dict(link=('lss_kpt26', 'lss_kpt27'), id=47, color=[255, 0, 128]),
2071
+ 48:
2072
+ dict(link=('lss_kpt27', 'lss_kpt28'), id=48, color=[255, 0, 128]),
2073
+ 49:
2074
+ dict(link=('lss_kpt28', 'lss_kpt29'), id=49, color=[255, 0, 128]),
2075
+ 50:
2076
+ dict(link=('lss_kpt29', 'lss_kpt30'), id=50, color=[255, 0, 128]),
2077
+ 51:
2078
+ dict(link=('lss_kpt30', 'lss_kpt31'), id=51, color=[255, 0, 128]),
2079
+ 52:
2080
+ dict(link=('lss_kpt31', 'lss_kpt32'), id=52, color=[255, 0, 128]),
2081
+ 53:
2082
+ dict(link=('lss_kpt32', 'lss_kpt33'), id=53, color=[255, 0, 128]),
2083
+ 54:
2084
+ dict(link=('lss_kpt33', 'lss_kpt6'), id=54, color=[255, 0, 128]),
2085
+ 55:
2086
+ dict(link=('lss_kpt6', 'lss_kpt5'), id=55, color=[255, 0, 128]),
2087
+ 56:
2088
+ dict(link=('lss_kpt5', 'lss_kpt4'), id=56, color=[255, 0, 128]),
2089
+ 57:
2090
+ dict(link=('lss_kpt4', 'lss_kpt3'), id=57, color=[255, 0, 128]),
2091
+ 58:
2092
+ dict(link=('lss_kpt3', 'lss_kpt2'), id=58, color=[255, 0, 128]),
2093
+ 59:
2094
+ dict(link=('lss_kpt6', 'lss_kpt1'), id=59, color=[255, 0, 128]),
2095
+ # short_sleeved_outwear
2096
+ 60:
2097
+ dict(link=('sso_kpt1', 'sso_kpt4'), id=60, color=[128, 0, 255]),
2098
+ 61:
2099
+ dict(link=('sso_kpt4', 'sso_kpt7'), id=61, color=[128, 0, 255]),
2100
+ 62:
2101
+ dict(link=('sso_kpt7', 'sso_kpt8'), id=62, color=[128, 0, 255]),
2102
+ 63:
2103
+ dict(link=('sso_kpt8', 'sso_kpt9'), id=63, color=[128, 0, 255]),
2104
+ 64:
2105
+ dict(link=('sso_kpt9', 'sso_kpt10'), id=64, color=[128, 0, 255]),
2106
+ 65:
2107
+ dict(link=('sso_kpt10', 'sso_kpt11'), id=65, color=[128, 0, 255]),
2108
+ 66:
2109
+ dict(link=('sso_kpt11', 'sso_kpt12'), id=66, color=[128, 0, 255]),
2110
+ 67:
2111
+ dict(link=('sso_kpt12', 'sso_kpt13'), id=67, color=[128, 0, 255]),
2112
+ 68:
2113
+ dict(link=('sso_kpt13', 'sso_kpt14'), id=68, color=[128, 0, 255]),
2114
+ 69:
2115
+ dict(link=('sso_kpt14', 'sso_kpt15'), id=69, color=[128, 0, 255]),
2116
+ 70:
2117
+ dict(link=('sso_kpt15', 'sso_kpt16'), id=70, color=[128, 0, 255]),
2118
+ 71:
2119
+ dict(link=('sso_kpt16', 'sso_kpt31'), id=71, color=[128, 0, 255]),
2120
+ 72:
2121
+ dict(link=('sso_kpt31', 'sso_kpt30'), id=72, color=[128, 0, 255]),
2122
+ 73:
2123
+ dict(link=('sso_kpt30', 'sso_kpt2'), id=73, color=[128, 0, 255]),
2124
+ 74:
2125
+ dict(link=('sso_kpt2', 'sso_kpt3'), id=74, color=[128, 0, 255]),
2126
+ 75:
2127
+ dict(link=('sso_kpt3', 'sso_kpt4'), id=75, color=[128, 0, 255]),
2128
+ 76:
2129
+ dict(link=('sso_kpt1', 'sso_kpt6'), id=76, color=[128, 0, 255]),
2130
+ 77:
2131
+ dict(link=('sso_kpt6', 'sso_kpt25'), id=77, color=[128, 0, 255]),
2132
+ 78:
2133
+ dict(link=('sso_kpt25', 'sso_kpt24'), id=78, color=[128, 0, 255]),
2134
+ 79:
2135
+ dict(link=('sso_kpt24', 'sso_kpt23'), id=79, color=[128, 0, 255]),
2136
+ 80:
2137
+ dict(link=('sso_kpt23', 'sso_kpt22'), id=80, color=[128, 0, 255]),
2138
+ 81:
2139
+ dict(link=('sso_kpt22', 'sso_kpt21'), id=81, color=[128, 0, 255]),
2140
+ 82:
2141
+ dict(link=('sso_kpt21', 'sso_kpt20'), id=82, color=[128, 0, 255]),
2142
+ 83:
2143
+ dict(link=('sso_kpt20', 'sso_kpt19'), id=83, color=[128, 0, 255]),
2144
+ 84:
2145
+ dict(link=('sso_kpt19', 'sso_kpt18'), id=84, color=[128, 0, 255]),
2146
+ 85:
2147
+ dict(link=('sso_kpt18', 'sso_kpt17'), id=85, color=[128, 0, 255]),
2148
+ 86:
2149
+ dict(link=('sso_kpt17', 'sso_kpt29'), id=86, color=[128, 0, 255]),
2150
+ 87:
2151
+ dict(link=('sso_kpt29', 'sso_kpt28'), id=87, color=[128, 0, 255]),
2152
+ 88:
2153
+ dict(link=('sso_kpt28', 'sso_kpt27'), id=88, color=[128, 0, 255]),
2154
+ 89:
2155
+ dict(link=('sso_kpt27', 'sso_kpt26'), id=89, color=[128, 0, 255]),
2156
+ 90:
2157
+ dict(link=('sso_kpt26', 'sso_kpt5'), id=90, color=[128, 0, 255]),
2158
+ 91:
2159
+ dict(link=('sso_kpt5', 'sso_kpt6'), id=91, color=[128, 0, 255]),
2160
+ # long_sleeved_outwear
2161
+ 92:
2162
+ dict(link=('lso_kpt1', 'lso_kpt2'), id=92, color=[0, 128, 255]),
2163
+ 93:
2164
+ dict(link=('lso_kpt2', 'lso_kpt7'), id=93, color=[0, 128, 255]),
2165
+ 94:
2166
+ dict(link=('lso_kpt7', 'lso_kpt8'), id=94, color=[0, 128, 255]),
2167
+ 95:
2168
+ dict(link=('lso_kpt8', 'lso_kpt9'), id=95, color=[0, 128, 255]),
2169
+ 96:
2170
+ dict(link=('lso_kpt9', 'lso_kpt10'), id=96, color=[0, 128, 255]),
2171
+ 97:
2172
+ dict(link=('lso_kpt10', 'lso_kpt11'), id=97, color=[0, 128, 255]),
2173
+ 98:
2174
+ dict(link=('lso_kpt11', 'lso_kpt12'), id=98, color=[0, 128, 255]),
2175
+ 99:
2176
+ dict(link=('lso_kpt12', 'lso_kpt13'), id=99, color=[0, 128, 255]),
2177
+ 100:
2178
+ dict(link=('lso_kpt13', 'lso_kpt14'), id=100, color=[0, 128, 255]),
2179
+ 101:
2180
+ dict(link=('lso_kpt14', 'lso_kpt15'), id=101, color=[0, 128, 255]),
2181
+ 102:
2182
+ dict(link=('lso_kpt15', 'lso_kpt16'), id=102, color=[0, 128, 255]),
2183
+ 103:
2184
+ dict(link=('lso_kpt16', 'lso_kpt17'), id=103, color=[0, 128, 255]),
2185
+ 104:
2186
+ dict(link=('lso_kpt17', 'lso_kpt18'), id=104, color=[0, 128, 255]),
2187
+ 105:
2188
+ dict(link=('lso_kpt18', 'lso_kpt19'), id=105, color=[0, 128, 255]),
2189
+ 106:
2190
+ dict(link=('lso_kpt19', 'lso_kpt20'), id=106, color=[0, 128, 255]),
2191
+ 107:
2192
+ dict(link=('lso_kpt20', 'lso_kpt39'), id=107, color=[0, 128, 255]),
2193
+ 108:
2194
+ dict(link=('lso_kpt39', 'lso_kpt38'), id=108, color=[0, 128, 255]),
2195
+ 109:
2196
+ dict(link=('lso_kpt38', 'lso_kpt4'), id=109, color=[0, 128, 255]),
2197
+ 110:
2198
+ dict(link=('lso_kpt4', 'lso_kpt3'), id=110, color=[0, 128, 255]),
2199
+ 111:
2200
+ dict(link=('lso_kpt3', 'lso_kpt2'), id=111, color=[0, 128, 255]),
2201
+ 112:
2202
+ dict(link=('lso_kpt1', 'lso_kpt6'), id=112, color=[0, 128, 255]),
2203
+ 113:
2204
+ dict(link=('lso_kpt6', 'lso_kpt33'), id=113, color=[0, 128, 255]),
2205
+ 114:
2206
+ dict(link=('lso_kpt33', 'lso_kpt32'), id=114, color=[0, 128, 255]),
2207
+ 115:
2208
+ dict(link=('lso_kpt32', 'lso_kpt31'), id=115, color=[0, 128, 255]),
2209
+ 116:
2210
+ dict(link=('lso_kpt31', 'lso_kpt30'), id=116, color=[0, 128, 255]),
2211
+ 117:
2212
+ dict(link=('lso_kpt30', 'lso_kpt29'), id=117, color=[0, 128, 255]),
2213
+ 118:
2214
+ dict(link=('lso_kpt29', 'lso_kpt28'), id=118, color=[0, 128, 255]),
2215
+ 119:
2216
+ dict(link=('lso_kpt28', 'lso_kpt27'), id=119, color=[0, 128, 255]),
2217
+ 120:
2218
+ dict(link=('lso_kpt27', 'lso_kpt26'), id=120, color=[0, 128, 255]),
2219
+ 121:
2220
+ dict(link=('lso_kpt26', 'lso_kpt25'), id=121, color=[0, 128, 255]),
2221
+ 122:
2222
+ dict(link=('lso_kpt25', 'lso_kpt24'), id=122, color=[0, 128, 255]),
2223
+ 123:
2224
+ dict(link=('lso_kpt24', 'lso_kpt23'), id=123, color=[0, 128, 255]),
2225
+ 124:
2226
+ dict(link=('lso_kpt23', 'lso_kpt22'), id=124, color=[0, 128, 255]),
2227
+ 125:
2228
+ dict(link=('lso_kpt22', 'lso_kpt21'), id=125, color=[0, 128, 255]),
2229
+ 126:
2230
+ dict(link=('lso_kpt21', 'lso_kpt37'), id=126, color=[0, 128, 255]),
2231
+ 127:
2232
+ dict(link=('lso_kpt37', 'lso_kpt36'), id=127, color=[0, 128, 255]),
2233
+ 128:
2234
+ dict(link=('lso_kpt36', 'lso_kpt35'), id=128, color=[0, 128, 255]),
2235
+ 129:
2236
+ dict(link=('lso_kpt35', 'lso_kpt34'), id=129, color=[0, 128, 255]),
2237
+ 130:
2238
+ dict(link=('lso_kpt34', 'lso_kpt5'), id=130, color=[0, 128, 255]),
2239
+ 131:
2240
+ dict(link=('lso_kpt5', 'lso_kpt6'), id=131, color=[0, 128, 255]),
2241
+ # vest
2242
+ 132:
2243
+ dict(link=('vest_kpt1', 'vest_kpt2'), id=132, color=[0, 128, 128]),
2244
+ 133:
2245
+ dict(link=('vest_kpt2', 'vest_kpt7'), id=133, color=[0, 128, 128]),
2246
+ 134:
2247
+ dict(link=('vest_kpt7', 'vest_kpt8'), id=134, color=[0, 128, 128]),
2248
+ 135:
2249
+ dict(link=('vest_kpt8', 'vest_kpt9'), id=135, color=[0, 128, 128]),
2250
+ 136:
2251
+ dict(link=('vest_kpt9', 'vest_kpt10'), id=136, color=[0, 128, 128]),
2252
+ 137:
2253
+ dict(link=('vest_kpt10', 'vest_kpt11'), id=137, color=[0, 128, 128]),
2254
+ 138:
2255
+ dict(link=('vest_kpt11', 'vest_kpt12'), id=138, color=[0, 128, 128]),
2256
+ 139:
2257
+ dict(link=('vest_kpt12', 'vest_kpt13'), id=139, color=[0, 128, 128]),
2258
+ 140:
2259
+ dict(link=('vest_kpt13', 'vest_kpt14'), id=140, color=[0, 128, 128]),
2260
+ 141:
2261
+ dict(link=('vest_kpt14', 'vest_kpt15'), id=141, color=[0, 128, 128]),
2262
+ 142:
2263
+ dict(link=('vest_kpt15', 'vest_kpt6'), id=142, color=[0, 128, 128]),
2264
+ 143:
2265
+ dict(link=('vest_kpt6', 'vest_kpt1'), id=143, color=[0, 128, 128]),
2266
+ 144:
2267
+ dict(link=('vest_kpt2', 'vest_kpt3'), id=144, color=[0, 128, 128]),
2268
+ 145:
2269
+ dict(link=('vest_kpt3', 'vest_kpt4'), id=145, color=[0, 128, 128]),
2270
+ 146:
2271
+ dict(link=('vest_kpt4', 'vest_kpt5'), id=146, color=[0, 128, 128]),
2272
+ 147:
2273
+ dict(link=('vest_kpt5', 'vest_kpt6'), id=147, color=[0, 128, 128]),
2274
+ # sling
2275
+ 148:
2276
+ dict(link=('sling_kpt1', 'sling_kpt2'), id=148, color=[0, 0, 128]),
2277
+ 149:
2278
+ dict(link=('sling_kpt2', 'sling_kpt8'), id=149, color=[0, 0, 128]),
2279
+ 150:
2280
+ dict(link=('sling_kpt8', 'sling_kpt9'), id=150, color=[0, 0, 128]),
2281
+ 151:
2282
+ dict(link=('sling_kpt9', 'sling_kpt10'), id=151, color=[0, 0, 128]),
2283
+ 152:
2284
+ dict(link=('sling_kpt10', 'sling_kpt11'), id=152, color=[0, 0, 128]),
2285
+ 153:
2286
+ dict(link=('sling_kpt11', 'sling_kpt12'), id=153, color=[0, 0, 128]),
2287
+ 154:
2288
+ dict(link=('sling_kpt12', 'sling_kpt13'), id=154, color=[0, 0, 128]),
2289
+ 155:
2290
+ dict(link=('sling_kpt13', 'sling_kpt14'), id=155, color=[0, 0, 128]),
2291
+ 156:
2292
+ dict(link=('sling_kpt14', 'sling_kpt6'), id=156, color=[0, 0, 128]),
2293
+ 157:
2294
+ dict(link=('sling_kpt2', 'sling_kpt7'), id=157, color=[0, 0, 128]),
2295
+ 158:
2296
+ dict(link=('sling_kpt6', 'sling_kpt15'), id=158, color=[0, 0, 128]),
2297
+ 159:
2298
+ dict(link=('sling_kpt2', 'sling_kpt3'), id=159, color=[0, 0, 128]),
2299
+ 160:
2300
+ dict(link=('sling_kpt3', 'sling_kpt4'), id=160, color=[0, 0, 128]),
2301
+ 161:
2302
+ dict(link=('sling_kpt4', 'sling_kpt5'), id=161, color=[0, 0, 128]),
2303
+ 162:
2304
+ dict(link=('sling_kpt5', 'sling_kpt6'), id=162, color=[0, 0, 128]),
2305
+ 163:
2306
+ dict(link=('sling_kpt1', 'sling_kpt6'), id=163, color=[0, 0, 128]),
2307
+ # shorts
2308
+ 164:
2309
+ dict(
2310
+ link=('shorts_kpt1', 'shorts_kpt4'), id=164, color=[128, 128,
2311
+ 128]),
2312
+ 165:
2313
+ dict(
2314
+ link=('shorts_kpt4', 'shorts_kpt5'), id=165, color=[128, 128,
2315
+ 128]),
2316
+ 166:
2317
+ dict(
2318
+ link=('shorts_kpt5', 'shorts_kpt6'), id=166, color=[128, 128,
2319
+ 128]),
2320
+ 167:
2321
+ dict(
2322
+ link=('shorts_kpt6', 'shorts_kpt7'), id=167, color=[128, 128,
2323
+ 128]),
2324
+ 168:
2325
+ dict(
2326
+ link=('shorts_kpt7', 'shorts_kpt8'), id=168, color=[128, 128,
2327
+ 128]),
2328
+ 169:
2329
+ dict(
2330
+ link=('shorts_kpt8', 'shorts_kpt9'), id=169, color=[128, 128,
2331
+ 128]),
2332
+ 170:
2333
+ dict(
2334
+ link=('shorts_kpt9', 'shorts_kpt10'),
2335
+ id=170,
2336
+ color=[128, 128, 128]),
2337
+ 171:
2338
+ dict(
2339
+ link=('shorts_kpt10', 'shorts_kpt3'),
2340
+ id=171,
2341
+ color=[128, 128, 128]),
2342
+ 172:
2343
+ dict(
2344
+ link=('shorts_kpt3', 'shorts_kpt2'), id=172, color=[128, 128,
2345
+ 128]),
2346
+ 173:
2347
+ dict(
2348
+ link=('shorts_kpt2', 'shorts_kpt1'), id=173, color=[128, 128,
2349
+ 128]),
2350
+ # trousers
2351
+ 174:
2352
+ dict(
2353
+ link=('trousers_kpt1', 'trousers_kpt4'),
2354
+ id=174,
2355
+ color=[128, 0, 128]),
2356
+ 175:
2357
+ dict(
2358
+ link=('trousers_kpt4', 'trousers_kpt5'),
2359
+ id=175,
2360
+ color=[128, 0, 128]),
2361
+ 176:
2362
+ dict(
2363
+ link=('trousers_kpt5', 'trousers_kpt6'),
2364
+ id=176,
2365
+ color=[128, 0, 128]),
2366
+ 177:
2367
+ dict(
2368
+ link=('trousers_kpt6', 'trousers_kpt7'),
2369
+ id=177,
2370
+ color=[128, 0, 128]),
2371
+ 178:
2372
+ dict(
2373
+ link=('trousers_kpt7', 'trousers_kpt8'),
2374
+ id=178,
2375
+ color=[128, 0, 128]),
2376
+ 179:
2377
+ dict(
2378
+ link=('trousers_kpt8', 'trousers_kpt9'),
2379
+ id=179,
2380
+ color=[128, 0, 128]),
2381
+ 180:
2382
+ dict(
2383
+ link=('trousers_kpt9', 'trousers_kpt10'),
2384
+ id=180,
2385
+ color=[128, 0, 128]),
2386
+ 181:
2387
+ dict(
2388
+ link=('trousers_kpt10', 'trousers_kpt11'),
2389
+ id=181,
2390
+ color=[128, 0, 128]),
2391
+ 182:
2392
+ dict(
2393
+ link=('trousers_kpt11', 'trousers_kpt12'),
2394
+ id=182,
2395
+ color=[128, 0, 128]),
2396
+ 183:
2397
+ dict(
2398
+ link=('trousers_kpt12', 'trousers_kpt13'),
2399
+ id=183,
2400
+ color=[128, 0, 128]),
2401
+ 184:
2402
+ dict(
2403
+ link=('trousers_kpt13', 'trousers_kpt14'),
2404
+ id=184,
2405
+ color=[128, 0, 128]),
2406
+ 185:
2407
+ dict(
2408
+ link=('trousers_kpt14', 'trousers_kpt3'),
2409
+ id=185,
2410
+ color=[128, 0, 128]),
2411
+ 186:
2412
+ dict(
2413
+ link=('trousers_kpt3', 'trousers_kpt2'),
2414
+ id=186,
2415
+ color=[128, 0, 128]),
2416
+ 187:
2417
+ dict(
2418
+ link=('trousers_kpt2', 'trousers_kpt1'),
2419
+ id=187,
2420
+ color=[128, 0, 128]),
2421
+ # skirt
2422
+ 188:
2423
+ dict(link=('skirt_kpt1', 'skirt_kpt4'), id=188, color=[64, 128, 128]),
2424
+ 189:
2425
+ dict(link=('skirt_kpt4', 'skirt_kpt5'), id=189, color=[64, 128, 128]),
2426
+ 190:
2427
+ dict(link=('skirt_kpt5', 'skirt_kpt6'), id=190, color=[64, 128, 128]),
2428
+ 191:
2429
+ dict(link=('skirt_kpt6', 'skirt_kpt7'), id=191, color=[64, 128, 128]),
2430
+ 192:
2431
+ dict(link=('skirt_kpt7', 'skirt_kpt8'), id=192, color=[64, 128, 128]),
2432
+ 193:
2433
+ dict(link=('skirt_kpt8', 'skirt_kpt3'), id=193, color=[64, 128, 128]),
2434
+ 194:
2435
+ dict(link=('skirt_kpt3', 'skirt_kpt2'), id=194, color=[64, 128, 128]),
2436
+ 195:
2437
+ dict(link=('skirt_kpt2', 'skirt_kpt1'), id=195, color=[64, 128, 128]),
2438
+ # short_sleeved_dress
2439
+ 196:
2440
+ dict(link=('ssd_kpt1', 'ssd_kpt2'), id=196, color=[64, 64, 128]),
2441
+ 197:
2442
+ dict(link=('ssd_kpt2', 'ssd_kpt7'), id=197, color=[64, 64, 128]),
2443
+ 198:
2444
+ dict(link=('ssd_kpt7', 'ssd_kpt8'), id=198, color=[64, 64, 128]),
2445
+ 199:
2446
+ dict(link=('ssd_kpt8', 'ssd_kpt9'), id=199, color=[64, 64, 128]),
2447
+ 200:
2448
+ dict(link=('ssd_kpt9', 'ssd_kpt10'), id=200, color=[64, 64, 128]),
2449
+ 201:
2450
+ dict(link=('ssd_kpt10', 'ssd_kpt11'), id=201, color=[64, 64, 128]),
2451
+ 202:
2452
+ dict(link=('ssd_kpt11', 'ssd_kpt12'), id=202, color=[64, 64, 128]),
2453
+ 203:
2454
+ dict(link=('ssd_kpt12', 'ssd_kpt13'), id=203, color=[64, 64, 128]),
2455
+ 204:
2456
+ dict(link=('ssd_kpt13', 'ssd_kpt14'), id=204, color=[64, 64, 128]),
2457
+ 205:
2458
+ dict(link=('ssd_kpt14', 'ssd_kpt15'), id=205, color=[64, 64, 128]),
2459
+ 206:
2460
+ dict(link=('ssd_kpt15', 'ssd_kpt16'), id=206, color=[64, 64, 128]),
2461
+ 207:
2462
+ dict(link=('ssd_kpt16', 'ssd_kpt17'), id=207, color=[64, 64, 128]),
2463
+ 208:
2464
+ dict(link=('ssd_kpt17', 'ssd_kpt18'), id=208, color=[64, 64, 128]),
2465
+ 209:
2466
+ dict(link=('ssd_kpt18', 'ssd_kpt19'), id=209, color=[64, 64, 128]),
2467
+ 210:
2468
+ dict(link=('ssd_kpt19', 'ssd_kpt20'), id=210, color=[64, 64, 128]),
2469
+ 211:
2470
+ dict(link=('ssd_kpt20', 'ssd_kpt21'), id=211, color=[64, 64, 128]),
2471
+ 212:
2472
+ dict(link=('ssd_kpt21', 'ssd_kpt22'), id=212, color=[64, 64, 128]),
2473
+ 213:
2474
+ dict(link=('ssd_kpt22', 'ssd_kpt23'), id=213, color=[64, 64, 128]),
2475
+ 214:
2476
+ dict(link=('ssd_kpt23', 'ssd_kpt24'), id=214, color=[64, 64, 128]),
2477
+ 215:
2478
+ dict(link=('ssd_kpt24', 'ssd_kpt25'), id=215, color=[64, 64, 128]),
2479
+ 216:
2480
+ dict(link=('ssd_kpt25', 'ssd_kpt26'), id=216, color=[64, 64, 128]),
2481
+ 217:
2482
+ dict(link=('ssd_kpt26', 'ssd_kpt27'), id=217, color=[64, 64, 128]),
2483
+ 218:
2484
+ dict(link=('ssd_kpt27', 'ssd_kpt28'), id=218, color=[64, 64, 128]),
2485
+ 219:
2486
+ dict(link=('ssd_kpt28', 'ssd_kpt29'), id=219, color=[64, 64, 128]),
2487
+ 220:
2488
+ dict(link=('ssd_kpt29', 'ssd_kpt6'), id=220, color=[64, 64, 128]),
2489
+ 221:
2490
+ dict(link=('ssd_kpt6', 'ssd_kpt5'), id=221, color=[64, 64, 128]),
2491
+ 222:
2492
+ dict(link=('ssd_kpt5', 'ssd_kpt4'), id=222, color=[64, 64, 128]),
2493
+ 223:
2494
+ dict(link=('ssd_kpt4', 'ssd_kpt3'), id=223, color=[64, 64, 128]),
2495
+ 224:
2496
+ dict(link=('ssd_kpt3', 'ssd_kpt2'), id=224, color=[64, 64, 128]),
2497
+ 225:
2498
+ dict(link=('ssd_kpt6', 'ssd_kpt1'), id=225, color=[64, 64, 128]),
2499
+ # long_sleeved_dress
2500
+ 226:
2501
+ dict(link=('lsd_kpt1', 'lsd_kpt2'), id=226, color=[128, 64, 0]),
2502
+ 227:
2503
+ dict(link=('lsd_kpt2', 'lsd_kpt7'), id=228, color=[128, 64, 0]),
2504
+ 228:
2505
+ dict(link=('lsd_kpt7', 'lsd_kpt8'), id=228, color=[128, 64, 0]),
2506
+ 229:
2507
+ dict(link=('lsd_kpt8', 'lsd_kpt9'), id=229, color=[128, 64, 0]),
2508
+ 230:
2509
+ dict(link=('lsd_kpt9', 'lsd_kpt10'), id=230, color=[128, 64, 0]),
2510
+ 231:
2511
+ dict(link=('lsd_kpt10', 'lsd_kpt11'), id=231, color=[128, 64, 0]),
2512
+ 232:
2513
+ dict(link=('lsd_kpt11', 'lsd_kpt12'), id=232, color=[128, 64, 0]),
2514
+ 233:
2515
+ dict(link=('lsd_kpt12', 'lsd_kpt13'), id=233, color=[128, 64, 0]),
2516
+ 234:
2517
+ dict(link=('lsd_kpt13', 'lsd_kpt14'), id=234, color=[128, 64, 0]),
2518
+ 235:
2519
+ dict(link=('lsd_kpt14', 'lsd_kpt15'), id=235, color=[128, 64, 0]),
2520
+ 236:
2521
+ dict(link=('lsd_kpt15', 'lsd_kpt16'), id=236, color=[128, 64, 0]),
2522
+ 237:
2523
+ dict(link=('lsd_kpt16', 'lsd_kpt17'), id=237, color=[128, 64, 0]),
2524
+ 238:
2525
+ dict(link=('lsd_kpt17', 'lsd_kpt18'), id=238, color=[128, 64, 0]),
2526
+ 239:
2527
+ dict(link=('lsd_kpt18', 'lsd_kpt19'), id=239, color=[128, 64, 0]),
2528
+ 240:
2529
+ dict(link=('lsd_kpt19', 'lsd_kpt20'), id=240, color=[128, 64, 0]),
2530
+ 241:
2531
+ dict(link=('lsd_kpt20', 'lsd_kpt21'), id=241, color=[128, 64, 0]),
2532
+ 242:
2533
+ dict(link=('lsd_kpt21', 'lsd_kpt22'), id=242, color=[128, 64, 0]),
2534
+ 243:
2535
+ dict(link=('lsd_kpt22', 'lsd_kpt23'), id=243, color=[128, 64, 0]),
2536
+ 244:
2537
+ dict(link=('lsd_kpt23', 'lsd_kpt24'), id=244, color=[128, 64, 0]),
2538
+ 245:
2539
+ dict(link=('lsd_kpt24', 'lsd_kpt25'), id=245, color=[128, 64, 0]),
2540
+ 246:
2541
+ dict(link=('lsd_kpt25', 'lsd_kpt26'), id=246, color=[128, 64, 0]),
2542
+ 247:
2543
+ dict(link=('lsd_kpt26', 'lsd_kpt27'), id=247, color=[128, 64, 0]),
2544
+ 248:
2545
+ dict(link=('lsd_kpt27', 'lsd_kpt28'), id=248, color=[128, 64, 0]),
2546
+ 249:
2547
+ dict(link=('lsd_kpt28', 'lsd_kpt29'), id=249, color=[128, 64, 0]),
2548
+ 250:
2549
+ dict(link=('lsd_kpt29', 'lsd_kpt30'), id=250, color=[128, 64, 0]),
2550
+ 251:
2551
+ dict(link=('lsd_kpt30', 'lsd_kpt31'), id=251, color=[128, 64, 0]),
2552
+ 252:
2553
+ dict(link=('lsd_kpt31', 'lsd_kpt32'), id=252, color=[128, 64, 0]),
2554
+ 253:
2555
+ dict(link=('lsd_kpt32', 'lsd_kpt33'), id=253, color=[128, 64, 0]),
2556
+ 254:
2557
+ dict(link=('lsd_kpt33', 'lsd_kpt34'), id=254, color=[128, 64, 0]),
2558
+ 255:
2559
+ dict(link=('lsd_kpt34', 'lsd_kpt35'), id=255, color=[128, 64, 0]),
2560
+ 256:
2561
+ dict(link=('lsd_kpt35', 'lsd_kpt36'), id=256, color=[128, 64, 0]),
2562
+ 257:
2563
+ dict(link=('lsd_kpt36', 'lsd_kpt37'), id=257, color=[128, 64, 0]),
2564
+ 258:
2565
+ dict(link=('lsd_kpt37', 'lsd_kpt6'), id=258, color=[128, 64, 0]),
2566
+ 259:
2567
+ dict(link=('lsd_kpt6', 'lsd_kpt5'), id=259, color=[128, 64, 0]),
2568
+ 260:
2569
+ dict(link=('lsd_kpt5', 'lsd_kpt4'), id=260, color=[128, 64, 0]),
2570
+ 261:
2571
+ dict(link=('lsd_kpt4', 'lsd_kpt3'), id=261, color=[128, 64, 0]),
2572
+ 262:
2573
+ dict(link=('lsd_kpt3', 'lsd_kpt2'), id=262, color=[128, 64, 0]),
2574
+ 263:
2575
+ dict(link=('lsd_kpt6', 'lsd_kpt1'), id=263, color=[128, 64, 0]),
2576
+ # vest_dress
2577
+ 264:
2578
+ dict(link=('vd_kpt1', 'vd_kpt2'), id=264, color=[128, 64, 255]),
2579
+ 265:
2580
+ dict(link=('vd_kpt2', 'vd_kpt7'), id=265, color=[128, 64, 255]),
2581
+ 266:
2582
+ dict(link=('vd_kpt7', 'vd_kpt8'), id=266, color=[128, 64, 255]),
2583
+ 267:
2584
+ dict(link=('vd_kpt8', 'vd_kpt9'), id=267, color=[128, 64, 255]),
2585
+ 268:
2586
+ dict(link=('vd_kpt9', 'vd_kpt10'), id=268, color=[128, 64, 255]),
2587
+ 269:
2588
+ dict(link=('vd_kpt10', 'vd_kpt11'), id=269, color=[128, 64, 255]),
2589
+ 270:
2590
+ dict(link=('vd_kpt11', 'vd_kpt12'), id=270, color=[128, 64, 255]),
2591
+ 271:
2592
+ dict(link=('vd_kpt12', 'vd_kpt13'), id=271, color=[128, 64, 255]),
2593
+ 272:
2594
+ dict(link=('vd_kpt13', 'vd_kpt14'), id=272, color=[128, 64, 255]),
2595
+ 273:
2596
+ dict(link=('vd_kpt14', 'vd_kpt15'), id=273, color=[128, 64, 255]),
2597
+ 274:
2598
+ dict(link=('vd_kpt15', 'vd_kpt16'), id=274, color=[128, 64, 255]),
2599
+ 275:
2600
+ dict(link=('vd_kpt16', 'vd_kpt17'), id=275, color=[128, 64, 255]),
2601
+ 276:
2602
+ dict(link=('vd_kpt17', 'vd_kpt18'), id=276, color=[128, 64, 255]),
2603
+ 277:
2604
+ dict(link=('vd_kpt18', 'vd_kpt19'), id=277, color=[128, 64, 255]),
2605
+ 278:
2606
+ dict(link=('vd_kpt19', 'vd_kpt6'), id=278, color=[128, 64, 255]),
2607
+ 279:
2608
+ dict(link=('vd_kpt6', 'vd_kpt5'), id=279, color=[128, 64, 255]),
2609
+ 280:
2610
+ dict(link=('vd_kpt5', 'vd_kpt4'), id=280, color=[128, 64, 255]),
2611
+ 281:
2612
+ dict(link=('vd_kpt4', 'vd_kpt3'), id=281, color=[128, 64, 255]),
2613
+ 282:
2614
+ dict(link=('vd_kpt3', 'vd_kpt2'), id=282, color=[128, 64, 255]),
2615
+ 283:
2616
+ dict(link=('vd_kpt6', 'vd_kpt1'), id=283, color=[128, 64, 255]),
2617
+ # sling_dress
2618
+ 284:
2619
+ dict(link=('sd_kpt1', 'sd_kpt2'), id=284, color=[128, 64, 0]),
2620
+ 285:
2621
+ dict(link=('sd_kpt2', 'sd_kpt8'), id=285, color=[128, 64, 0]),
2622
+ 286:
2623
+ dict(link=('sd_kpt8', 'sd_kpt9'), id=286, color=[128, 64, 0]),
2624
+ 287:
2625
+ dict(link=('sd_kpt9', 'sd_kpt10'), id=287, color=[128, 64, 0]),
2626
+ 288:
2627
+ dict(link=('sd_kpt10', 'sd_kpt11'), id=288, color=[128, 64, 0]),
2628
+ 289:
2629
+ dict(link=('sd_kpt11', 'sd_kpt12'), id=289, color=[128, 64, 0]),
2630
+ 290:
2631
+ dict(link=('sd_kpt12', 'sd_kpt13'), id=290, color=[128, 64, 0]),
2632
+ 291:
2633
+ dict(link=('sd_kpt13', 'sd_kpt14'), id=291, color=[128, 64, 0]),
2634
+ 292:
2635
+ dict(link=('sd_kpt14', 'sd_kpt15'), id=292, color=[128, 64, 0]),
2636
+ 293:
2637
+ dict(link=('sd_kpt15', 'sd_kpt16'), id=293, color=[128, 64, 0]),
2638
+ 294:
2639
+ dict(link=('sd_kpt16', 'sd_kpt17'), id=294, color=[128, 64, 0]),
2640
+ 295:
2641
+ dict(link=('sd_kpt17', 'sd_kpt18'), id=295, color=[128, 64, 0]),
2642
+ 296:
2643
+ dict(link=('sd_kpt18', 'sd_kpt6'), id=296, color=[128, 64, 0]),
2644
+ 297:
2645
+ dict(link=('sd_kpt6', 'sd_kpt5'), id=297, color=[128, 64, 0]),
2646
+ 298:
2647
+ dict(link=('sd_kpt5', 'sd_kpt4'), id=298, color=[128, 64, 0]),
2648
+ 299:
2649
+ dict(link=('sd_kpt4', 'sd_kpt3'), id=299, color=[128, 64, 0]),
2650
+ 300:
2651
+ dict(link=('sd_kpt3', 'sd_kpt2'), id=300, color=[128, 64, 0]),
2652
+ 301:
2653
+ dict(link=('sd_kpt2', 'sd_kpt7'), id=301, color=[128, 64, 0]),
2654
+ 302:
2655
+ dict(link=('sd_kpt6', 'sd_kpt19'), id=302, color=[128, 64, 0]),
2656
+ 303:
2657
+ dict(link=('sd_kpt6', 'sd_kpt1'), id=303, color=[128, 64, 0]),
2658
+ },
2659
+ joint_weights=[1.] * 294,
2660
+ sigmas=[])
mmpose/configs/_base_/datasets/deepfashion_full.py ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='deepfashion_full',
3
+ paper_info=dict(
4
+ author='Liu, Ziwei and Luo, Ping and Qiu, Shi '
5
+ 'and Wang, Xiaogang and Tang, Xiaoou',
6
+ title='DeepFashion: Powering Robust Clothes Recognition '
7
+ 'and Retrieval with Rich Annotations',
8
+ container='Proceedings of IEEE Conference on Computer '
9
+ 'Vision and Pattern Recognition (CVPR)',
10
+ year='2016',
11
+ homepage='http://mmlab.ie.cuhk.edu.hk/projects/'
12
+ 'DeepFashion/LandmarkDetection.html',
13
+ ),
14
+ keypoint_info={
15
+ 0:
16
+ dict(
17
+ name='left collar',
18
+ id=0,
19
+ color=[255, 255, 255],
20
+ type='',
21
+ swap='right collar'),
22
+ 1:
23
+ dict(
24
+ name='right collar',
25
+ id=1,
26
+ color=[255, 255, 255],
27
+ type='',
28
+ swap='left collar'),
29
+ 2:
30
+ dict(
31
+ name='left sleeve',
32
+ id=2,
33
+ color=[255, 255, 255],
34
+ type='',
35
+ swap='right sleeve'),
36
+ 3:
37
+ dict(
38
+ name='right sleeve',
39
+ id=3,
40
+ color=[255, 255, 255],
41
+ type='',
42
+ swap='left sleeve'),
43
+ 4:
44
+ dict(
45
+ name='left waistline',
46
+ id=0,
47
+ color=[255, 255, 255],
48
+ type='',
49
+ swap='right waistline'),
50
+ 5:
51
+ dict(
52
+ name='right waistline',
53
+ id=1,
54
+ color=[255, 255, 255],
55
+ type='',
56
+ swap='left waistline'),
57
+ 6:
58
+ dict(
59
+ name='left hem',
60
+ id=2,
61
+ color=[255, 255, 255],
62
+ type='',
63
+ swap='right hem'),
64
+ 7:
65
+ dict(
66
+ name='right hem',
67
+ id=3,
68
+ color=[255, 255, 255],
69
+ type='',
70
+ swap='left hem'),
71
+ },
72
+ skeleton_info={},
73
+ joint_weights=[1.] * 8,
74
+ sigmas=[])
mmpose/configs/_base_/datasets/deepfashion_lower.py ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='deepfashion_lower',
3
+ paper_info=dict(
4
+ author='Liu, Ziwei and Luo, Ping and Qiu, Shi '
5
+ 'and Wang, Xiaogang and Tang, Xiaoou',
6
+ title='DeepFashion: Powering Robust Clothes Recognition '
7
+ 'and Retrieval with Rich Annotations',
8
+ container='Proceedings of IEEE Conference on Computer '
9
+ 'Vision and Pattern Recognition (CVPR)',
10
+ year='2016',
11
+ homepage='http://mmlab.ie.cuhk.edu.hk/projects/'
12
+ 'DeepFashion/LandmarkDetection.html',
13
+ ),
14
+ keypoint_info={
15
+ 0:
16
+ dict(
17
+ name='left waistline',
18
+ id=0,
19
+ color=[255, 255, 255],
20
+ type='',
21
+ swap='right waistline'),
22
+ 1:
23
+ dict(
24
+ name='right waistline',
25
+ id=1,
26
+ color=[255, 255, 255],
27
+ type='',
28
+ swap='left waistline'),
29
+ 2:
30
+ dict(
31
+ name='left hem',
32
+ id=2,
33
+ color=[255, 255, 255],
34
+ type='',
35
+ swap='right hem'),
36
+ 3:
37
+ dict(
38
+ name='right hem',
39
+ id=3,
40
+ color=[255, 255, 255],
41
+ type='',
42
+ swap='left hem'),
43
+ },
44
+ skeleton_info={},
45
+ joint_weights=[1.] * 4,
46
+ sigmas=[])
mmpose/configs/_base_/datasets/deepfashion_upper.py ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='deepfashion_upper',
3
+ paper_info=dict(
4
+ author='Liu, Ziwei and Luo, Ping and Qiu, Shi '
5
+ 'and Wang, Xiaogang and Tang, Xiaoou',
6
+ title='DeepFashion: Powering Robust Clothes Recognition '
7
+ 'and Retrieval with Rich Annotations',
8
+ container='Proceedings of IEEE Conference on Computer '
9
+ 'Vision and Pattern Recognition (CVPR)',
10
+ year='2016',
11
+ homepage='http://mmlab.ie.cuhk.edu.hk/projects/'
12
+ 'DeepFashion/LandmarkDetection.html',
13
+ ),
14
+ keypoint_info={
15
+ 0:
16
+ dict(
17
+ name='left collar',
18
+ id=0,
19
+ color=[255, 255, 255],
20
+ type='',
21
+ swap='right collar'),
22
+ 1:
23
+ dict(
24
+ name='right collar',
25
+ id=1,
26
+ color=[255, 255, 255],
27
+ type='',
28
+ swap='left collar'),
29
+ 2:
30
+ dict(
31
+ name='left sleeve',
32
+ id=2,
33
+ color=[255, 255, 255],
34
+ type='',
35
+ swap='right sleeve'),
36
+ 3:
37
+ dict(
38
+ name='right sleeve',
39
+ id=3,
40
+ color=[255, 255, 255],
41
+ type='',
42
+ swap='left sleeve'),
43
+ 4:
44
+ dict(
45
+ name='left hem',
46
+ id=4,
47
+ color=[255, 255, 255],
48
+ type='',
49
+ swap='right hem'),
50
+ 5:
51
+ dict(
52
+ name='right hem',
53
+ id=5,
54
+ color=[255, 255, 255],
55
+ type='',
56
+ swap='left hem'),
57
+ },
58
+ skeleton_info={},
59
+ joint_weights=[1.] * 6,
60
+ sigmas=[])
mmpose/configs/_base_/datasets/fly.py ADDED
@@ -0,0 +1,237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='fly',
3
+ paper_info=dict(
4
+ author='Pereira, Talmo D and Aldarondo, Diego E and '
5
+ 'Willmore, Lindsay and Kislin, Mikhail and '
6
+ 'Wang, Samuel S-H and Murthy, Mala and Shaevitz, Joshua W',
7
+ title='Fast animal pose estimation using deep neural networks',
8
+ container='Nature methods',
9
+ year='2019',
10
+ homepage='https://github.com/jgraving/DeepPoseKit-Data',
11
+ ),
12
+ keypoint_info={
13
+ 0:
14
+ dict(name='head', id=0, color=[255, 255, 255], type='', swap=''),
15
+ 1:
16
+ dict(name='eyeL', id=1, color=[255, 255, 255], type='', swap='eyeR'),
17
+ 2:
18
+ dict(name='eyeR', id=2, color=[255, 255, 255], type='', swap='eyeL'),
19
+ 3:
20
+ dict(name='neck', id=3, color=[255, 255, 255], type='', swap=''),
21
+ 4:
22
+ dict(name='thorax', id=4, color=[255, 255, 255], type='', swap=''),
23
+ 5:
24
+ dict(name='abdomen', id=5, color=[255, 255, 255], type='', swap=''),
25
+ 6:
26
+ dict(
27
+ name='forelegR1',
28
+ id=6,
29
+ color=[255, 255, 255],
30
+ type='',
31
+ swap='forelegL1'),
32
+ 7:
33
+ dict(
34
+ name='forelegR2',
35
+ id=7,
36
+ color=[255, 255, 255],
37
+ type='',
38
+ swap='forelegL2'),
39
+ 8:
40
+ dict(
41
+ name='forelegR3',
42
+ id=8,
43
+ color=[255, 255, 255],
44
+ type='',
45
+ swap='forelegL3'),
46
+ 9:
47
+ dict(
48
+ name='forelegR4',
49
+ id=9,
50
+ color=[255, 255, 255],
51
+ type='',
52
+ swap='forelegL4'),
53
+ 10:
54
+ dict(
55
+ name='midlegR1',
56
+ id=10,
57
+ color=[255, 255, 255],
58
+ type='',
59
+ swap='midlegL1'),
60
+ 11:
61
+ dict(
62
+ name='midlegR2',
63
+ id=11,
64
+ color=[255, 255, 255],
65
+ type='',
66
+ swap='midlegL2'),
67
+ 12:
68
+ dict(
69
+ name='midlegR3',
70
+ id=12,
71
+ color=[255, 255, 255],
72
+ type='',
73
+ swap='midlegL3'),
74
+ 13:
75
+ dict(
76
+ name='midlegR4',
77
+ id=13,
78
+ color=[255, 255, 255],
79
+ type='',
80
+ swap='midlegL4'),
81
+ 14:
82
+ dict(
83
+ name='hindlegR1',
84
+ id=14,
85
+ color=[255, 255, 255],
86
+ type='',
87
+ swap='hindlegL1'),
88
+ 15:
89
+ dict(
90
+ name='hindlegR2',
91
+ id=15,
92
+ color=[255, 255, 255],
93
+ type='',
94
+ swap='hindlegL2'),
95
+ 16:
96
+ dict(
97
+ name='hindlegR3',
98
+ id=16,
99
+ color=[255, 255, 255],
100
+ type='',
101
+ swap='hindlegL3'),
102
+ 17:
103
+ dict(
104
+ name='hindlegR4',
105
+ id=17,
106
+ color=[255, 255, 255],
107
+ type='',
108
+ swap='hindlegL4'),
109
+ 18:
110
+ dict(
111
+ name='forelegL1',
112
+ id=18,
113
+ color=[255, 255, 255],
114
+ type='',
115
+ swap='forelegR1'),
116
+ 19:
117
+ dict(
118
+ name='forelegL2',
119
+ id=19,
120
+ color=[255, 255, 255],
121
+ type='',
122
+ swap='forelegR2'),
123
+ 20:
124
+ dict(
125
+ name='forelegL3',
126
+ id=20,
127
+ color=[255, 255, 255],
128
+ type='',
129
+ swap='forelegR3'),
130
+ 21:
131
+ dict(
132
+ name='forelegL4',
133
+ id=21,
134
+ color=[255, 255, 255],
135
+ type='',
136
+ swap='forelegR4'),
137
+ 22:
138
+ dict(
139
+ name='midlegL1',
140
+ id=22,
141
+ color=[255, 255, 255],
142
+ type='',
143
+ swap='midlegR1'),
144
+ 23:
145
+ dict(
146
+ name='midlegL2',
147
+ id=23,
148
+ color=[255, 255, 255],
149
+ type='',
150
+ swap='midlegR2'),
151
+ 24:
152
+ dict(
153
+ name='midlegL3',
154
+ id=24,
155
+ color=[255, 255, 255],
156
+ type='',
157
+ swap='midlegR3'),
158
+ 25:
159
+ dict(
160
+ name='midlegL4',
161
+ id=25,
162
+ color=[255, 255, 255],
163
+ type='',
164
+ swap='midlegR4'),
165
+ 26:
166
+ dict(
167
+ name='hindlegL1',
168
+ id=26,
169
+ color=[255, 255, 255],
170
+ type='',
171
+ swap='hindlegR1'),
172
+ 27:
173
+ dict(
174
+ name='hindlegL2',
175
+ id=27,
176
+ color=[255, 255, 255],
177
+ type='',
178
+ swap='hindlegR2'),
179
+ 28:
180
+ dict(
181
+ name='hindlegL3',
182
+ id=28,
183
+ color=[255, 255, 255],
184
+ type='',
185
+ swap='hindlegR3'),
186
+ 29:
187
+ dict(
188
+ name='hindlegL4',
189
+ id=29,
190
+ color=[255, 255, 255],
191
+ type='',
192
+ swap='hindlegR4'),
193
+ 30:
194
+ dict(
195
+ name='wingL', id=30, color=[255, 255, 255], type='', swap='wingR'),
196
+ 31:
197
+ dict(
198
+ name='wingR', id=31, color=[255, 255, 255], type='', swap='wingL'),
199
+ },
200
+ skeleton_info={
201
+ 0: dict(link=('eyeL', 'head'), id=0, color=[255, 255, 255]),
202
+ 1: dict(link=('eyeR', 'head'), id=1, color=[255, 255, 255]),
203
+ 2: dict(link=('neck', 'head'), id=2, color=[255, 255, 255]),
204
+ 3: dict(link=('thorax', 'neck'), id=3, color=[255, 255, 255]),
205
+ 4: dict(link=('abdomen', 'thorax'), id=4, color=[255, 255, 255]),
206
+ 5: dict(link=('forelegR2', 'forelegR1'), id=5, color=[255, 255, 255]),
207
+ 6: dict(link=('forelegR3', 'forelegR2'), id=6, color=[255, 255, 255]),
208
+ 7: dict(link=('forelegR4', 'forelegR3'), id=7, color=[255, 255, 255]),
209
+ 8: dict(link=('midlegR2', 'midlegR1'), id=8, color=[255, 255, 255]),
210
+ 9: dict(link=('midlegR3', 'midlegR2'), id=9, color=[255, 255, 255]),
211
+ 10: dict(link=('midlegR4', 'midlegR3'), id=10, color=[255, 255, 255]),
212
+ 11:
213
+ dict(link=('hindlegR2', 'hindlegR1'), id=11, color=[255, 255, 255]),
214
+ 12:
215
+ dict(link=('hindlegR3', 'hindlegR2'), id=12, color=[255, 255, 255]),
216
+ 13:
217
+ dict(link=('hindlegR4', 'hindlegR3'), id=13, color=[255, 255, 255]),
218
+ 14:
219
+ dict(link=('forelegL2', 'forelegL1'), id=14, color=[255, 255, 255]),
220
+ 15:
221
+ dict(link=('forelegL3', 'forelegL2'), id=15, color=[255, 255, 255]),
222
+ 16:
223
+ dict(link=('forelegL4', 'forelegL3'), id=16, color=[255, 255, 255]),
224
+ 17: dict(link=('midlegL2', 'midlegL1'), id=17, color=[255, 255, 255]),
225
+ 18: dict(link=('midlegL3', 'midlegL2'), id=18, color=[255, 255, 255]),
226
+ 19: dict(link=('midlegL4', 'midlegL3'), id=19, color=[255, 255, 255]),
227
+ 20:
228
+ dict(link=('hindlegL2', 'hindlegL1'), id=20, color=[255, 255, 255]),
229
+ 21:
230
+ dict(link=('hindlegL3', 'hindlegL2'), id=21, color=[255, 255, 255]),
231
+ 22:
232
+ dict(link=('hindlegL4', 'hindlegL3'), id=22, color=[255, 255, 255]),
233
+ 23: dict(link=('wingL', 'neck'), id=23, color=[255, 255, 255]),
234
+ 24: dict(link=('wingR', 'neck'), id=24, color=[255, 255, 255])
235
+ },
236
+ joint_weights=[1.] * 32,
237
+ sigmas=[])
mmpose/configs/_base_/datasets/freihand2d.py ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='freihand',
3
+ paper_info=dict(
4
+ author='Zimmermann, Christian and Ceylan, Duygu and '
5
+ 'Yang, Jimei and Russell, Bryan and '
6
+ 'Argus, Max and Brox, Thomas',
7
+ title='Freihand: A dataset for markerless capture of hand pose '
8
+ 'and shape from single rgb images',
9
+ container='Proceedings of the IEEE International '
10
+ 'Conference on Computer Vision',
11
+ year='2019',
12
+ homepage='https://lmb.informatik.uni-freiburg.de/projects/freihand/',
13
+ ),
14
+ keypoint_info={
15
+ 0:
16
+ dict(name='wrist', id=0, color=[255, 255, 255], type='', swap=''),
17
+ 1:
18
+ dict(name='thumb1', id=1, color=[255, 128, 0], type='', swap=''),
19
+ 2:
20
+ dict(name='thumb2', id=2, color=[255, 128, 0], type='', swap=''),
21
+ 3:
22
+ dict(name='thumb3', id=3, color=[255, 128, 0], type='', swap=''),
23
+ 4:
24
+ dict(name='thumb4', id=4, color=[255, 128, 0], type='', swap=''),
25
+ 5:
26
+ dict(
27
+ name='forefinger1', id=5, color=[255, 153, 255], type='', swap=''),
28
+ 6:
29
+ dict(
30
+ name='forefinger2', id=6, color=[255, 153, 255], type='', swap=''),
31
+ 7:
32
+ dict(
33
+ name='forefinger3', id=7, color=[255, 153, 255], type='', swap=''),
34
+ 8:
35
+ dict(
36
+ name='forefinger4', id=8, color=[255, 153, 255], type='', swap=''),
37
+ 9:
38
+ dict(
39
+ name='middle_finger1',
40
+ id=9,
41
+ color=[102, 178, 255],
42
+ type='',
43
+ swap=''),
44
+ 10:
45
+ dict(
46
+ name='middle_finger2',
47
+ id=10,
48
+ color=[102, 178, 255],
49
+ type='',
50
+ swap=''),
51
+ 11:
52
+ dict(
53
+ name='middle_finger3',
54
+ id=11,
55
+ color=[102, 178, 255],
56
+ type='',
57
+ swap=''),
58
+ 12:
59
+ dict(
60
+ name='middle_finger4',
61
+ id=12,
62
+ color=[102, 178, 255],
63
+ type='',
64
+ swap=''),
65
+ 13:
66
+ dict(
67
+ name='ring_finger1', id=13, color=[255, 51, 51], type='', swap=''),
68
+ 14:
69
+ dict(
70
+ name='ring_finger2', id=14, color=[255, 51, 51], type='', swap=''),
71
+ 15:
72
+ dict(
73
+ name='ring_finger3', id=15, color=[255, 51, 51], type='', swap=''),
74
+ 16:
75
+ dict(
76
+ name='ring_finger4', id=16, color=[255, 51, 51], type='', swap=''),
77
+ 17:
78
+ dict(name='pinky_finger1', id=17, color=[0, 255, 0], type='', swap=''),
79
+ 18:
80
+ dict(name='pinky_finger2', id=18, color=[0, 255, 0], type='', swap=''),
81
+ 19:
82
+ dict(name='pinky_finger3', id=19, color=[0, 255, 0], type='', swap=''),
83
+ 20:
84
+ dict(name='pinky_finger4', id=20, color=[0, 255, 0], type='', swap='')
85
+ },
86
+ skeleton_info={
87
+ 0:
88
+ dict(link=('wrist', 'thumb1'), id=0, color=[255, 128, 0]),
89
+ 1:
90
+ dict(link=('thumb1', 'thumb2'), id=1, color=[255, 128, 0]),
91
+ 2:
92
+ dict(link=('thumb2', 'thumb3'), id=2, color=[255, 128, 0]),
93
+ 3:
94
+ dict(link=('thumb3', 'thumb4'), id=3, color=[255, 128, 0]),
95
+ 4:
96
+ dict(link=('wrist', 'forefinger1'), id=4, color=[255, 153, 255]),
97
+ 5:
98
+ dict(link=('forefinger1', 'forefinger2'), id=5, color=[255, 153, 255]),
99
+ 6:
100
+ dict(link=('forefinger2', 'forefinger3'), id=6, color=[255, 153, 255]),
101
+ 7:
102
+ dict(link=('forefinger3', 'forefinger4'), id=7, color=[255, 153, 255]),
103
+ 8:
104
+ dict(link=('wrist', 'middle_finger1'), id=8, color=[102, 178, 255]),
105
+ 9:
106
+ dict(
107
+ link=('middle_finger1', 'middle_finger2'),
108
+ id=9,
109
+ color=[102, 178, 255]),
110
+ 10:
111
+ dict(
112
+ link=('middle_finger2', 'middle_finger3'),
113
+ id=10,
114
+ color=[102, 178, 255]),
115
+ 11:
116
+ dict(
117
+ link=('middle_finger3', 'middle_finger4'),
118
+ id=11,
119
+ color=[102, 178, 255]),
120
+ 12:
121
+ dict(link=('wrist', 'ring_finger1'), id=12, color=[255, 51, 51]),
122
+ 13:
123
+ dict(
124
+ link=('ring_finger1', 'ring_finger2'), id=13, color=[255, 51, 51]),
125
+ 14:
126
+ dict(
127
+ link=('ring_finger2', 'ring_finger3'), id=14, color=[255, 51, 51]),
128
+ 15:
129
+ dict(
130
+ link=('ring_finger3', 'ring_finger4'), id=15, color=[255, 51, 51]),
131
+ 16:
132
+ dict(link=('wrist', 'pinky_finger1'), id=16, color=[0, 255, 0]),
133
+ 17:
134
+ dict(
135
+ link=('pinky_finger1', 'pinky_finger2'), id=17, color=[0, 255, 0]),
136
+ 18:
137
+ dict(
138
+ link=('pinky_finger2', 'pinky_finger3'), id=18, color=[0, 255, 0]),
139
+ 19:
140
+ dict(
141
+ link=('pinky_finger3', 'pinky_finger4'), id=19, color=[0, 255, 0])
142
+ },
143
+ joint_weights=[1.] * 21,
144
+ sigmas=[])
mmpose/configs/_base_/datasets/h36m.py ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='h36m',
3
+ paper_info=dict(
4
+ author='Ionescu, Catalin and Papava, Dragos and '
5
+ 'Olaru, Vlad and Sminchisescu, Cristian',
6
+ title='Human3.6M: Large Scale Datasets and Predictive '
7
+ 'Methods for 3D Human Sensing in Natural Environments',
8
+ container='IEEE Transactions on Pattern Analysis and '
9
+ 'Machine Intelligence',
10
+ year='2014',
11
+ homepage='http://vision.imar.ro/human3.6m/description.php',
12
+ ),
13
+ keypoint_info={
14
+ 0:
15
+ dict(name='root', id=0, color=[51, 153, 255], type='lower', swap=''),
16
+ 1:
17
+ dict(
18
+ name='right_hip',
19
+ id=1,
20
+ color=[255, 128, 0],
21
+ type='lower',
22
+ swap='left_hip'),
23
+ 2:
24
+ dict(
25
+ name='right_knee',
26
+ id=2,
27
+ color=[255, 128, 0],
28
+ type='lower',
29
+ swap='left_knee'),
30
+ 3:
31
+ dict(
32
+ name='right_foot',
33
+ id=3,
34
+ color=[255, 128, 0],
35
+ type='lower',
36
+ swap='left_foot'),
37
+ 4:
38
+ dict(
39
+ name='left_hip',
40
+ id=4,
41
+ color=[0, 255, 0],
42
+ type='lower',
43
+ swap='right_hip'),
44
+ 5:
45
+ dict(
46
+ name='left_knee',
47
+ id=5,
48
+ color=[0, 255, 0],
49
+ type='lower',
50
+ swap='right_knee'),
51
+ 6:
52
+ dict(
53
+ name='left_foot',
54
+ id=6,
55
+ color=[0, 255, 0],
56
+ type='lower',
57
+ swap='right_foot'),
58
+ 7:
59
+ dict(name='spine', id=7, color=[51, 153, 255], type='upper', swap=''),
60
+ 8:
61
+ dict(name='thorax', id=8, color=[51, 153, 255], type='upper', swap=''),
62
+ 9:
63
+ dict(
64
+ name='neck_base',
65
+ id=9,
66
+ color=[51, 153, 255],
67
+ type='upper',
68
+ swap=''),
69
+ 10:
70
+ dict(name='head', id=10, color=[51, 153, 255], type='upper', swap=''),
71
+ 11:
72
+ dict(
73
+ name='left_shoulder',
74
+ id=11,
75
+ color=[0, 255, 0],
76
+ type='upper',
77
+ swap='right_shoulder'),
78
+ 12:
79
+ dict(
80
+ name='left_elbow',
81
+ id=12,
82
+ color=[0, 255, 0],
83
+ type='upper',
84
+ swap='right_elbow'),
85
+ 13:
86
+ dict(
87
+ name='left_wrist',
88
+ id=13,
89
+ color=[0, 255, 0],
90
+ type='upper',
91
+ swap='right_wrist'),
92
+ 14:
93
+ dict(
94
+ name='right_shoulder',
95
+ id=14,
96
+ color=[255, 128, 0],
97
+ type='upper',
98
+ swap='left_shoulder'),
99
+ 15:
100
+ dict(
101
+ name='right_elbow',
102
+ id=15,
103
+ color=[255, 128, 0],
104
+ type='upper',
105
+ swap='left_elbow'),
106
+ 16:
107
+ dict(
108
+ name='right_wrist',
109
+ id=16,
110
+ color=[255, 128, 0],
111
+ type='upper',
112
+ swap='left_wrist')
113
+ },
114
+ skeleton_info={
115
+ 0:
116
+ dict(link=('root', 'left_hip'), id=0, color=[0, 255, 0]),
117
+ 1:
118
+ dict(link=('left_hip', 'left_knee'), id=1, color=[0, 255, 0]),
119
+ 2:
120
+ dict(link=('left_knee', 'left_foot'), id=2, color=[0, 255, 0]),
121
+ 3:
122
+ dict(link=('root', 'right_hip'), id=3, color=[255, 128, 0]),
123
+ 4:
124
+ dict(link=('right_hip', 'right_knee'), id=4, color=[255, 128, 0]),
125
+ 5:
126
+ dict(link=('right_knee', 'right_foot'), id=5, color=[255, 128, 0]),
127
+ 6:
128
+ dict(link=('root', 'spine'), id=6, color=[51, 153, 255]),
129
+ 7:
130
+ dict(link=('spine', 'thorax'), id=7, color=[51, 153, 255]),
131
+ 8:
132
+ dict(link=('thorax', 'neck_base'), id=8, color=[51, 153, 255]),
133
+ 9:
134
+ dict(link=('neck_base', 'head'), id=9, color=[51, 153, 255]),
135
+ 10:
136
+ dict(link=('thorax', 'left_shoulder'), id=10, color=[0, 255, 0]),
137
+ 11:
138
+ dict(link=('left_shoulder', 'left_elbow'), id=11, color=[0, 255, 0]),
139
+ 12:
140
+ dict(link=('left_elbow', 'left_wrist'), id=12, color=[0, 255, 0]),
141
+ 13:
142
+ dict(link=('thorax', 'right_shoulder'), id=13, color=[255, 128, 0]),
143
+ 14:
144
+ dict(
145
+ link=('right_shoulder', 'right_elbow'), id=14, color=[255, 128,
146
+ 0]),
147
+ 15:
148
+ dict(link=('right_elbow', 'right_wrist'), id=15, color=[255, 128, 0])
149
+ },
150
+ joint_weights=[1.] * 17,
151
+ sigmas=[],
152
+ stats_info=dict(bbox_center=(528., 427.), bbox_scale=400.))
mmpose/configs/_base_/datasets/halpe.py ADDED
@@ -0,0 +1,1157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='halpe',
3
+ paper_info=dict(
4
+ author='Li, Yong-Lu and Xu, Liang and Liu, Xinpeng and Huang, Xijie'
5
+ ' and Xu, Yue and Wang, Shiyi and Fang, Hao-Shu'
6
+ ' and Ma, Ze and Chen, Mingyang and Lu, Cewu',
7
+ title='PaStaNet: Toward Human Activity Knowledge Engine',
8
+ container='CVPR',
9
+ year='2020',
10
+ homepage='https://github.com/Fang-Haoshu/Halpe-FullBody/',
11
+ ),
12
+ keypoint_info={
13
+ 0:
14
+ dict(name='nose', id=0, color=[51, 153, 255], type='upper', swap=''),
15
+ 1:
16
+ dict(
17
+ name='left_eye',
18
+ id=1,
19
+ color=[51, 153, 255],
20
+ type='upper',
21
+ swap='right_eye'),
22
+ 2:
23
+ dict(
24
+ name='right_eye',
25
+ id=2,
26
+ color=[51, 153, 255],
27
+ type='upper',
28
+ swap='left_eye'),
29
+ 3:
30
+ dict(
31
+ name='left_ear',
32
+ id=3,
33
+ color=[51, 153, 255],
34
+ type='upper',
35
+ swap='right_ear'),
36
+ 4:
37
+ dict(
38
+ name='right_ear',
39
+ id=4,
40
+ color=[51, 153, 255],
41
+ type='upper',
42
+ swap='left_ear'),
43
+ 5:
44
+ dict(
45
+ name='left_shoulder',
46
+ id=5,
47
+ color=[0, 255, 0],
48
+ type='upper',
49
+ swap='right_shoulder'),
50
+ 6:
51
+ dict(
52
+ name='right_shoulder',
53
+ id=6,
54
+ color=[255, 128, 0],
55
+ type='upper',
56
+ swap='left_shoulder'),
57
+ 7:
58
+ dict(
59
+ name='left_elbow',
60
+ id=7,
61
+ color=[0, 255, 0],
62
+ type='upper',
63
+ swap='right_elbow'),
64
+ 8:
65
+ dict(
66
+ name='right_elbow',
67
+ id=8,
68
+ color=[255, 128, 0],
69
+ type='upper',
70
+ swap='left_elbow'),
71
+ 9:
72
+ dict(
73
+ name='left_wrist',
74
+ id=9,
75
+ color=[0, 255, 0],
76
+ type='upper',
77
+ swap='right_wrist'),
78
+ 10:
79
+ dict(
80
+ name='right_wrist',
81
+ id=10,
82
+ color=[255, 128, 0],
83
+ type='upper',
84
+ swap='left_wrist'),
85
+ 11:
86
+ dict(
87
+ name='left_hip',
88
+ id=11,
89
+ color=[0, 255, 0],
90
+ type='lower',
91
+ swap='right_hip'),
92
+ 12:
93
+ dict(
94
+ name='right_hip',
95
+ id=12,
96
+ color=[255, 128, 0],
97
+ type='lower',
98
+ swap='left_hip'),
99
+ 13:
100
+ dict(
101
+ name='left_knee',
102
+ id=13,
103
+ color=[0, 255, 0],
104
+ type='lower',
105
+ swap='right_knee'),
106
+ 14:
107
+ dict(
108
+ name='right_knee',
109
+ id=14,
110
+ color=[255, 128, 0],
111
+ type='lower',
112
+ swap='left_knee'),
113
+ 15:
114
+ dict(
115
+ name='left_ankle',
116
+ id=15,
117
+ color=[0, 255, 0],
118
+ type='lower',
119
+ swap='right_ankle'),
120
+ 16:
121
+ dict(
122
+ name='right_ankle',
123
+ id=16,
124
+ color=[255, 128, 0],
125
+ type='lower',
126
+ swap='left_ankle'),
127
+ 17:
128
+ dict(name='head', id=17, color=[255, 128, 0], type='upper', swap=''),
129
+ 18:
130
+ dict(name='neck', id=18, color=[255, 128, 0], type='upper', swap=''),
131
+ 19:
132
+ dict(name='hip', id=19, color=[255, 128, 0], type='lower', swap=''),
133
+ 20:
134
+ dict(
135
+ name='left_big_toe',
136
+ id=20,
137
+ color=[255, 128, 0],
138
+ type='lower',
139
+ swap='right_big_toe'),
140
+ 21:
141
+ dict(
142
+ name='right_big_toe',
143
+ id=21,
144
+ color=[255, 128, 0],
145
+ type='lower',
146
+ swap='left_big_toe'),
147
+ 22:
148
+ dict(
149
+ name='left_small_toe',
150
+ id=22,
151
+ color=[255, 128, 0],
152
+ type='lower',
153
+ swap='right_small_toe'),
154
+ 23:
155
+ dict(
156
+ name='right_small_toe',
157
+ id=23,
158
+ color=[255, 128, 0],
159
+ type='lower',
160
+ swap='left_small_toe'),
161
+ 24:
162
+ dict(
163
+ name='left_heel',
164
+ id=24,
165
+ color=[255, 128, 0],
166
+ type='lower',
167
+ swap='right_heel'),
168
+ 25:
169
+ dict(
170
+ name='right_heel',
171
+ id=25,
172
+ color=[255, 128, 0],
173
+ type='lower',
174
+ swap='left_heel'),
175
+ 26:
176
+ dict(
177
+ name='face-0',
178
+ id=26,
179
+ color=[255, 255, 255],
180
+ type='',
181
+ swap='face-16'),
182
+ 27:
183
+ dict(
184
+ name='face-1',
185
+ id=27,
186
+ color=[255, 255, 255],
187
+ type='',
188
+ swap='face-15'),
189
+ 28:
190
+ dict(
191
+ name='face-2',
192
+ id=28,
193
+ color=[255, 255, 255],
194
+ type='',
195
+ swap='face-14'),
196
+ 29:
197
+ dict(
198
+ name='face-3',
199
+ id=29,
200
+ color=[255, 255, 255],
201
+ type='',
202
+ swap='face-13'),
203
+ 30:
204
+ dict(
205
+ name='face-4',
206
+ id=30,
207
+ color=[255, 255, 255],
208
+ type='',
209
+ swap='face-12'),
210
+ 31:
211
+ dict(
212
+ name='face-5',
213
+ id=31,
214
+ color=[255, 255, 255],
215
+ type='',
216
+ swap='face-11'),
217
+ 32:
218
+ dict(
219
+ name='face-6',
220
+ id=32,
221
+ color=[255, 255, 255],
222
+ type='',
223
+ swap='face-10'),
224
+ 33:
225
+ dict(
226
+ name='face-7',
227
+ id=33,
228
+ color=[255, 255, 255],
229
+ type='',
230
+ swap='face-9'),
231
+ 34:
232
+ dict(name='face-8', id=34, color=[255, 255, 255], type='', swap=''),
233
+ 35:
234
+ dict(
235
+ name='face-9',
236
+ id=35,
237
+ color=[255, 255, 255],
238
+ type='',
239
+ swap='face-7'),
240
+ 36:
241
+ dict(
242
+ name='face-10',
243
+ id=36,
244
+ color=[255, 255, 255],
245
+ type='',
246
+ swap='face-6'),
247
+ 37:
248
+ dict(
249
+ name='face-11',
250
+ id=37,
251
+ color=[255, 255, 255],
252
+ type='',
253
+ swap='face-5'),
254
+ 38:
255
+ dict(
256
+ name='face-12',
257
+ id=38,
258
+ color=[255, 255, 255],
259
+ type='',
260
+ swap='face-4'),
261
+ 39:
262
+ dict(
263
+ name='face-13',
264
+ id=39,
265
+ color=[255, 255, 255],
266
+ type='',
267
+ swap='face-3'),
268
+ 40:
269
+ dict(
270
+ name='face-14',
271
+ id=40,
272
+ color=[255, 255, 255],
273
+ type='',
274
+ swap='face-2'),
275
+ 41:
276
+ dict(
277
+ name='face-15',
278
+ id=41,
279
+ color=[255, 255, 255],
280
+ type='',
281
+ swap='face-1'),
282
+ 42:
283
+ dict(
284
+ name='face-16',
285
+ id=42,
286
+ color=[255, 255, 255],
287
+ type='',
288
+ swap='face-0'),
289
+ 43:
290
+ dict(
291
+ name='face-17',
292
+ id=43,
293
+ color=[255, 255, 255],
294
+ type='',
295
+ swap='face-26'),
296
+ 44:
297
+ dict(
298
+ name='face-18',
299
+ id=44,
300
+ color=[255, 255, 255],
301
+ type='',
302
+ swap='face-25'),
303
+ 45:
304
+ dict(
305
+ name='face-19',
306
+ id=45,
307
+ color=[255, 255, 255],
308
+ type='',
309
+ swap='face-24'),
310
+ 46:
311
+ dict(
312
+ name='face-20',
313
+ id=46,
314
+ color=[255, 255, 255],
315
+ type='',
316
+ swap='face-23'),
317
+ 47:
318
+ dict(
319
+ name='face-21',
320
+ id=47,
321
+ color=[255, 255, 255],
322
+ type='',
323
+ swap='face-22'),
324
+ 48:
325
+ dict(
326
+ name='face-22',
327
+ id=48,
328
+ color=[255, 255, 255],
329
+ type='',
330
+ swap='face-21'),
331
+ 49:
332
+ dict(
333
+ name='face-23',
334
+ id=49,
335
+ color=[255, 255, 255],
336
+ type='',
337
+ swap='face-20'),
338
+ 50:
339
+ dict(
340
+ name='face-24',
341
+ id=50,
342
+ color=[255, 255, 255],
343
+ type='',
344
+ swap='face-19'),
345
+ 51:
346
+ dict(
347
+ name='face-25',
348
+ id=51,
349
+ color=[255, 255, 255],
350
+ type='',
351
+ swap='face-18'),
352
+ 52:
353
+ dict(
354
+ name='face-26',
355
+ id=52,
356
+ color=[255, 255, 255],
357
+ type='',
358
+ swap='face-17'),
359
+ 53:
360
+ dict(name='face-27', id=53, color=[255, 255, 255], type='', swap=''),
361
+ 54:
362
+ dict(name='face-28', id=54, color=[255, 255, 255], type='', swap=''),
363
+ 55:
364
+ dict(name='face-29', id=55, color=[255, 255, 255], type='', swap=''),
365
+ 56:
366
+ dict(name='face-30', id=56, color=[255, 255, 255], type='', swap=''),
367
+ 57:
368
+ dict(
369
+ name='face-31',
370
+ id=57,
371
+ color=[255, 255, 255],
372
+ type='',
373
+ swap='face-35'),
374
+ 58:
375
+ dict(
376
+ name='face-32',
377
+ id=58,
378
+ color=[255, 255, 255],
379
+ type='',
380
+ swap='face-34'),
381
+ 59:
382
+ dict(name='face-33', id=59, color=[255, 255, 255], type='', swap=''),
383
+ 60:
384
+ dict(
385
+ name='face-34',
386
+ id=60,
387
+ color=[255, 255, 255],
388
+ type='',
389
+ swap='face-32'),
390
+ 61:
391
+ dict(
392
+ name='face-35',
393
+ id=61,
394
+ color=[255, 255, 255],
395
+ type='',
396
+ swap='face-31'),
397
+ 62:
398
+ dict(
399
+ name='face-36',
400
+ id=62,
401
+ color=[255, 255, 255],
402
+ type='',
403
+ swap='face-45'),
404
+ 63:
405
+ dict(
406
+ name='face-37',
407
+ id=63,
408
+ color=[255, 255, 255],
409
+ type='',
410
+ swap='face-44'),
411
+ 64:
412
+ dict(
413
+ name='face-38',
414
+ id=64,
415
+ color=[255, 255, 255],
416
+ type='',
417
+ swap='face-43'),
418
+ 65:
419
+ dict(
420
+ name='face-39',
421
+ id=65,
422
+ color=[255, 255, 255],
423
+ type='',
424
+ swap='face-42'),
425
+ 66:
426
+ dict(
427
+ name='face-40',
428
+ id=66,
429
+ color=[255, 255, 255],
430
+ type='',
431
+ swap='face-47'),
432
+ 67:
433
+ dict(
434
+ name='face-41',
435
+ id=67,
436
+ color=[255, 255, 255],
437
+ type='',
438
+ swap='face-46'),
439
+ 68:
440
+ dict(
441
+ name='face-42',
442
+ id=68,
443
+ color=[255, 255, 255],
444
+ type='',
445
+ swap='face-39'),
446
+ 69:
447
+ dict(
448
+ name='face-43',
449
+ id=69,
450
+ color=[255, 255, 255],
451
+ type='',
452
+ swap='face-38'),
453
+ 70:
454
+ dict(
455
+ name='face-44',
456
+ id=70,
457
+ color=[255, 255, 255],
458
+ type='',
459
+ swap='face-37'),
460
+ 71:
461
+ dict(
462
+ name='face-45',
463
+ id=71,
464
+ color=[255, 255, 255],
465
+ type='',
466
+ swap='face-36'),
467
+ 72:
468
+ dict(
469
+ name='face-46',
470
+ id=72,
471
+ color=[255, 255, 255],
472
+ type='',
473
+ swap='face-41'),
474
+ 73:
475
+ dict(
476
+ name='face-47',
477
+ id=73,
478
+ color=[255, 255, 255],
479
+ type='',
480
+ swap='face-40'),
481
+ 74:
482
+ dict(
483
+ name='face-48',
484
+ id=74,
485
+ color=[255, 255, 255],
486
+ type='',
487
+ swap='face-54'),
488
+ 75:
489
+ dict(
490
+ name='face-49',
491
+ id=75,
492
+ color=[255, 255, 255],
493
+ type='',
494
+ swap='face-53'),
495
+ 76:
496
+ dict(
497
+ name='face-50',
498
+ id=76,
499
+ color=[255, 255, 255],
500
+ type='',
501
+ swap='face-52'),
502
+ 77:
503
+ dict(name='face-51', id=77, color=[255, 255, 255], type='', swap=''),
504
+ 78:
505
+ dict(
506
+ name='face-52',
507
+ id=78,
508
+ color=[255, 255, 255],
509
+ type='',
510
+ swap='face-50'),
511
+ 79:
512
+ dict(
513
+ name='face-53',
514
+ id=79,
515
+ color=[255, 255, 255],
516
+ type='',
517
+ swap='face-49'),
518
+ 80:
519
+ dict(
520
+ name='face-54',
521
+ id=80,
522
+ color=[255, 255, 255],
523
+ type='',
524
+ swap='face-48'),
525
+ 81:
526
+ dict(
527
+ name='face-55',
528
+ id=81,
529
+ color=[255, 255, 255],
530
+ type='',
531
+ swap='face-59'),
532
+ 82:
533
+ dict(
534
+ name='face-56',
535
+ id=82,
536
+ color=[255, 255, 255],
537
+ type='',
538
+ swap='face-58'),
539
+ 83:
540
+ dict(name='face-57', id=83, color=[255, 255, 255], type='', swap=''),
541
+ 84:
542
+ dict(
543
+ name='face-58',
544
+ id=84,
545
+ color=[255, 255, 255],
546
+ type='',
547
+ swap='face-56'),
548
+ 85:
549
+ dict(
550
+ name='face-59',
551
+ id=85,
552
+ color=[255, 255, 255],
553
+ type='',
554
+ swap='face-55'),
555
+ 86:
556
+ dict(
557
+ name='face-60',
558
+ id=86,
559
+ color=[255, 255, 255],
560
+ type='',
561
+ swap='face-64'),
562
+ 87:
563
+ dict(
564
+ name='face-61',
565
+ id=87,
566
+ color=[255, 255, 255],
567
+ type='',
568
+ swap='face-63'),
569
+ 88:
570
+ dict(name='face-62', id=88, color=[255, 255, 255], type='', swap=''),
571
+ 89:
572
+ dict(
573
+ name='face-63',
574
+ id=89,
575
+ color=[255, 255, 255],
576
+ type='',
577
+ swap='face-61'),
578
+ 90:
579
+ dict(
580
+ name='face-64',
581
+ id=90,
582
+ color=[255, 255, 255],
583
+ type='',
584
+ swap='face-60'),
585
+ 91:
586
+ dict(
587
+ name='face-65',
588
+ id=91,
589
+ color=[255, 255, 255],
590
+ type='',
591
+ swap='face-67'),
592
+ 92:
593
+ dict(name='face-66', id=92, color=[255, 255, 255], type='', swap=''),
594
+ 93:
595
+ dict(
596
+ name='face-67',
597
+ id=93,
598
+ color=[255, 255, 255],
599
+ type='',
600
+ swap='face-65'),
601
+ 94:
602
+ dict(
603
+ name='left_hand_root',
604
+ id=94,
605
+ color=[255, 255, 255],
606
+ type='',
607
+ swap='right_hand_root'),
608
+ 95:
609
+ dict(
610
+ name='left_thumb1',
611
+ id=95,
612
+ color=[255, 128, 0],
613
+ type='',
614
+ swap='right_thumb1'),
615
+ 96:
616
+ dict(
617
+ name='left_thumb2',
618
+ id=96,
619
+ color=[255, 128, 0],
620
+ type='',
621
+ swap='right_thumb2'),
622
+ 97:
623
+ dict(
624
+ name='left_thumb3',
625
+ id=97,
626
+ color=[255, 128, 0],
627
+ type='',
628
+ swap='right_thumb3'),
629
+ 98:
630
+ dict(
631
+ name='left_thumb4',
632
+ id=98,
633
+ color=[255, 128, 0],
634
+ type='',
635
+ swap='right_thumb4'),
636
+ 99:
637
+ dict(
638
+ name='left_forefinger1',
639
+ id=99,
640
+ color=[255, 153, 255],
641
+ type='',
642
+ swap='right_forefinger1'),
643
+ 100:
644
+ dict(
645
+ name='left_forefinger2',
646
+ id=100,
647
+ color=[255, 153, 255],
648
+ type='',
649
+ swap='right_forefinger2'),
650
+ 101:
651
+ dict(
652
+ name='left_forefinger3',
653
+ id=101,
654
+ color=[255, 153, 255],
655
+ type='',
656
+ swap='right_forefinger3'),
657
+ 102:
658
+ dict(
659
+ name='left_forefinger4',
660
+ id=102,
661
+ color=[255, 153, 255],
662
+ type='',
663
+ swap='right_forefinger4'),
664
+ 103:
665
+ dict(
666
+ name='left_middle_finger1',
667
+ id=103,
668
+ color=[102, 178, 255],
669
+ type='',
670
+ swap='right_middle_finger1'),
671
+ 104:
672
+ dict(
673
+ name='left_middle_finger2',
674
+ id=104,
675
+ color=[102, 178, 255],
676
+ type='',
677
+ swap='right_middle_finger2'),
678
+ 105:
679
+ dict(
680
+ name='left_middle_finger3',
681
+ id=105,
682
+ color=[102, 178, 255],
683
+ type='',
684
+ swap='right_middle_finger3'),
685
+ 106:
686
+ dict(
687
+ name='left_middle_finger4',
688
+ id=106,
689
+ color=[102, 178, 255],
690
+ type='',
691
+ swap='right_middle_finger4'),
692
+ 107:
693
+ dict(
694
+ name='left_ring_finger1',
695
+ id=107,
696
+ color=[255, 51, 51],
697
+ type='',
698
+ swap='right_ring_finger1'),
699
+ 108:
700
+ dict(
701
+ name='left_ring_finger2',
702
+ id=108,
703
+ color=[255, 51, 51],
704
+ type='',
705
+ swap='right_ring_finger2'),
706
+ 109:
707
+ dict(
708
+ name='left_ring_finger3',
709
+ id=109,
710
+ color=[255, 51, 51],
711
+ type='',
712
+ swap='right_ring_finger3'),
713
+ 110:
714
+ dict(
715
+ name='left_ring_finger4',
716
+ id=110,
717
+ color=[255, 51, 51],
718
+ type='',
719
+ swap='right_ring_finger4'),
720
+ 111:
721
+ dict(
722
+ name='left_pinky_finger1',
723
+ id=111,
724
+ color=[0, 255, 0],
725
+ type='',
726
+ swap='right_pinky_finger1'),
727
+ 112:
728
+ dict(
729
+ name='left_pinky_finger2',
730
+ id=112,
731
+ color=[0, 255, 0],
732
+ type='',
733
+ swap='right_pinky_finger2'),
734
+ 113:
735
+ dict(
736
+ name='left_pinky_finger3',
737
+ id=113,
738
+ color=[0, 255, 0],
739
+ type='',
740
+ swap='right_pinky_finger3'),
741
+ 114:
742
+ dict(
743
+ name='left_pinky_finger4',
744
+ id=114,
745
+ color=[0, 255, 0],
746
+ type='',
747
+ swap='right_pinky_finger4'),
748
+ 115:
749
+ dict(
750
+ name='right_hand_root',
751
+ id=115,
752
+ color=[255, 255, 255],
753
+ type='',
754
+ swap='left_hand_root'),
755
+ 116:
756
+ dict(
757
+ name='right_thumb1',
758
+ id=116,
759
+ color=[255, 128, 0],
760
+ type='',
761
+ swap='left_thumb1'),
762
+ 117:
763
+ dict(
764
+ name='right_thumb2',
765
+ id=117,
766
+ color=[255, 128, 0],
767
+ type='',
768
+ swap='left_thumb2'),
769
+ 118:
770
+ dict(
771
+ name='right_thumb3',
772
+ id=118,
773
+ color=[255, 128, 0],
774
+ type='',
775
+ swap='left_thumb3'),
776
+ 119:
777
+ dict(
778
+ name='right_thumb4',
779
+ id=119,
780
+ color=[255, 128, 0],
781
+ type='',
782
+ swap='left_thumb4'),
783
+ 120:
784
+ dict(
785
+ name='right_forefinger1',
786
+ id=120,
787
+ color=[255, 153, 255],
788
+ type='',
789
+ swap='left_forefinger1'),
790
+ 121:
791
+ dict(
792
+ name='right_forefinger2',
793
+ id=121,
794
+ color=[255, 153, 255],
795
+ type='',
796
+ swap='left_forefinger2'),
797
+ 122:
798
+ dict(
799
+ name='right_forefinger3',
800
+ id=122,
801
+ color=[255, 153, 255],
802
+ type='',
803
+ swap='left_forefinger3'),
804
+ 123:
805
+ dict(
806
+ name='right_forefinger4',
807
+ id=123,
808
+ color=[255, 153, 255],
809
+ type='',
810
+ swap='left_forefinger4'),
811
+ 124:
812
+ dict(
813
+ name='right_middle_finger1',
814
+ id=124,
815
+ color=[102, 178, 255],
816
+ type='',
817
+ swap='left_middle_finger1'),
818
+ 125:
819
+ dict(
820
+ name='right_middle_finger2',
821
+ id=125,
822
+ color=[102, 178, 255],
823
+ type='',
824
+ swap='left_middle_finger2'),
825
+ 126:
826
+ dict(
827
+ name='right_middle_finger3',
828
+ id=126,
829
+ color=[102, 178, 255],
830
+ type='',
831
+ swap='left_middle_finger3'),
832
+ 127:
833
+ dict(
834
+ name='right_middle_finger4',
835
+ id=127,
836
+ color=[102, 178, 255],
837
+ type='',
838
+ swap='left_middle_finger4'),
839
+ 128:
840
+ dict(
841
+ name='right_ring_finger1',
842
+ id=128,
843
+ color=[255, 51, 51],
844
+ type='',
845
+ swap='left_ring_finger1'),
846
+ 129:
847
+ dict(
848
+ name='right_ring_finger2',
849
+ id=129,
850
+ color=[255, 51, 51],
851
+ type='',
852
+ swap='left_ring_finger2'),
853
+ 130:
854
+ dict(
855
+ name='right_ring_finger3',
856
+ id=130,
857
+ color=[255, 51, 51],
858
+ type='',
859
+ swap='left_ring_finger3'),
860
+ 131:
861
+ dict(
862
+ name='right_ring_finger4',
863
+ id=131,
864
+ color=[255, 51, 51],
865
+ type='',
866
+ swap='left_ring_finger4'),
867
+ 132:
868
+ dict(
869
+ name='right_pinky_finger1',
870
+ id=132,
871
+ color=[0, 255, 0],
872
+ type='',
873
+ swap='left_pinky_finger1'),
874
+ 133:
875
+ dict(
876
+ name='right_pinky_finger2',
877
+ id=133,
878
+ color=[0, 255, 0],
879
+ type='',
880
+ swap='left_pinky_finger2'),
881
+ 134:
882
+ dict(
883
+ name='right_pinky_finger3',
884
+ id=134,
885
+ color=[0, 255, 0],
886
+ type='',
887
+ swap='left_pinky_finger3'),
888
+ 135:
889
+ dict(
890
+ name='right_pinky_finger4',
891
+ id=135,
892
+ color=[0, 255, 0],
893
+ type='',
894
+ swap='left_pinky_finger4')
895
+ },
896
+ skeleton_info={
897
+ 0:
898
+ dict(link=('left_ankle', 'left_knee'), id=0, color=[0, 255, 0]),
899
+ 1:
900
+ dict(link=('left_knee', 'left_hip'), id=1, color=[0, 255, 0]),
901
+ 2:
902
+ dict(link=('left_hip', 'hip'), id=2, color=[0, 255, 0]),
903
+ 3:
904
+ dict(link=('right_ankle', 'right_knee'), id=3, color=[255, 128, 0]),
905
+ 4:
906
+ dict(link=('right_knee', 'right_hip'), id=4, color=[255, 128, 0]),
907
+ 5:
908
+ dict(link=('right_hip', 'hip'), id=5, color=[255, 128, 0]),
909
+ 6:
910
+ dict(link=('head', 'neck'), id=6, color=[51, 153, 255]),
911
+ 7:
912
+ dict(link=('neck', 'hip'), id=7, color=[51, 153, 255]),
913
+ 8:
914
+ dict(link=('neck', 'left_shoulder'), id=8, color=[0, 255, 0]),
915
+ 9:
916
+ dict(link=('left_shoulder', 'left_elbow'), id=9, color=[0, 255, 0]),
917
+ 10:
918
+ dict(link=('left_elbow', 'left_wrist'), id=10, color=[0, 255, 0]),
919
+ 11:
920
+ dict(link=('neck', 'right_shoulder'), id=11, color=[255, 128, 0]),
921
+ 12:
922
+ dict(
923
+ link=('right_shoulder', 'right_elbow'), id=12, color=[255, 128,
924
+ 0]),
925
+ 13:
926
+ dict(link=('right_elbow', 'right_wrist'), id=13, color=[255, 128, 0]),
927
+ 14:
928
+ dict(link=('left_eye', 'right_eye'), id=14, color=[51, 153, 255]),
929
+ 15:
930
+ dict(link=('nose', 'left_eye'), id=15, color=[51, 153, 255]),
931
+ 16:
932
+ dict(link=('nose', 'right_eye'), id=16, color=[51, 153, 255]),
933
+ 17:
934
+ dict(link=('left_eye', 'left_ear'), id=17, color=[51, 153, 255]),
935
+ 18:
936
+ dict(link=('right_eye', 'right_ear'), id=18, color=[51, 153, 255]),
937
+ 19:
938
+ dict(link=('left_ear', 'left_shoulder'), id=19, color=[51, 153, 255]),
939
+ 20:
940
+ dict(
941
+ link=('right_ear', 'right_shoulder'), id=20, color=[51, 153, 255]),
942
+ 21:
943
+ dict(link=('left_ankle', 'left_big_toe'), id=21, color=[0, 255, 0]),
944
+ 22:
945
+ dict(link=('left_ankle', 'left_small_toe'), id=22, color=[0, 255, 0]),
946
+ 23:
947
+ dict(link=('left_ankle', 'left_heel'), id=23, color=[0, 255, 0]),
948
+ 24:
949
+ dict(
950
+ link=('right_ankle', 'right_big_toe'), id=24, color=[255, 128, 0]),
951
+ 25:
952
+ dict(
953
+ link=('right_ankle', 'right_small_toe'),
954
+ id=25,
955
+ color=[255, 128, 0]),
956
+ 26:
957
+ dict(link=('right_ankle', 'right_heel'), id=26, color=[255, 128, 0]),
958
+ 27:
959
+ dict(link=('left_wrist', 'left_thumb1'), id=27, color=[255, 128, 0]),
960
+ 28:
961
+ dict(link=('left_thumb1', 'left_thumb2'), id=28, color=[255, 128, 0]),
962
+ 29:
963
+ dict(link=('left_thumb2', 'left_thumb3'), id=29, color=[255, 128, 0]),
964
+ 30:
965
+ dict(link=('left_thumb3', 'left_thumb4'), id=30, color=[255, 128, 0]),
966
+ 31:
967
+ dict(
968
+ link=('left_wrist', 'left_forefinger1'),
969
+ id=31,
970
+ color=[255, 153, 255]),
971
+ 32:
972
+ dict(
973
+ link=('left_forefinger1', 'left_forefinger2'),
974
+ id=32,
975
+ color=[255, 153, 255]),
976
+ 33:
977
+ dict(
978
+ link=('left_forefinger2', 'left_forefinger3'),
979
+ id=33,
980
+ color=[255, 153, 255]),
981
+ 34:
982
+ dict(
983
+ link=('left_forefinger3', 'left_forefinger4'),
984
+ id=34,
985
+ color=[255, 153, 255]),
986
+ 35:
987
+ dict(
988
+ link=('left_wrist', 'left_middle_finger1'),
989
+ id=35,
990
+ color=[102, 178, 255]),
991
+ 36:
992
+ dict(
993
+ link=('left_middle_finger1', 'left_middle_finger2'),
994
+ id=36,
995
+ color=[102, 178, 255]),
996
+ 37:
997
+ dict(
998
+ link=('left_middle_finger2', 'left_middle_finger3'),
999
+ id=37,
1000
+ color=[102, 178, 255]),
1001
+ 38:
1002
+ dict(
1003
+ link=('left_middle_finger3', 'left_middle_finger4'),
1004
+ id=38,
1005
+ color=[102, 178, 255]),
1006
+ 39:
1007
+ dict(
1008
+ link=('left_wrist', 'left_ring_finger1'),
1009
+ id=39,
1010
+ color=[255, 51, 51]),
1011
+ 40:
1012
+ dict(
1013
+ link=('left_ring_finger1', 'left_ring_finger2'),
1014
+ id=40,
1015
+ color=[255, 51, 51]),
1016
+ 41:
1017
+ dict(
1018
+ link=('left_ring_finger2', 'left_ring_finger3'),
1019
+ id=41,
1020
+ color=[255, 51, 51]),
1021
+ 42:
1022
+ dict(
1023
+ link=('left_ring_finger3', 'left_ring_finger4'),
1024
+ id=42,
1025
+ color=[255, 51, 51]),
1026
+ 43:
1027
+ dict(
1028
+ link=('left_wrist', 'left_pinky_finger1'),
1029
+ id=43,
1030
+ color=[0, 255, 0]),
1031
+ 44:
1032
+ dict(
1033
+ link=('left_pinky_finger1', 'left_pinky_finger2'),
1034
+ id=44,
1035
+ color=[0, 255, 0]),
1036
+ 45:
1037
+ dict(
1038
+ link=('left_pinky_finger2', 'left_pinky_finger3'),
1039
+ id=45,
1040
+ color=[0, 255, 0]),
1041
+ 46:
1042
+ dict(
1043
+ link=('left_pinky_finger3', 'left_pinky_finger4'),
1044
+ id=46,
1045
+ color=[0, 255, 0]),
1046
+ 47:
1047
+ dict(link=('right_wrist', 'right_thumb1'), id=47, color=[255, 128, 0]),
1048
+ 48:
1049
+ dict(
1050
+ link=('right_thumb1', 'right_thumb2'), id=48, color=[255, 128, 0]),
1051
+ 49:
1052
+ dict(
1053
+ link=('right_thumb2', 'right_thumb3'), id=49, color=[255, 128, 0]),
1054
+ 50:
1055
+ dict(
1056
+ link=('right_thumb3', 'right_thumb4'), id=50, color=[255, 128, 0]),
1057
+ 51:
1058
+ dict(
1059
+ link=('right_wrist', 'right_forefinger1'),
1060
+ id=51,
1061
+ color=[255, 153, 255]),
1062
+ 52:
1063
+ dict(
1064
+ link=('right_forefinger1', 'right_forefinger2'),
1065
+ id=52,
1066
+ color=[255, 153, 255]),
1067
+ 53:
1068
+ dict(
1069
+ link=('right_forefinger2', 'right_forefinger3'),
1070
+ id=53,
1071
+ color=[255, 153, 255]),
1072
+ 54:
1073
+ dict(
1074
+ link=('right_forefinger3', 'right_forefinger4'),
1075
+ id=54,
1076
+ color=[255, 153, 255]),
1077
+ 55:
1078
+ dict(
1079
+ link=('right_wrist', 'right_middle_finger1'),
1080
+ id=55,
1081
+ color=[102, 178, 255]),
1082
+ 56:
1083
+ dict(
1084
+ link=('right_middle_finger1', 'right_middle_finger2'),
1085
+ id=56,
1086
+ color=[102, 178, 255]),
1087
+ 57:
1088
+ dict(
1089
+ link=('right_middle_finger2', 'right_middle_finger3'),
1090
+ id=57,
1091
+ color=[102, 178, 255]),
1092
+ 58:
1093
+ dict(
1094
+ link=('right_middle_finger3', 'right_middle_finger4'),
1095
+ id=58,
1096
+ color=[102, 178, 255]),
1097
+ 59:
1098
+ dict(
1099
+ link=('right_wrist', 'right_ring_finger1'),
1100
+ id=59,
1101
+ color=[255, 51, 51]),
1102
+ 60:
1103
+ dict(
1104
+ link=('right_ring_finger1', 'right_ring_finger2'),
1105
+ id=60,
1106
+ color=[255, 51, 51]),
1107
+ 61:
1108
+ dict(
1109
+ link=('right_ring_finger2', 'right_ring_finger3'),
1110
+ id=61,
1111
+ color=[255, 51, 51]),
1112
+ 62:
1113
+ dict(
1114
+ link=('right_ring_finger3', 'right_ring_finger4'),
1115
+ id=62,
1116
+ color=[255, 51, 51]),
1117
+ 63:
1118
+ dict(
1119
+ link=('right_wrist', 'right_pinky_finger1'),
1120
+ id=63,
1121
+ color=[0, 255, 0]),
1122
+ 64:
1123
+ dict(
1124
+ link=('right_pinky_finger1', 'right_pinky_finger2'),
1125
+ id=64,
1126
+ color=[0, 255, 0]),
1127
+ 65:
1128
+ dict(
1129
+ link=('right_pinky_finger2', 'right_pinky_finger3'),
1130
+ id=65,
1131
+ color=[0, 255, 0]),
1132
+ 66:
1133
+ dict(
1134
+ link=('right_pinky_finger3', 'right_pinky_finger4'),
1135
+ id=66,
1136
+ color=[0, 255, 0])
1137
+ },
1138
+ joint_weights=[1.] * 136,
1139
+
1140
+ # 'https://github.com/Fang-Haoshu/Halpe-FullBody/blob/master/'
1141
+ # 'HalpeCOCOAPI/PythonAPI/halpecocotools/cocoeval.py#L245'
1142
+ sigmas=[
1143
+ 0.026, 0.025, 0.025, 0.035, 0.035, 0.079, 0.079, 0.072, 0.072, 0.062,
1144
+ 0.062, 0.107, 0.107, 0.087, 0.087, 0.089, 0.089, 0.08, 0.08, 0.08,
1145
+ 0.089, 0.089, 0.089, 0.089, 0.089, 0.089, 0.015, 0.015, 0.015, 0.015,
1146
+ 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015,
1147
+ 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015,
1148
+ 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015,
1149
+ 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015,
1150
+ 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015,
1151
+ 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015,
1152
+ 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015,
1153
+ 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015,
1154
+ 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015,
1155
+ 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015, 0.015,
1156
+ 0.015, 0.015, 0.015, 0.015, 0.015, 0.015
1157
+ ])
mmpose/configs/_base_/datasets/horse10.py ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='horse10',
3
+ paper_info=dict(
4
+ author='Mathis, Alexander and Biasi, Thomas and '
5
+ 'Schneider, Steffen and '
6
+ 'Yuksekgonul, Mert and Rogers, Byron and '
7
+ 'Bethge, Matthias and '
8
+ 'Mathis, Mackenzie W',
9
+ title='Pretraining boosts out-of-domain robustness '
10
+ 'for pose estimation',
11
+ container='Proceedings of the IEEE/CVF Winter Conference on '
12
+ 'Applications of Computer Vision',
13
+ year='2021',
14
+ homepage='http://www.mackenziemathislab.org/horse10',
15
+ ),
16
+ keypoint_info={
17
+ 0:
18
+ dict(name='Nose', id=0, color=[255, 153, 255], type='upper', swap=''),
19
+ 1:
20
+ dict(name='Eye', id=1, color=[255, 153, 255], type='upper', swap=''),
21
+ 2:
22
+ dict(
23
+ name='Nearknee',
24
+ id=2,
25
+ color=[255, 102, 255],
26
+ type='upper',
27
+ swap=''),
28
+ 3:
29
+ dict(
30
+ name='Nearfrontfetlock',
31
+ id=3,
32
+ color=[255, 102, 255],
33
+ type='upper',
34
+ swap=''),
35
+ 4:
36
+ dict(
37
+ name='Nearfrontfoot',
38
+ id=4,
39
+ color=[255, 102, 255],
40
+ type='upper',
41
+ swap=''),
42
+ 5:
43
+ dict(
44
+ name='Offknee', id=5, color=[255, 102, 255], type='upper',
45
+ swap=''),
46
+ 6:
47
+ dict(
48
+ name='Offfrontfetlock',
49
+ id=6,
50
+ color=[255, 102, 255],
51
+ type='upper',
52
+ swap=''),
53
+ 7:
54
+ dict(
55
+ name='Offfrontfoot',
56
+ id=7,
57
+ color=[255, 102, 255],
58
+ type='upper',
59
+ swap=''),
60
+ 8:
61
+ dict(
62
+ name='Shoulder',
63
+ id=8,
64
+ color=[255, 153, 255],
65
+ type='upper',
66
+ swap=''),
67
+ 9:
68
+ dict(
69
+ name='Midshoulder',
70
+ id=9,
71
+ color=[255, 153, 255],
72
+ type='upper',
73
+ swap=''),
74
+ 10:
75
+ dict(
76
+ name='Elbow', id=10, color=[255, 153, 255], type='upper', swap=''),
77
+ 11:
78
+ dict(
79
+ name='Girth', id=11, color=[255, 153, 255], type='upper', swap=''),
80
+ 12:
81
+ dict(
82
+ name='Wither', id=12, color=[255, 153, 255], type='upper',
83
+ swap=''),
84
+ 13:
85
+ dict(
86
+ name='Nearhindhock',
87
+ id=13,
88
+ color=[255, 51, 255],
89
+ type='lower',
90
+ swap=''),
91
+ 14:
92
+ dict(
93
+ name='Nearhindfetlock',
94
+ id=14,
95
+ color=[255, 51, 255],
96
+ type='lower',
97
+ swap=''),
98
+ 15:
99
+ dict(
100
+ name='Nearhindfoot',
101
+ id=15,
102
+ color=[255, 51, 255],
103
+ type='lower',
104
+ swap=''),
105
+ 16:
106
+ dict(name='Hip', id=16, color=[255, 153, 255], type='lower', swap=''),
107
+ 17:
108
+ dict(
109
+ name='Stifle', id=17, color=[255, 153, 255], type='lower',
110
+ swap=''),
111
+ 18:
112
+ dict(
113
+ name='Offhindhock',
114
+ id=18,
115
+ color=[255, 51, 255],
116
+ type='lower',
117
+ swap=''),
118
+ 19:
119
+ dict(
120
+ name='Offhindfetlock',
121
+ id=19,
122
+ color=[255, 51, 255],
123
+ type='lower',
124
+ swap=''),
125
+ 20:
126
+ dict(
127
+ name='Offhindfoot',
128
+ id=20,
129
+ color=[255, 51, 255],
130
+ type='lower',
131
+ swap=''),
132
+ 21:
133
+ dict(
134
+ name='Ischium',
135
+ id=21,
136
+ color=[255, 153, 255],
137
+ type='lower',
138
+ swap='')
139
+ },
140
+ skeleton_info={
141
+ 0:
142
+ dict(link=('Nose', 'Eye'), id=0, color=[255, 153, 255]),
143
+ 1:
144
+ dict(link=('Eye', 'Wither'), id=1, color=[255, 153, 255]),
145
+ 2:
146
+ dict(link=('Wither', 'Hip'), id=2, color=[255, 153, 255]),
147
+ 3:
148
+ dict(link=('Hip', 'Ischium'), id=3, color=[255, 153, 255]),
149
+ 4:
150
+ dict(link=('Ischium', 'Stifle'), id=4, color=[255, 153, 255]),
151
+ 5:
152
+ dict(link=('Stifle', 'Girth'), id=5, color=[255, 153, 255]),
153
+ 6:
154
+ dict(link=('Girth', 'Elbow'), id=6, color=[255, 153, 255]),
155
+ 7:
156
+ dict(link=('Elbow', 'Shoulder'), id=7, color=[255, 153, 255]),
157
+ 8:
158
+ dict(link=('Shoulder', 'Midshoulder'), id=8, color=[255, 153, 255]),
159
+ 9:
160
+ dict(link=('Midshoulder', 'Wither'), id=9, color=[255, 153, 255]),
161
+ 10:
162
+ dict(
163
+ link=('Nearknee', 'Nearfrontfetlock'),
164
+ id=10,
165
+ color=[255, 102, 255]),
166
+ 11:
167
+ dict(
168
+ link=('Nearfrontfetlock', 'Nearfrontfoot'),
169
+ id=11,
170
+ color=[255, 102, 255]),
171
+ 12:
172
+ dict(
173
+ link=('Offknee', 'Offfrontfetlock'), id=12, color=[255, 102, 255]),
174
+ 13:
175
+ dict(
176
+ link=('Offfrontfetlock', 'Offfrontfoot'),
177
+ id=13,
178
+ color=[255, 102, 255]),
179
+ 14:
180
+ dict(
181
+ link=('Nearhindhock', 'Nearhindfetlock'),
182
+ id=14,
183
+ color=[255, 51, 255]),
184
+ 15:
185
+ dict(
186
+ link=('Nearhindfetlock', 'Nearhindfoot'),
187
+ id=15,
188
+ color=[255, 51, 255]),
189
+ 16:
190
+ dict(
191
+ link=('Offhindhock', 'Offhindfetlock'),
192
+ id=16,
193
+ color=[255, 51, 255]),
194
+ 17:
195
+ dict(
196
+ link=('Offhindfetlock', 'Offhindfoot'),
197
+ id=17,
198
+ color=[255, 51, 255])
199
+ },
200
+ joint_weights=[1.] * 22,
201
+ sigmas=[])
mmpose/configs/_base_/datasets/interhand2d.py ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='interhand2d',
3
+ paper_info=dict(
4
+ author='Moon, Gyeongsik and Yu, Shoou-I and Wen, He and '
5
+ 'Shiratori, Takaaki and Lee, Kyoung Mu',
6
+ title='InterHand2.6M: A dataset and baseline for 3D '
7
+ 'interacting hand pose estimation from a single RGB image',
8
+ container='arXiv',
9
+ year='2020',
10
+ homepage='https://mks0601.github.io/InterHand2.6M/',
11
+ ),
12
+ keypoint_info={
13
+ 0:
14
+ dict(name='thumb4', id=0, color=[255, 128, 0], type='', swap=''),
15
+ 1:
16
+ dict(name='thumb3', id=1, color=[255, 128, 0], type='', swap=''),
17
+ 2:
18
+ dict(name='thumb2', id=2, color=[255, 128, 0], type='', swap=''),
19
+ 3:
20
+ dict(name='thumb1', id=3, color=[255, 128, 0], type='', swap=''),
21
+ 4:
22
+ dict(
23
+ name='forefinger4', id=4, color=[255, 153, 255], type='', swap=''),
24
+ 5:
25
+ dict(
26
+ name='forefinger3', id=5, color=[255, 153, 255], type='', swap=''),
27
+ 6:
28
+ dict(
29
+ name='forefinger2', id=6, color=[255, 153, 255], type='', swap=''),
30
+ 7:
31
+ dict(
32
+ name='forefinger1', id=7, color=[255, 153, 255], type='', swap=''),
33
+ 8:
34
+ dict(
35
+ name='middle_finger4',
36
+ id=8,
37
+ color=[102, 178, 255],
38
+ type='',
39
+ swap=''),
40
+ 9:
41
+ dict(
42
+ name='middle_finger3',
43
+ id=9,
44
+ color=[102, 178, 255],
45
+ type='',
46
+ swap=''),
47
+ 10:
48
+ dict(
49
+ name='middle_finger2',
50
+ id=10,
51
+ color=[102, 178, 255],
52
+ type='',
53
+ swap=''),
54
+ 11:
55
+ dict(
56
+ name='middle_finger1',
57
+ id=11,
58
+ color=[102, 178, 255],
59
+ type='',
60
+ swap=''),
61
+ 12:
62
+ dict(
63
+ name='ring_finger4', id=12, color=[255, 51, 51], type='', swap=''),
64
+ 13:
65
+ dict(
66
+ name='ring_finger3', id=13, color=[255, 51, 51], type='', swap=''),
67
+ 14:
68
+ dict(
69
+ name='ring_finger2', id=14, color=[255, 51, 51], type='', swap=''),
70
+ 15:
71
+ dict(
72
+ name='ring_finger1', id=15, color=[255, 51, 51], type='', swap=''),
73
+ 16:
74
+ dict(name='pinky_finger4', id=16, color=[0, 255, 0], type='', swap=''),
75
+ 17:
76
+ dict(name='pinky_finger3', id=17, color=[0, 255, 0], type='', swap=''),
77
+ 18:
78
+ dict(name='pinky_finger2', id=18, color=[0, 255, 0], type='', swap=''),
79
+ 19:
80
+ dict(name='pinky_finger1', id=19, color=[0, 255, 0], type='', swap=''),
81
+ 20:
82
+ dict(name='wrist', id=20, color=[255, 255, 255], type='', swap='')
83
+ },
84
+ skeleton_info={
85
+ 0:
86
+ dict(link=('wrist', 'thumb1'), id=0, color=[255, 128, 0]),
87
+ 1:
88
+ dict(link=('thumb1', 'thumb2'), id=1, color=[255, 128, 0]),
89
+ 2:
90
+ dict(link=('thumb2', 'thumb3'), id=2, color=[255, 128, 0]),
91
+ 3:
92
+ dict(link=('thumb3', 'thumb4'), id=3, color=[255, 128, 0]),
93
+ 4:
94
+ dict(link=('wrist', 'forefinger1'), id=4, color=[255, 153, 255]),
95
+ 5:
96
+ dict(link=('forefinger1', 'forefinger2'), id=5, color=[255, 153, 255]),
97
+ 6:
98
+ dict(link=('forefinger2', 'forefinger3'), id=6, color=[255, 153, 255]),
99
+ 7:
100
+ dict(link=('forefinger3', 'forefinger4'), id=7, color=[255, 153, 255]),
101
+ 8:
102
+ dict(link=('wrist', 'middle_finger1'), id=8, color=[102, 178, 255]),
103
+ 9:
104
+ dict(
105
+ link=('middle_finger1', 'middle_finger2'),
106
+ id=9,
107
+ color=[102, 178, 255]),
108
+ 10:
109
+ dict(
110
+ link=('middle_finger2', 'middle_finger3'),
111
+ id=10,
112
+ color=[102, 178, 255]),
113
+ 11:
114
+ dict(
115
+ link=('middle_finger3', 'middle_finger4'),
116
+ id=11,
117
+ color=[102, 178, 255]),
118
+ 12:
119
+ dict(link=('wrist', 'ring_finger1'), id=12, color=[255, 51, 51]),
120
+ 13:
121
+ dict(
122
+ link=('ring_finger1', 'ring_finger2'), id=13, color=[255, 51, 51]),
123
+ 14:
124
+ dict(
125
+ link=('ring_finger2', 'ring_finger3'), id=14, color=[255, 51, 51]),
126
+ 15:
127
+ dict(
128
+ link=('ring_finger3', 'ring_finger4'), id=15, color=[255, 51, 51]),
129
+ 16:
130
+ dict(link=('wrist', 'pinky_finger1'), id=16, color=[0, 255, 0]),
131
+ 17:
132
+ dict(
133
+ link=('pinky_finger1', 'pinky_finger2'), id=17, color=[0, 255, 0]),
134
+ 18:
135
+ dict(
136
+ link=('pinky_finger2', 'pinky_finger3'), id=18, color=[0, 255, 0]),
137
+ 19:
138
+ dict(
139
+ link=('pinky_finger3', 'pinky_finger4'), id=19, color=[0, 255, 0])
140
+ },
141
+ joint_weights=[1.] * 21,
142
+ sigmas=[])
mmpose/configs/_base_/datasets/interhand3d.py ADDED
@@ -0,0 +1,487 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='interhand3d',
3
+ paper_info=dict(
4
+ author='Moon, Gyeongsik and Yu, Shoou-I and Wen, He and '
5
+ 'Shiratori, Takaaki and Lee, Kyoung Mu',
6
+ title='InterHand2.6M: A dataset and baseline for 3D '
7
+ 'interacting hand pose estimation from a single RGB image',
8
+ container='arXiv',
9
+ year='2020',
10
+ homepage='https://mks0601.github.io/InterHand2.6M/',
11
+ ),
12
+ keypoint_info={
13
+ 0:
14
+ dict(
15
+ name='right_thumb4',
16
+ id=0,
17
+ color=[255, 128, 0],
18
+ type='',
19
+ swap='left_thumb4'),
20
+ 1:
21
+ dict(
22
+ name='right_thumb3',
23
+ id=1,
24
+ color=[255, 128, 0],
25
+ type='',
26
+ swap='left_thumb3'),
27
+ 2:
28
+ dict(
29
+ name='right_thumb2',
30
+ id=2,
31
+ color=[255, 128, 0],
32
+ type='',
33
+ swap='left_thumb2'),
34
+ 3:
35
+ dict(
36
+ name='right_thumb1',
37
+ id=3,
38
+ color=[255, 128, 0],
39
+ type='',
40
+ swap='left_thumb1'),
41
+ 4:
42
+ dict(
43
+ name='right_forefinger4',
44
+ id=4,
45
+ color=[255, 153, 255],
46
+ type='',
47
+ swap='left_forefinger4'),
48
+ 5:
49
+ dict(
50
+ name='right_forefinger3',
51
+ id=5,
52
+ color=[255, 153, 255],
53
+ type='',
54
+ swap='left_forefinger3'),
55
+ 6:
56
+ dict(
57
+ name='right_forefinger2',
58
+ id=6,
59
+ color=[255, 153, 255],
60
+ type='',
61
+ swap='left_forefinger2'),
62
+ 7:
63
+ dict(
64
+ name='right_forefinger1',
65
+ id=7,
66
+ color=[255, 153, 255],
67
+ type='',
68
+ swap='left_forefinger1'),
69
+ 8:
70
+ dict(
71
+ name='right_middle_finger4',
72
+ id=8,
73
+ color=[102, 178, 255],
74
+ type='',
75
+ swap='left_middle_finger4'),
76
+ 9:
77
+ dict(
78
+ name='right_middle_finger3',
79
+ id=9,
80
+ color=[102, 178, 255],
81
+ type='',
82
+ swap='left_middle_finger3'),
83
+ 10:
84
+ dict(
85
+ name='right_middle_finger2',
86
+ id=10,
87
+ color=[102, 178, 255],
88
+ type='',
89
+ swap='left_middle_finger2'),
90
+ 11:
91
+ dict(
92
+ name='right_middle_finger1',
93
+ id=11,
94
+ color=[102, 178, 255],
95
+ type='',
96
+ swap='left_middle_finger1'),
97
+ 12:
98
+ dict(
99
+ name='right_ring_finger4',
100
+ id=12,
101
+ color=[255, 51, 51],
102
+ type='',
103
+ swap='left_ring_finger4'),
104
+ 13:
105
+ dict(
106
+ name='right_ring_finger3',
107
+ id=13,
108
+ color=[255, 51, 51],
109
+ type='',
110
+ swap='left_ring_finger3'),
111
+ 14:
112
+ dict(
113
+ name='right_ring_finger2',
114
+ id=14,
115
+ color=[255, 51, 51],
116
+ type='',
117
+ swap='left_ring_finger2'),
118
+ 15:
119
+ dict(
120
+ name='right_ring_finger1',
121
+ id=15,
122
+ color=[255, 51, 51],
123
+ type='',
124
+ swap='left_ring_finger1'),
125
+ 16:
126
+ dict(
127
+ name='right_pinky_finger4',
128
+ id=16,
129
+ color=[0, 255, 0],
130
+ type='',
131
+ swap='left_pinky_finger4'),
132
+ 17:
133
+ dict(
134
+ name='right_pinky_finger3',
135
+ id=17,
136
+ color=[0, 255, 0],
137
+ type='',
138
+ swap='left_pinky_finger3'),
139
+ 18:
140
+ dict(
141
+ name='right_pinky_finger2',
142
+ id=18,
143
+ color=[0, 255, 0],
144
+ type='',
145
+ swap='left_pinky_finger2'),
146
+ 19:
147
+ dict(
148
+ name='right_pinky_finger1',
149
+ id=19,
150
+ color=[0, 255, 0],
151
+ type='',
152
+ swap='left_pinky_finger1'),
153
+ 20:
154
+ dict(
155
+ name='right_wrist',
156
+ id=20,
157
+ color=[255, 255, 255],
158
+ type='',
159
+ swap='left_wrist'),
160
+ 21:
161
+ dict(
162
+ name='left_thumb4',
163
+ id=21,
164
+ color=[255, 128, 0],
165
+ type='',
166
+ swap='right_thumb4'),
167
+ 22:
168
+ dict(
169
+ name='left_thumb3',
170
+ id=22,
171
+ color=[255, 128, 0],
172
+ type='',
173
+ swap='right_thumb3'),
174
+ 23:
175
+ dict(
176
+ name='left_thumb2',
177
+ id=23,
178
+ color=[255, 128, 0],
179
+ type='',
180
+ swap='right_thumb2'),
181
+ 24:
182
+ dict(
183
+ name='left_thumb1',
184
+ id=24,
185
+ color=[255, 128, 0],
186
+ type='',
187
+ swap='right_thumb1'),
188
+ 25:
189
+ dict(
190
+ name='left_forefinger4',
191
+ id=25,
192
+ color=[255, 153, 255],
193
+ type='',
194
+ swap='right_forefinger4'),
195
+ 26:
196
+ dict(
197
+ name='left_forefinger3',
198
+ id=26,
199
+ color=[255, 153, 255],
200
+ type='',
201
+ swap='right_forefinger3'),
202
+ 27:
203
+ dict(
204
+ name='left_forefinger2',
205
+ id=27,
206
+ color=[255, 153, 255],
207
+ type='',
208
+ swap='right_forefinger2'),
209
+ 28:
210
+ dict(
211
+ name='left_forefinger1',
212
+ id=28,
213
+ color=[255, 153, 255],
214
+ type='',
215
+ swap='right_forefinger1'),
216
+ 29:
217
+ dict(
218
+ name='left_middle_finger4',
219
+ id=29,
220
+ color=[102, 178, 255],
221
+ type='',
222
+ swap='right_middle_finger4'),
223
+ 30:
224
+ dict(
225
+ name='left_middle_finger3',
226
+ id=30,
227
+ color=[102, 178, 255],
228
+ type='',
229
+ swap='right_middle_finger3'),
230
+ 31:
231
+ dict(
232
+ name='left_middle_finger2',
233
+ id=31,
234
+ color=[102, 178, 255],
235
+ type='',
236
+ swap='right_middle_finger2'),
237
+ 32:
238
+ dict(
239
+ name='left_middle_finger1',
240
+ id=32,
241
+ color=[102, 178, 255],
242
+ type='',
243
+ swap='right_middle_finger1'),
244
+ 33:
245
+ dict(
246
+ name='left_ring_finger4',
247
+ id=33,
248
+ color=[255, 51, 51],
249
+ type='',
250
+ swap='right_ring_finger4'),
251
+ 34:
252
+ dict(
253
+ name='left_ring_finger3',
254
+ id=34,
255
+ color=[255, 51, 51],
256
+ type='',
257
+ swap='right_ring_finger3'),
258
+ 35:
259
+ dict(
260
+ name='left_ring_finger2',
261
+ id=35,
262
+ color=[255, 51, 51],
263
+ type='',
264
+ swap='right_ring_finger2'),
265
+ 36:
266
+ dict(
267
+ name='left_ring_finger1',
268
+ id=36,
269
+ color=[255, 51, 51],
270
+ type='',
271
+ swap='right_ring_finger1'),
272
+ 37:
273
+ dict(
274
+ name='left_pinky_finger4',
275
+ id=37,
276
+ color=[0, 255, 0],
277
+ type='',
278
+ swap='right_pinky_finger4'),
279
+ 38:
280
+ dict(
281
+ name='left_pinky_finger3',
282
+ id=38,
283
+ color=[0, 255, 0],
284
+ type='',
285
+ swap='right_pinky_finger3'),
286
+ 39:
287
+ dict(
288
+ name='left_pinky_finger2',
289
+ id=39,
290
+ color=[0, 255, 0],
291
+ type='',
292
+ swap='right_pinky_finger2'),
293
+ 40:
294
+ dict(
295
+ name='left_pinky_finger1',
296
+ id=40,
297
+ color=[0, 255, 0],
298
+ type='',
299
+ swap='right_pinky_finger1'),
300
+ 41:
301
+ dict(
302
+ name='left_wrist',
303
+ id=41,
304
+ color=[255, 255, 255],
305
+ type='',
306
+ swap='right_wrist'),
307
+ },
308
+ skeleton_info={
309
+ 0:
310
+ dict(link=('right_wrist', 'right_thumb1'), id=0, color=[255, 128, 0]),
311
+ 1:
312
+ dict(link=('right_thumb1', 'right_thumb2'), id=1, color=[255, 128, 0]),
313
+ 2:
314
+ dict(link=('right_thumb2', 'right_thumb3'), id=2, color=[255, 128, 0]),
315
+ 3:
316
+ dict(link=('right_thumb3', 'right_thumb4'), id=3, color=[255, 128, 0]),
317
+ 4:
318
+ dict(
319
+ link=('right_wrist', 'right_forefinger1'),
320
+ id=4,
321
+ color=[255, 153, 255]),
322
+ 5:
323
+ dict(
324
+ link=('right_forefinger1', 'right_forefinger2'),
325
+ id=5,
326
+ color=[255, 153, 255]),
327
+ 6:
328
+ dict(
329
+ link=('right_forefinger2', 'right_forefinger3'),
330
+ id=6,
331
+ color=[255, 153, 255]),
332
+ 7:
333
+ dict(
334
+ link=('right_forefinger3', 'right_forefinger4'),
335
+ id=7,
336
+ color=[255, 153, 255]),
337
+ 8:
338
+ dict(
339
+ link=('right_wrist', 'right_middle_finger1'),
340
+ id=8,
341
+ color=[102, 178, 255]),
342
+ 9:
343
+ dict(
344
+ link=('right_middle_finger1', 'right_middle_finger2'),
345
+ id=9,
346
+ color=[102, 178, 255]),
347
+ 10:
348
+ dict(
349
+ link=('right_middle_finger2', 'right_middle_finger3'),
350
+ id=10,
351
+ color=[102, 178, 255]),
352
+ 11:
353
+ dict(
354
+ link=('right_middle_finger3', 'right_middle_finger4'),
355
+ id=11,
356
+ color=[102, 178, 255]),
357
+ 12:
358
+ dict(
359
+ link=('right_wrist', 'right_ring_finger1'),
360
+ id=12,
361
+ color=[255, 51, 51]),
362
+ 13:
363
+ dict(
364
+ link=('right_ring_finger1', 'right_ring_finger2'),
365
+ id=13,
366
+ color=[255, 51, 51]),
367
+ 14:
368
+ dict(
369
+ link=('right_ring_finger2', 'right_ring_finger3'),
370
+ id=14,
371
+ color=[255, 51, 51]),
372
+ 15:
373
+ dict(
374
+ link=('right_ring_finger3', 'right_ring_finger4'),
375
+ id=15,
376
+ color=[255, 51, 51]),
377
+ 16:
378
+ dict(
379
+ link=('right_wrist', 'right_pinky_finger1'),
380
+ id=16,
381
+ color=[0, 255, 0]),
382
+ 17:
383
+ dict(
384
+ link=('right_pinky_finger1', 'right_pinky_finger2'),
385
+ id=17,
386
+ color=[0, 255, 0]),
387
+ 18:
388
+ dict(
389
+ link=('right_pinky_finger2', 'right_pinky_finger3'),
390
+ id=18,
391
+ color=[0, 255, 0]),
392
+ 19:
393
+ dict(
394
+ link=('right_pinky_finger3', 'right_pinky_finger4'),
395
+ id=19,
396
+ color=[0, 255, 0]),
397
+ 20:
398
+ dict(link=('left_wrist', 'left_thumb1'), id=20, color=[255, 128, 0]),
399
+ 21:
400
+ dict(link=('left_thumb1', 'left_thumb2'), id=21, color=[255, 128, 0]),
401
+ 22:
402
+ dict(link=('left_thumb2', 'left_thumb3'), id=22, color=[255, 128, 0]),
403
+ 23:
404
+ dict(link=('left_thumb3', 'left_thumb4'), id=23, color=[255, 128, 0]),
405
+ 24:
406
+ dict(
407
+ link=('left_wrist', 'left_forefinger1'),
408
+ id=24,
409
+ color=[255, 153, 255]),
410
+ 25:
411
+ dict(
412
+ link=('left_forefinger1', 'left_forefinger2'),
413
+ id=25,
414
+ color=[255, 153, 255]),
415
+ 26:
416
+ dict(
417
+ link=('left_forefinger2', 'left_forefinger3'),
418
+ id=26,
419
+ color=[255, 153, 255]),
420
+ 27:
421
+ dict(
422
+ link=('left_forefinger3', 'left_forefinger4'),
423
+ id=27,
424
+ color=[255, 153, 255]),
425
+ 28:
426
+ dict(
427
+ link=('left_wrist', 'left_middle_finger1'),
428
+ id=28,
429
+ color=[102, 178, 255]),
430
+ 29:
431
+ dict(
432
+ link=('left_middle_finger1', 'left_middle_finger2'),
433
+ id=29,
434
+ color=[102, 178, 255]),
435
+ 30:
436
+ dict(
437
+ link=('left_middle_finger2', 'left_middle_finger3'),
438
+ id=30,
439
+ color=[102, 178, 255]),
440
+ 31:
441
+ dict(
442
+ link=('left_middle_finger3', 'left_middle_finger4'),
443
+ id=31,
444
+ color=[102, 178, 255]),
445
+ 32:
446
+ dict(
447
+ link=('left_wrist', 'left_ring_finger1'),
448
+ id=32,
449
+ color=[255, 51, 51]),
450
+ 33:
451
+ dict(
452
+ link=('left_ring_finger1', 'left_ring_finger2'),
453
+ id=33,
454
+ color=[255, 51, 51]),
455
+ 34:
456
+ dict(
457
+ link=('left_ring_finger2', 'left_ring_finger3'),
458
+ id=34,
459
+ color=[255, 51, 51]),
460
+ 35:
461
+ dict(
462
+ link=('left_ring_finger3', 'left_ring_finger4'),
463
+ id=35,
464
+ color=[255, 51, 51]),
465
+ 36:
466
+ dict(
467
+ link=('left_wrist', 'left_pinky_finger1'),
468
+ id=36,
469
+ color=[0, 255, 0]),
470
+ 37:
471
+ dict(
472
+ link=('left_pinky_finger1', 'left_pinky_finger2'),
473
+ id=37,
474
+ color=[0, 255, 0]),
475
+ 38:
476
+ dict(
477
+ link=('left_pinky_finger2', 'left_pinky_finger3'),
478
+ id=38,
479
+ color=[0, 255, 0]),
480
+ 39:
481
+ dict(
482
+ link=('left_pinky_finger3', 'left_pinky_finger4'),
483
+ id=39,
484
+ color=[0, 255, 0]),
485
+ },
486
+ joint_weights=[1.] * 42,
487
+ sigmas=[])
mmpose/configs/_base_/datasets/jhmdb.py ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='jhmdb',
3
+ paper_info=dict(
4
+ author='H. Jhuang and J. Gall and S. Zuffi and '
5
+ 'C. Schmid and M. J. Black',
6
+ title='Towards understanding action recognition',
7
+ container='International Conf. on Computer Vision (ICCV)',
8
+ year='2013',
9
+ homepage='http://jhmdb.is.tue.mpg.de/dataset',
10
+ ),
11
+ keypoint_info={
12
+ 0:
13
+ dict(name='neck', id=0, color=[255, 128, 0], type='upper', swap=''),
14
+ 1:
15
+ dict(name='belly', id=1, color=[255, 128, 0], type='upper', swap=''),
16
+ 2:
17
+ dict(name='head', id=2, color=[255, 128, 0], type='upper', swap=''),
18
+ 3:
19
+ dict(
20
+ name='right_shoulder',
21
+ id=3,
22
+ color=[0, 255, 0],
23
+ type='upper',
24
+ swap='left_shoulder'),
25
+ 4:
26
+ dict(
27
+ name='left_shoulder',
28
+ id=4,
29
+ color=[0, 255, 0],
30
+ type='upper',
31
+ swap='right_shoulder'),
32
+ 5:
33
+ dict(
34
+ name='right_hip',
35
+ id=5,
36
+ color=[0, 255, 0],
37
+ type='lower',
38
+ swap='left_hip'),
39
+ 6:
40
+ dict(
41
+ name='left_hip',
42
+ id=6,
43
+ color=[51, 153, 255],
44
+ type='lower',
45
+ swap='right_hip'),
46
+ 7:
47
+ dict(
48
+ name='right_elbow',
49
+ id=7,
50
+ color=[51, 153, 255],
51
+ type='upper',
52
+ swap='left_elbow'),
53
+ 8:
54
+ dict(
55
+ name='left_elbow',
56
+ id=8,
57
+ color=[51, 153, 255],
58
+ type='upper',
59
+ swap='right_elbow'),
60
+ 9:
61
+ dict(
62
+ name='right_knee',
63
+ id=9,
64
+ color=[51, 153, 255],
65
+ type='lower',
66
+ swap='left_knee'),
67
+ 10:
68
+ dict(
69
+ name='left_knee',
70
+ id=10,
71
+ color=[255, 128, 0],
72
+ type='lower',
73
+ swap='right_knee'),
74
+ 11:
75
+ dict(
76
+ name='right_wrist',
77
+ id=11,
78
+ color=[255, 128, 0],
79
+ type='upper',
80
+ swap='left_wrist'),
81
+ 12:
82
+ dict(
83
+ name='left_wrist',
84
+ id=12,
85
+ color=[255, 128, 0],
86
+ type='upper',
87
+ swap='right_wrist'),
88
+ 13:
89
+ dict(
90
+ name='right_ankle',
91
+ id=13,
92
+ color=[0, 255, 0],
93
+ type='lower',
94
+ swap='left_ankle'),
95
+ 14:
96
+ dict(
97
+ name='left_ankle',
98
+ id=14,
99
+ color=[0, 255, 0],
100
+ type='lower',
101
+ swap='right_ankle')
102
+ },
103
+ skeleton_info={
104
+ 0: dict(link=('right_ankle', 'right_knee'), id=0, color=[255, 128, 0]),
105
+ 1: dict(link=('right_knee', 'right_hip'), id=1, color=[255, 128, 0]),
106
+ 2: dict(link=('right_hip', 'belly'), id=2, color=[255, 128, 0]),
107
+ 3: dict(link=('belly', 'left_hip'), id=3, color=[0, 255, 0]),
108
+ 4: dict(link=('left_hip', 'left_knee'), id=4, color=[0, 255, 0]),
109
+ 5: dict(link=('left_knee', 'left_ankle'), id=5, color=[0, 255, 0]),
110
+ 6: dict(link=('belly', 'neck'), id=6, color=[51, 153, 255]),
111
+ 7: dict(link=('neck', 'head'), id=7, color=[51, 153, 255]),
112
+ 8: dict(link=('neck', 'right_shoulder'), id=8, color=[255, 128, 0]),
113
+ 9: dict(
114
+ link=('right_shoulder', 'right_elbow'), id=9, color=[255, 128, 0]),
115
+ 10:
116
+ dict(link=('right_elbow', 'right_wrist'), id=10, color=[255, 128, 0]),
117
+ 11: dict(link=('neck', 'left_shoulder'), id=11, color=[0, 255, 0]),
118
+ 12:
119
+ dict(link=('left_shoulder', 'left_elbow'), id=12, color=[0, 255, 0]),
120
+ 13: dict(link=('left_elbow', 'left_wrist'), id=13, color=[0, 255, 0])
121
+ },
122
+ joint_weights=[
123
+ 1., 1., 1., 1., 1., 1., 1., 1.2, 1.2, 1.2, 1.2, 1.5, 1.5, 1.5, 1.5
124
+ ],
125
+ # Adapted from COCO dataset.
126
+ sigmas=[
127
+ 0.025, 0.107, 0.025, 0.079, 0.079, 0.107, 0.107, 0.072, 0.072, 0.087,
128
+ 0.087, 0.062, 0.062, 0.089, 0.089
129
+ ])
mmpose/configs/_base_/datasets/lapa.py ADDED
@@ -0,0 +1,688 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='lapa',
3
+ paper_info=dict(
4
+ author='Liu, Yinglu and Shi, Hailin and Shen, Hao and Si, '
5
+ 'Yue and Wang, Xiaobo and Mei, Tao',
6
+ title='A New Dataset and Boundary-Attention Semantic '
7
+ 'Segmentation for Face Parsing.',
8
+ container='Proceedings of the AAAI Conference on '
9
+ 'Artificial Intelligence 2020',
10
+ year='2020',
11
+ homepage='https://github.com/JDAI-CV/lapa-dataset',
12
+ ),
13
+ keypoint_info={
14
+ 0:
15
+ dict(
16
+ name='kpt-0', id=0, color=[255, 0, 0], type='upper',
17
+ swap='kpt-32'),
18
+ 1:
19
+ dict(
20
+ name='kpt-1', id=1, color=[255, 0, 0], type='upper',
21
+ swap='kpt-31'),
22
+ 2:
23
+ dict(
24
+ name='kpt-2', id=2, color=[255, 0, 0], type='upper',
25
+ swap='kpt-30'),
26
+ 3:
27
+ dict(
28
+ name='kpt-3', id=3, color=[255, 0, 0], type='lower',
29
+ swap='kpt-29'),
30
+ 4:
31
+ dict(
32
+ name='kpt-4', id=4, color=[255, 0, 0], type='lower',
33
+ swap='kpt-28'),
34
+ 5:
35
+ dict(
36
+ name='kpt-5', id=5, color=[255, 0, 0], type='lower',
37
+ swap='kpt-27'),
38
+ 6:
39
+ dict(
40
+ name='kpt-6', id=6, color=[255, 0, 0], type='lower',
41
+ swap='kpt-26'),
42
+ 7:
43
+ dict(
44
+ name='kpt-7', id=7, color=[255, 0, 0], type='lower',
45
+ swap='kpt-25'),
46
+ 8:
47
+ dict(
48
+ name='kpt-8', id=8, color=[255, 0, 0], type='lower',
49
+ swap='kpt-24'),
50
+ 9:
51
+ dict(
52
+ name='kpt-9', id=9, color=[255, 0, 0], type='lower',
53
+ swap='kpt-23'),
54
+ 10:
55
+ dict(
56
+ name='kpt-10',
57
+ id=10,
58
+ color=[255, 0, 0],
59
+ type='lower',
60
+ swap='kpt-22'),
61
+ 11:
62
+ dict(
63
+ name='kpt-11',
64
+ id=11,
65
+ color=[255, 0, 0],
66
+ type='lower',
67
+ swap='kpt-21'),
68
+ 12:
69
+ dict(
70
+ name='kpt-12',
71
+ id=12,
72
+ color=[255, 0, 0],
73
+ type='lower',
74
+ swap='kpt-20'),
75
+ 13:
76
+ dict(
77
+ name='kpt-13',
78
+ id=13,
79
+ color=[255, 0, 0],
80
+ type='lower',
81
+ swap='kpt-19'),
82
+ 14:
83
+ dict(
84
+ name='kpt-14',
85
+ id=14,
86
+ color=[255, 0, 0],
87
+ type='lower',
88
+ swap='kpt-18'),
89
+ 15:
90
+ dict(
91
+ name='kpt-15',
92
+ id=15,
93
+ color=[255, 0, 0],
94
+ type='lower',
95
+ swap='kpt-17'),
96
+ 16:
97
+ dict(name='kpt-16', id=16, color=[255, 0, 0], type='lower', swap=''),
98
+ 17:
99
+ dict(
100
+ name='kpt-17',
101
+ id=17,
102
+ color=[255, 0, 0],
103
+ type='lower',
104
+ swap='kpt-15'),
105
+ 18:
106
+ dict(
107
+ name='kpt-18',
108
+ id=18,
109
+ color=[255, 0, 0],
110
+ type='lower',
111
+ swap='kpt-14'),
112
+ 19:
113
+ dict(
114
+ name='kpt-19',
115
+ id=19,
116
+ color=[255, 0, 0],
117
+ type='lower',
118
+ swap='kpt-13'),
119
+ 20:
120
+ dict(
121
+ name='kpt-20',
122
+ id=20,
123
+ color=[255, 0, 0],
124
+ type='lower',
125
+ swap='kpt-12'),
126
+ 21:
127
+ dict(
128
+ name='kpt-21',
129
+ id=21,
130
+ color=[255, 0, 0],
131
+ type='lower',
132
+ swap='kpt-11'),
133
+ 22:
134
+ dict(
135
+ name='kpt-22',
136
+ id=22,
137
+ color=[255, 0, 0],
138
+ type='lower',
139
+ swap='kpt-10'),
140
+ 23:
141
+ dict(
142
+ name='kpt-23',
143
+ id=23,
144
+ color=[255, 0, 0],
145
+ type='lower',
146
+ swap='kpt-9'),
147
+ 24:
148
+ dict(
149
+ name='kpt-24',
150
+ id=24,
151
+ color=[255, 0, 0],
152
+ type='lower',
153
+ swap='kpt-8'),
154
+ 25:
155
+ dict(
156
+ name='kpt-25',
157
+ id=25,
158
+ color=[255, 0, 0],
159
+ type='lower',
160
+ swap='kpt-7'),
161
+ 26:
162
+ dict(
163
+ name='kpt-26',
164
+ id=26,
165
+ color=[255, 0, 0],
166
+ type='lower',
167
+ swap='kpt-6'),
168
+ 27:
169
+ dict(
170
+ name='kpt-27',
171
+ id=27,
172
+ color=[255, 0, 0],
173
+ type='lower',
174
+ swap='kpt-5'),
175
+ 28:
176
+ dict(
177
+ name='kpt-28',
178
+ id=28,
179
+ color=[255, 0, 0],
180
+ type='lower',
181
+ swap='kpt-4'),
182
+ 29:
183
+ dict(
184
+ name='kpt-29',
185
+ id=29,
186
+ color=[255, 0, 0],
187
+ type='lower',
188
+ swap='kpt-3'),
189
+ 30:
190
+ dict(
191
+ name='kpt-30',
192
+ id=30,
193
+ color=[255, 0, 0],
194
+ type='upper',
195
+ swap='kpt-2'),
196
+ 31:
197
+ dict(
198
+ name='kpt-31',
199
+ id=31,
200
+ color=[255, 0, 0],
201
+ type='upper',
202
+ swap='kpt-1'),
203
+ 32:
204
+ dict(
205
+ name='kpt-32',
206
+ id=32,
207
+ color=[255, 0, 0],
208
+ type='upper',
209
+ swap='kpt-0'),
210
+ 33:
211
+ dict(
212
+ name='kpt-33',
213
+ id=33,
214
+ color=[255, 0, 0],
215
+ type='upper',
216
+ swap='kpt-46'),
217
+ 34:
218
+ dict(
219
+ name='kpt-34',
220
+ id=34,
221
+ color=[255, 0, 0],
222
+ type='upper',
223
+ swap='kpt-45'),
224
+ 35:
225
+ dict(
226
+ name='kpt-35',
227
+ id=35,
228
+ color=[255, 0, 0],
229
+ type='upper',
230
+ swap='kpt-44'),
231
+ 36:
232
+ dict(
233
+ name='kpt-36',
234
+ id=36,
235
+ color=[255, 0, 0],
236
+ type='upper',
237
+ swap='kpt-43'),
238
+ 37:
239
+ dict(
240
+ name='kpt-37',
241
+ id=37,
242
+ color=[255, 0, 0],
243
+ type='upper',
244
+ swap='kpt-42'),
245
+ 38:
246
+ dict(
247
+ name='kpt-38',
248
+ id=38,
249
+ color=[255, 0, 0],
250
+ type='upper',
251
+ swap='kpt-50'),
252
+ 39:
253
+ dict(
254
+ name='kpt-39',
255
+ id=39,
256
+ color=[255, 0, 0],
257
+ type='upper',
258
+ swap='kpt-49'),
259
+ 40:
260
+ dict(
261
+ name='kpt-40',
262
+ id=40,
263
+ color=[255, 0, 0],
264
+ type='upper',
265
+ swap='kpt-48'),
266
+ 41:
267
+ dict(
268
+ name='kpt-41',
269
+ id=41,
270
+ color=[255, 0, 0],
271
+ type='upper',
272
+ swap='kpt-47'),
273
+ 42:
274
+ dict(
275
+ name='kpt-42',
276
+ id=42,
277
+ color=[255, 0, 0],
278
+ type='upper',
279
+ swap='kpt-37'),
280
+ 43:
281
+ dict(
282
+ name='kpt-43',
283
+ id=43,
284
+ color=[255, 0, 0],
285
+ type='upper',
286
+ swap='kpt-36'),
287
+ 44:
288
+ dict(
289
+ name='kpt-44',
290
+ id=44,
291
+ color=[255, 0, 0],
292
+ type='upper',
293
+ swap='kpt-35'),
294
+ 45:
295
+ dict(
296
+ name='kpt-45',
297
+ id=45,
298
+ color=[255, 0, 0],
299
+ type='upper',
300
+ swap='kpt-34'),
301
+ 46:
302
+ dict(
303
+ name='kpt-46',
304
+ id=46,
305
+ color=[255, 0, 0],
306
+ type='upper',
307
+ swap='kpt-33'),
308
+ 47:
309
+ dict(
310
+ name='kpt-47',
311
+ id=47,
312
+ color=[255, 0, 0],
313
+ type='upper',
314
+ swap='kpt-41'),
315
+ 48:
316
+ dict(
317
+ name='kpt-48',
318
+ id=48,
319
+ color=[255, 0, 0],
320
+ type='upper',
321
+ swap='kpt-40'),
322
+ 49:
323
+ dict(
324
+ name='kpt-49',
325
+ id=49,
326
+ color=[255, 0, 0],
327
+ type='upper',
328
+ swap='kpt-39'),
329
+ 50:
330
+ dict(
331
+ name='kpt-50',
332
+ id=50,
333
+ color=[255, 0, 0],
334
+ type='upper',
335
+ swap='kpt-38'),
336
+ 51:
337
+ dict(name='kpt-51', id=51, color=[255, 0, 0], type='upper', swap=''),
338
+ 52:
339
+ dict(name='kpt-52', id=52, color=[255, 0, 0], type='upper', swap=''),
340
+ 53:
341
+ dict(name='kpt-53', id=53, color=[255, 0, 0], type='lower', swap=''),
342
+ 54:
343
+ dict(name='kpt-54', id=54, color=[255, 0, 0], type='lower', swap=''),
344
+ 55:
345
+ dict(
346
+ name='kpt-55',
347
+ id=55,
348
+ color=[255, 0, 0],
349
+ type='upper',
350
+ swap='kpt-65'),
351
+ 56:
352
+ dict(
353
+ name='kpt-56',
354
+ id=56,
355
+ color=[255, 0, 0],
356
+ type='lower',
357
+ swap='kpt-64'),
358
+ 57:
359
+ dict(
360
+ name='kpt-57',
361
+ id=57,
362
+ color=[255, 0, 0],
363
+ type='lower',
364
+ swap='kpt-63'),
365
+ 58:
366
+ dict(
367
+ name='kpt-58',
368
+ id=58,
369
+ color=[255, 0, 0],
370
+ type='lower',
371
+ swap='kpt-62'),
372
+ 59:
373
+ dict(
374
+ name='kpt-59',
375
+ id=59,
376
+ color=[255, 0, 0],
377
+ type='lower',
378
+ swap='kpt-61'),
379
+ 60:
380
+ dict(name='kpt-60', id=60, color=[255, 0, 0], type='lower', swap=''),
381
+ 61:
382
+ dict(
383
+ name='kpt-61',
384
+ id=61,
385
+ color=[255, 0, 0],
386
+ type='lower',
387
+ swap='kpt-59'),
388
+ 62:
389
+ dict(
390
+ name='kpt-62',
391
+ id=62,
392
+ color=[255, 0, 0],
393
+ type='lower',
394
+ swap='kpt-58'),
395
+ 63:
396
+ dict(
397
+ name='kpt-63',
398
+ id=63,
399
+ color=[255, 0, 0],
400
+ type='lower',
401
+ swap='kpt-57'),
402
+ 64:
403
+ dict(
404
+ name='kpt-64',
405
+ id=64,
406
+ color=[255, 0, 0],
407
+ type='lower',
408
+ swap='kpt-56'),
409
+ 65:
410
+ dict(
411
+ name='kpt-65',
412
+ id=65,
413
+ color=[255, 0, 0],
414
+ type='upper',
415
+ swap='kpt-55'),
416
+ 66:
417
+ dict(
418
+ name='kpt-66',
419
+ id=66,
420
+ color=[255, 0, 0],
421
+ type='upper',
422
+ swap='kpt-79'),
423
+ 67:
424
+ dict(
425
+ name='kpt-67',
426
+ id=67,
427
+ color=[255, 0, 0],
428
+ type='upper',
429
+ swap='kpt-78'),
430
+ 68:
431
+ dict(
432
+ name='kpt-68',
433
+ id=68,
434
+ color=[255, 0, 0],
435
+ type='upper',
436
+ swap='kpt-77'),
437
+ 69:
438
+ dict(
439
+ name='kpt-69',
440
+ id=69,
441
+ color=[255, 0, 0],
442
+ type='upper',
443
+ swap='kpt-76'),
444
+ 70:
445
+ dict(
446
+ name='kpt-70',
447
+ id=70,
448
+ color=[255, 0, 0],
449
+ type='upper',
450
+ swap='kpt-75'),
451
+ 71:
452
+ dict(
453
+ name='kpt-71',
454
+ id=71,
455
+ color=[255, 0, 0],
456
+ type='upper',
457
+ swap='kpt-82'),
458
+ 72:
459
+ dict(
460
+ name='kpt-72',
461
+ id=72,
462
+ color=[255, 0, 0],
463
+ type='upper',
464
+ swap='kpt-81'),
465
+ 73:
466
+ dict(
467
+ name='kpt-73',
468
+ id=73,
469
+ color=[255, 0, 0],
470
+ type='upper',
471
+ swap='kpt-80'),
472
+ 74:
473
+ dict(
474
+ name='kpt-74',
475
+ id=74,
476
+ color=[255, 0, 0],
477
+ type='upper',
478
+ swap='kpt-83'),
479
+ 75:
480
+ dict(
481
+ name='kpt-75',
482
+ id=75,
483
+ color=[255, 0, 0],
484
+ type='upper',
485
+ swap='kpt-70'),
486
+ 76:
487
+ dict(
488
+ name='kpt-76',
489
+ id=76,
490
+ color=[255, 0, 0],
491
+ type='upper',
492
+ swap='kpt-69'),
493
+ 77:
494
+ dict(
495
+ name='kpt-77',
496
+ id=77,
497
+ color=[255, 0, 0],
498
+ type='upper',
499
+ swap='kpt-68'),
500
+ 78:
501
+ dict(
502
+ name='kpt-78',
503
+ id=78,
504
+ color=[255, 0, 0],
505
+ type='upper',
506
+ swap='kpt-67'),
507
+ 79:
508
+ dict(
509
+ name='kpt-79',
510
+ id=79,
511
+ color=[255, 0, 0],
512
+ type='upper',
513
+ swap='kpt-66'),
514
+ 80:
515
+ dict(
516
+ name='kpt-80',
517
+ id=80,
518
+ color=[255, 0, 0],
519
+ type='upper',
520
+ swap='kpt-73'),
521
+ 81:
522
+ dict(
523
+ name='kpt-81',
524
+ id=81,
525
+ color=[255, 0, 0],
526
+ type='upper',
527
+ swap='kpt-72'),
528
+ 82:
529
+ dict(
530
+ name='kpt-82',
531
+ id=82,
532
+ color=[255, 0, 0],
533
+ type='upper',
534
+ swap='kpt-71'),
535
+ 83:
536
+ dict(
537
+ name='kpt-83',
538
+ id=83,
539
+ color=[255, 0, 0],
540
+ type='upper',
541
+ swap='kpt-74'),
542
+ 84:
543
+ dict(
544
+ name='kpt-84',
545
+ id=84,
546
+ color=[255, 0, 0],
547
+ type='lower',
548
+ swap='kpt-90'),
549
+ 85:
550
+ dict(
551
+ name='kpt-85',
552
+ id=85,
553
+ color=[255, 0, 0],
554
+ type='lower',
555
+ swap='kpt-89'),
556
+ 86:
557
+ dict(
558
+ name='kpt-86',
559
+ id=86,
560
+ color=[255, 0, 0],
561
+ type='lower',
562
+ swap='kpt-88'),
563
+ 87:
564
+ dict(name='kpt-87', id=87, color=[255, 0, 0], type='lower', swap=''),
565
+ 88:
566
+ dict(
567
+ name='kpt-88',
568
+ id=88,
569
+ color=[255, 0, 0],
570
+ type='lower',
571
+ swap='kpt-86'),
572
+ 89:
573
+ dict(
574
+ name='kpt-89',
575
+ id=89,
576
+ color=[255, 0, 0],
577
+ type='lower',
578
+ swap='kpt-85'),
579
+ 90:
580
+ dict(
581
+ name='kpt-90',
582
+ id=90,
583
+ color=[255, 0, 0],
584
+ type='lower',
585
+ swap='kpt-84'),
586
+ 91:
587
+ dict(
588
+ name='kpt-91',
589
+ id=91,
590
+ color=[255, 0, 0],
591
+ type='lower',
592
+ swap='kpt-95'),
593
+ 92:
594
+ dict(
595
+ name='kpt-92',
596
+ id=92,
597
+ color=[255, 0, 0],
598
+ type='lower',
599
+ swap='kpt-94'),
600
+ 93:
601
+ dict(name='kpt-93', id=93, color=[255, 0, 0], type='lower', swap=''),
602
+ 94:
603
+ dict(
604
+ name='kpt-94',
605
+ id=94,
606
+ color=[255, 0, 0],
607
+ type='lower',
608
+ swap='kpt-92'),
609
+ 95:
610
+ dict(
611
+ name='kpt-95',
612
+ id=95,
613
+ color=[255, 0, 0],
614
+ type='lower',
615
+ swap='kpt-91'),
616
+ 96:
617
+ dict(
618
+ name='kpt-96',
619
+ id=96,
620
+ color=[255, 0, 0],
621
+ type='lower',
622
+ swap='kpt-100'),
623
+ 97:
624
+ dict(
625
+ name='kpt-97',
626
+ id=97,
627
+ color=[255, 0, 0],
628
+ type='lower',
629
+ swap='kpt-99'),
630
+ 98:
631
+ dict(name='kpt-98', id=98, color=[255, 0, 0], type='lower', swap=''),
632
+ 99:
633
+ dict(
634
+ name='kpt-99',
635
+ id=99,
636
+ color=[255, 0, 0],
637
+ type='lower',
638
+ swap='kpt-97'),
639
+ 100:
640
+ dict(
641
+ name='kpt-100',
642
+ id=100,
643
+ color=[255, 0, 0],
644
+ type='lower',
645
+ swap='kpt-96'),
646
+ 101:
647
+ dict(
648
+ name='kpt-101',
649
+ id=101,
650
+ color=[255, 0, 0],
651
+ type='lower',
652
+ swap='kpt-103'),
653
+ 102:
654
+ dict(name='kpt-102', id=102, color=[255, 0, 0], type='lower', swap=''),
655
+ 103:
656
+ dict(
657
+ name='kpt-103',
658
+ id=103,
659
+ color=[255, 0, 0],
660
+ type='lower',
661
+ swap='kpt-101'),
662
+ 104:
663
+ dict(
664
+ name='kpt-104',
665
+ id=104,
666
+ color=[255, 0, 0],
667
+ type='upper',
668
+ swap='kpt-105'),
669
+ 105:
670
+ dict(
671
+ name='kpt-105',
672
+ id=105,
673
+ color=[255, 0, 0],
674
+ type='upper',
675
+ swap='kpt-104')
676
+ },
677
+ skeleton_info={},
678
+ joint_weights=[
679
+ 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8,
680
+ 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8,
681
+ 0.8, 0.8, 0.8, 0.8, 0.8, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
682
+ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
683
+ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 2.0, 2.0, 2.0, 2.0,
684
+ 2.0, 2.0, 2.0, 2.0, 1.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 1.0,
685
+ 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5,
686
+ 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.0, 1.0
687
+ ],
688
+ sigmas=[])
mmpose/configs/_base_/datasets/locust.py ADDED
@@ -0,0 +1,263 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='locust',
3
+ paper_info=dict(
4
+ author='Graving, Jacob M and Chae, Daniel and Naik, Hemal and '
5
+ 'Li, Liang and Koger, Benjamin and Costelloe, Blair R and '
6
+ 'Couzin, Iain D',
7
+ title='DeepPoseKit, a software toolkit for fast and robust '
8
+ 'animal pose estimation using deep learning',
9
+ container='Elife',
10
+ year='2019',
11
+ homepage='https://github.com/jgraving/DeepPoseKit-Data',
12
+ ),
13
+ keypoint_info={
14
+ 0:
15
+ dict(name='head', id=0, color=[255, 255, 255], type='', swap=''),
16
+ 1:
17
+ dict(name='neck', id=1, color=[255, 255, 255], type='', swap=''),
18
+ 2:
19
+ dict(name='thorax', id=2, color=[255, 255, 255], type='', swap=''),
20
+ 3:
21
+ dict(name='abdomen1', id=3, color=[255, 255, 255], type='', swap=''),
22
+ 4:
23
+ dict(name='abdomen2', id=4, color=[255, 255, 255], type='', swap=''),
24
+ 5:
25
+ dict(
26
+ name='anttipL',
27
+ id=5,
28
+ color=[255, 255, 255],
29
+ type='',
30
+ swap='anttipR'),
31
+ 6:
32
+ dict(
33
+ name='antbaseL',
34
+ id=6,
35
+ color=[255, 255, 255],
36
+ type='',
37
+ swap='antbaseR'),
38
+ 7:
39
+ dict(name='eyeL', id=7, color=[255, 255, 255], type='', swap='eyeR'),
40
+ 8:
41
+ dict(
42
+ name='forelegL1',
43
+ id=8,
44
+ color=[255, 255, 255],
45
+ type='',
46
+ swap='forelegR1'),
47
+ 9:
48
+ dict(
49
+ name='forelegL2',
50
+ id=9,
51
+ color=[255, 255, 255],
52
+ type='',
53
+ swap='forelegR2'),
54
+ 10:
55
+ dict(
56
+ name='forelegL3',
57
+ id=10,
58
+ color=[255, 255, 255],
59
+ type='',
60
+ swap='forelegR3'),
61
+ 11:
62
+ dict(
63
+ name='forelegL4',
64
+ id=11,
65
+ color=[255, 255, 255],
66
+ type='',
67
+ swap='forelegR4'),
68
+ 12:
69
+ dict(
70
+ name='midlegL1',
71
+ id=12,
72
+ color=[255, 255, 255],
73
+ type='',
74
+ swap='midlegR1'),
75
+ 13:
76
+ dict(
77
+ name='midlegL2',
78
+ id=13,
79
+ color=[255, 255, 255],
80
+ type='',
81
+ swap='midlegR2'),
82
+ 14:
83
+ dict(
84
+ name='midlegL3',
85
+ id=14,
86
+ color=[255, 255, 255],
87
+ type='',
88
+ swap='midlegR3'),
89
+ 15:
90
+ dict(
91
+ name='midlegL4',
92
+ id=15,
93
+ color=[255, 255, 255],
94
+ type='',
95
+ swap='midlegR4'),
96
+ 16:
97
+ dict(
98
+ name='hindlegL1',
99
+ id=16,
100
+ color=[255, 255, 255],
101
+ type='',
102
+ swap='hindlegR1'),
103
+ 17:
104
+ dict(
105
+ name='hindlegL2',
106
+ id=17,
107
+ color=[255, 255, 255],
108
+ type='',
109
+ swap='hindlegR2'),
110
+ 18:
111
+ dict(
112
+ name='hindlegL3',
113
+ id=18,
114
+ color=[255, 255, 255],
115
+ type='',
116
+ swap='hindlegR3'),
117
+ 19:
118
+ dict(
119
+ name='hindlegL4',
120
+ id=19,
121
+ color=[255, 255, 255],
122
+ type='',
123
+ swap='hindlegR4'),
124
+ 20:
125
+ dict(
126
+ name='anttipR',
127
+ id=20,
128
+ color=[255, 255, 255],
129
+ type='',
130
+ swap='anttipL'),
131
+ 21:
132
+ dict(
133
+ name='antbaseR',
134
+ id=21,
135
+ color=[255, 255, 255],
136
+ type='',
137
+ swap='antbaseL'),
138
+ 22:
139
+ dict(name='eyeR', id=22, color=[255, 255, 255], type='', swap='eyeL'),
140
+ 23:
141
+ dict(
142
+ name='forelegR1',
143
+ id=23,
144
+ color=[255, 255, 255],
145
+ type='',
146
+ swap='forelegL1'),
147
+ 24:
148
+ dict(
149
+ name='forelegR2',
150
+ id=24,
151
+ color=[255, 255, 255],
152
+ type='',
153
+ swap='forelegL2'),
154
+ 25:
155
+ dict(
156
+ name='forelegR3',
157
+ id=25,
158
+ color=[255, 255, 255],
159
+ type='',
160
+ swap='forelegL3'),
161
+ 26:
162
+ dict(
163
+ name='forelegR4',
164
+ id=26,
165
+ color=[255, 255, 255],
166
+ type='',
167
+ swap='forelegL4'),
168
+ 27:
169
+ dict(
170
+ name='midlegR1',
171
+ id=27,
172
+ color=[255, 255, 255],
173
+ type='',
174
+ swap='midlegL1'),
175
+ 28:
176
+ dict(
177
+ name='midlegR2',
178
+ id=28,
179
+ color=[255, 255, 255],
180
+ type='',
181
+ swap='midlegL2'),
182
+ 29:
183
+ dict(
184
+ name='midlegR3',
185
+ id=29,
186
+ color=[255, 255, 255],
187
+ type='',
188
+ swap='midlegL3'),
189
+ 30:
190
+ dict(
191
+ name='midlegR4',
192
+ id=30,
193
+ color=[255, 255, 255],
194
+ type='',
195
+ swap='midlegL4'),
196
+ 31:
197
+ dict(
198
+ name='hindlegR1',
199
+ id=31,
200
+ color=[255, 255, 255],
201
+ type='',
202
+ swap='hindlegL1'),
203
+ 32:
204
+ dict(
205
+ name='hindlegR2',
206
+ id=32,
207
+ color=[255, 255, 255],
208
+ type='',
209
+ swap='hindlegL2'),
210
+ 33:
211
+ dict(
212
+ name='hindlegR3',
213
+ id=33,
214
+ color=[255, 255, 255],
215
+ type='',
216
+ swap='hindlegL3'),
217
+ 34:
218
+ dict(
219
+ name='hindlegR4',
220
+ id=34,
221
+ color=[255, 255, 255],
222
+ type='',
223
+ swap='hindlegL4')
224
+ },
225
+ skeleton_info={
226
+ 0: dict(link=('neck', 'head'), id=0, color=[255, 255, 255]),
227
+ 1: dict(link=('thorax', 'neck'), id=1, color=[255, 255, 255]),
228
+ 2: dict(link=('abdomen1', 'thorax'), id=2, color=[255, 255, 255]),
229
+ 3: dict(link=('abdomen2', 'abdomen1'), id=3, color=[255, 255, 255]),
230
+ 4: dict(link=('antbaseL', 'anttipL'), id=4, color=[255, 255, 255]),
231
+ 5: dict(link=('eyeL', 'antbaseL'), id=5, color=[255, 255, 255]),
232
+ 6: dict(link=('forelegL2', 'forelegL1'), id=6, color=[255, 255, 255]),
233
+ 7: dict(link=('forelegL3', 'forelegL2'), id=7, color=[255, 255, 255]),
234
+ 8: dict(link=('forelegL4', 'forelegL3'), id=8, color=[255, 255, 255]),
235
+ 9: dict(link=('midlegL2', 'midlegL1'), id=9, color=[255, 255, 255]),
236
+ 10: dict(link=('midlegL3', 'midlegL2'), id=10, color=[255, 255, 255]),
237
+ 11: dict(link=('midlegL4', 'midlegL3'), id=11, color=[255, 255, 255]),
238
+ 12:
239
+ dict(link=('hindlegL2', 'hindlegL1'), id=12, color=[255, 255, 255]),
240
+ 13:
241
+ dict(link=('hindlegL3', 'hindlegL2'), id=13, color=[255, 255, 255]),
242
+ 14:
243
+ dict(link=('hindlegL4', 'hindlegL3'), id=14, color=[255, 255, 255]),
244
+ 15: dict(link=('antbaseR', 'anttipR'), id=15, color=[255, 255, 255]),
245
+ 16: dict(link=('eyeR', 'antbaseR'), id=16, color=[255, 255, 255]),
246
+ 17:
247
+ dict(link=('forelegR2', 'forelegR1'), id=17, color=[255, 255, 255]),
248
+ 18:
249
+ dict(link=('forelegR3', 'forelegR2'), id=18, color=[255, 255, 255]),
250
+ 19:
251
+ dict(link=('forelegR4', 'forelegR3'), id=19, color=[255, 255, 255]),
252
+ 20: dict(link=('midlegR2', 'midlegR1'), id=20, color=[255, 255, 255]),
253
+ 21: dict(link=('midlegR3', 'midlegR2'), id=21, color=[255, 255, 255]),
254
+ 22: dict(link=('midlegR4', 'midlegR3'), id=22, color=[255, 255, 255]),
255
+ 23:
256
+ dict(link=('hindlegR2', 'hindlegR1'), id=23, color=[255, 255, 255]),
257
+ 24:
258
+ dict(link=('hindlegR3', 'hindlegR2'), id=24, color=[255, 255, 255]),
259
+ 25:
260
+ dict(link=('hindlegR4', 'hindlegR3'), id=25, color=[255, 255, 255])
261
+ },
262
+ joint_weights=[1.] * 35,
263
+ sigmas=[])
mmpose/configs/_base_/datasets/macaque.py ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='macaque',
3
+ paper_info=dict(
4
+ author='Labuguen, Rollyn and Matsumoto, Jumpei and '
5
+ 'Negrete, Salvador and Nishimaru, Hiroshi and '
6
+ 'Nishijo, Hisao and Takada, Masahiko and '
7
+ 'Go, Yasuhiro and Inoue, Ken-ichi and Shibata, Tomohiro',
8
+ title='MacaquePose: A novel "in the wild" macaque monkey pose dataset '
9
+ 'for markerless motion capture',
10
+ container='bioRxiv',
11
+ year='2020',
12
+ homepage='http://www.pri.kyoto-u.ac.jp/datasets/'
13
+ 'macaquepose/index.html',
14
+ ),
15
+ keypoint_info={
16
+ 0:
17
+ dict(name='nose', id=0, color=[51, 153, 255], type='upper', swap=''),
18
+ 1:
19
+ dict(
20
+ name='left_eye',
21
+ id=1,
22
+ color=[51, 153, 255],
23
+ type='upper',
24
+ swap='right_eye'),
25
+ 2:
26
+ dict(
27
+ name='right_eye',
28
+ id=2,
29
+ color=[51, 153, 255],
30
+ type='upper',
31
+ swap='left_eye'),
32
+ 3:
33
+ dict(
34
+ name='left_ear',
35
+ id=3,
36
+ color=[51, 153, 255],
37
+ type='upper',
38
+ swap='right_ear'),
39
+ 4:
40
+ dict(
41
+ name='right_ear',
42
+ id=4,
43
+ color=[51, 153, 255],
44
+ type='upper',
45
+ swap='left_ear'),
46
+ 5:
47
+ dict(
48
+ name='left_shoulder',
49
+ id=5,
50
+ color=[0, 255, 0],
51
+ type='upper',
52
+ swap='right_shoulder'),
53
+ 6:
54
+ dict(
55
+ name='right_shoulder',
56
+ id=6,
57
+ color=[255, 128, 0],
58
+ type='upper',
59
+ swap='left_shoulder'),
60
+ 7:
61
+ dict(
62
+ name='left_elbow',
63
+ id=7,
64
+ color=[0, 255, 0],
65
+ type='upper',
66
+ swap='right_elbow'),
67
+ 8:
68
+ dict(
69
+ name='right_elbow',
70
+ id=8,
71
+ color=[255, 128, 0],
72
+ type='upper',
73
+ swap='left_elbow'),
74
+ 9:
75
+ dict(
76
+ name='left_wrist',
77
+ id=9,
78
+ color=[0, 255, 0],
79
+ type='upper',
80
+ swap='right_wrist'),
81
+ 10:
82
+ dict(
83
+ name='right_wrist',
84
+ id=10,
85
+ color=[255, 128, 0],
86
+ type='upper',
87
+ swap='left_wrist'),
88
+ 11:
89
+ dict(
90
+ name='left_hip',
91
+ id=11,
92
+ color=[0, 255, 0],
93
+ type='lower',
94
+ swap='right_hip'),
95
+ 12:
96
+ dict(
97
+ name='right_hip',
98
+ id=12,
99
+ color=[255, 128, 0],
100
+ type='lower',
101
+ swap='left_hip'),
102
+ 13:
103
+ dict(
104
+ name='left_knee',
105
+ id=13,
106
+ color=[0, 255, 0],
107
+ type='lower',
108
+ swap='right_knee'),
109
+ 14:
110
+ dict(
111
+ name='right_knee',
112
+ id=14,
113
+ color=[255, 128, 0],
114
+ type='lower',
115
+ swap='left_knee'),
116
+ 15:
117
+ dict(
118
+ name='left_ankle',
119
+ id=15,
120
+ color=[0, 255, 0],
121
+ type='lower',
122
+ swap='right_ankle'),
123
+ 16:
124
+ dict(
125
+ name='right_ankle',
126
+ id=16,
127
+ color=[255, 128, 0],
128
+ type='lower',
129
+ swap='left_ankle')
130
+ },
131
+ skeleton_info={
132
+ 0:
133
+ dict(link=('left_ankle', 'left_knee'), id=0, color=[0, 255, 0]),
134
+ 1:
135
+ dict(link=('left_knee', 'left_hip'), id=1, color=[0, 255, 0]),
136
+ 2:
137
+ dict(link=('right_ankle', 'right_knee'), id=2, color=[255, 128, 0]),
138
+ 3:
139
+ dict(link=('right_knee', 'right_hip'), id=3, color=[255, 128, 0]),
140
+ 4:
141
+ dict(link=('left_hip', 'right_hip'), id=4, color=[51, 153, 255]),
142
+ 5:
143
+ dict(link=('left_shoulder', 'left_hip'), id=5, color=[51, 153, 255]),
144
+ 6:
145
+ dict(link=('right_shoulder', 'right_hip'), id=6, color=[51, 153, 255]),
146
+ 7:
147
+ dict(
148
+ link=('left_shoulder', 'right_shoulder'),
149
+ id=7,
150
+ color=[51, 153, 255]),
151
+ 8:
152
+ dict(link=('left_shoulder', 'left_elbow'), id=8, color=[0, 255, 0]),
153
+ 9:
154
+ dict(
155
+ link=('right_shoulder', 'right_elbow'), id=9, color=[255, 128, 0]),
156
+ 10:
157
+ dict(link=('left_elbow', 'left_wrist'), id=10, color=[0, 255, 0]),
158
+ 11:
159
+ dict(link=('right_elbow', 'right_wrist'), id=11, color=[255, 128, 0]),
160
+ 12:
161
+ dict(link=('left_eye', 'right_eye'), id=12, color=[51, 153, 255]),
162
+ 13:
163
+ dict(link=('nose', 'left_eye'), id=13, color=[51, 153, 255]),
164
+ 14:
165
+ dict(link=('nose', 'right_eye'), id=14, color=[51, 153, 255]),
166
+ 15:
167
+ dict(link=('left_eye', 'left_ear'), id=15, color=[51, 153, 255]),
168
+ 16:
169
+ dict(link=('right_eye', 'right_ear'), id=16, color=[51, 153, 255]),
170
+ 17:
171
+ dict(link=('left_ear', 'left_shoulder'), id=17, color=[51, 153, 255]),
172
+ 18:
173
+ dict(
174
+ link=('right_ear', 'right_shoulder'), id=18, color=[51, 153, 255])
175
+ },
176
+ joint_weights=[
177
+ 1., 1., 1., 1., 1., 1., 1., 1.2, 1.2, 1.5, 1.5, 1., 1., 1.2, 1.2, 1.5,
178
+ 1.5
179
+ ],
180
+ sigmas=[
181
+ 0.026, 0.025, 0.025, 0.035, 0.035, 0.079, 0.079, 0.072, 0.072, 0.062,
182
+ 0.062, 0.107, 0.107, 0.087, 0.087, 0.089, 0.089
183
+ ])
mmpose/configs/_base_/datasets/mhp.py ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='mhp',
3
+ paper_info=dict(
4
+ author='Zhao, Jian and Li, Jianshu and Cheng, Yu and '
5
+ 'Sim, Terence and Yan, Shuicheng and Feng, Jiashi',
6
+ title='Understanding humans in crowded scenes: '
7
+ 'Deep nested adversarial learning and a '
8
+ 'new benchmark for multi-human parsing',
9
+ container='Proceedings of the 26th ACM '
10
+ 'international conference on Multimedia',
11
+ year='2018',
12
+ homepage='https://lv-mhp.github.io/dataset',
13
+ ),
14
+ keypoint_info={
15
+ 0:
16
+ dict(
17
+ name='right_ankle',
18
+ id=0,
19
+ color=[255, 128, 0],
20
+ type='lower',
21
+ swap='left_ankle'),
22
+ 1:
23
+ dict(
24
+ name='right_knee',
25
+ id=1,
26
+ color=[255, 128, 0],
27
+ type='lower',
28
+ swap='left_knee'),
29
+ 2:
30
+ dict(
31
+ name='right_hip',
32
+ id=2,
33
+ color=[255, 128, 0],
34
+ type='lower',
35
+ swap='left_hip'),
36
+ 3:
37
+ dict(
38
+ name='left_hip',
39
+ id=3,
40
+ color=[0, 255, 0],
41
+ type='lower',
42
+ swap='right_hip'),
43
+ 4:
44
+ dict(
45
+ name='left_knee',
46
+ id=4,
47
+ color=[0, 255, 0],
48
+ type='lower',
49
+ swap='right_knee'),
50
+ 5:
51
+ dict(
52
+ name='left_ankle',
53
+ id=5,
54
+ color=[0, 255, 0],
55
+ type='lower',
56
+ swap='right_ankle'),
57
+ 6:
58
+ dict(name='pelvis', id=6, color=[51, 153, 255], type='lower', swap=''),
59
+ 7:
60
+ dict(name='thorax', id=7, color=[51, 153, 255], type='upper', swap=''),
61
+ 8:
62
+ dict(
63
+ name='upper_neck',
64
+ id=8,
65
+ color=[51, 153, 255],
66
+ type='upper',
67
+ swap=''),
68
+ 9:
69
+ dict(
70
+ name='head_top', id=9, color=[51, 153, 255], type='upper',
71
+ swap=''),
72
+ 10:
73
+ dict(
74
+ name='right_wrist',
75
+ id=10,
76
+ color=[255, 128, 0],
77
+ type='upper',
78
+ swap='left_wrist'),
79
+ 11:
80
+ dict(
81
+ name='right_elbow',
82
+ id=11,
83
+ color=[255, 128, 0],
84
+ type='upper',
85
+ swap='left_elbow'),
86
+ 12:
87
+ dict(
88
+ name='right_shoulder',
89
+ id=12,
90
+ color=[255, 128, 0],
91
+ type='upper',
92
+ swap='left_shoulder'),
93
+ 13:
94
+ dict(
95
+ name='left_shoulder',
96
+ id=13,
97
+ color=[0, 255, 0],
98
+ type='upper',
99
+ swap='right_shoulder'),
100
+ 14:
101
+ dict(
102
+ name='left_elbow',
103
+ id=14,
104
+ color=[0, 255, 0],
105
+ type='upper',
106
+ swap='right_elbow'),
107
+ 15:
108
+ dict(
109
+ name='left_wrist',
110
+ id=15,
111
+ color=[0, 255, 0],
112
+ type='upper',
113
+ swap='right_wrist')
114
+ },
115
+ skeleton_info={
116
+ 0:
117
+ dict(link=('right_ankle', 'right_knee'), id=0, color=[255, 128, 0]),
118
+ 1:
119
+ dict(link=('right_knee', 'right_hip'), id=1, color=[255, 128, 0]),
120
+ 2:
121
+ dict(link=('right_hip', 'pelvis'), id=2, color=[255, 128, 0]),
122
+ 3:
123
+ dict(link=('pelvis', 'left_hip'), id=3, color=[0, 255, 0]),
124
+ 4:
125
+ dict(link=('left_hip', 'left_knee'), id=4, color=[0, 255, 0]),
126
+ 5:
127
+ dict(link=('left_knee', 'left_ankle'), id=5, color=[0, 255, 0]),
128
+ 6:
129
+ dict(link=('pelvis', 'thorax'), id=6, color=[51, 153, 255]),
130
+ 7:
131
+ dict(link=('thorax', 'upper_neck'), id=7, color=[51, 153, 255]),
132
+ 8:
133
+ dict(link=('upper_neck', 'head_top'), id=8, color=[51, 153, 255]),
134
+ 9:
135
+ dict(link=('upper_neck', 'right_shoulder'), id=9, color=[255, 128, 0]),
136
+ 10:
137
+ dict(
138
+ link=('right_shoulder', 'right_elbow'), id=10, color=[255, 128,
139
+ 0]),
140
+ 11:
141
+ dict(link=('right_elbow', 'right_wrist'), id=11, color=[255, 128, 0]),
142
+ 12:
143
+ dict(link=('upper_neck', 'left_shoulder'), id=12, color=[0, 255, 0]),
144
+ 13:
145
+ dict(link=('left_shoulder', 'left_elbow'), id=13, color=[0, 255, 0]),
146
+ 14:
147
+ dict(link=('left_elbow', 'left_wrist'), id=14, color=[0, 255, 0])
148
+ },
149
+ joint_weights=[
150
+ 1.5, 1.2, 1., 1., 1.2, 1.5, 1., 1., 1., 1., 1.5, 1.2, 1., 1., 1.2, 1.5
151
+ ],
152
+ # Adapted from COCO dataset.
153
+ sigmas=[
154
+ 0.089, 0.083, 0.107, 0.107, 0.083, 0.089, 0.026, 0.026, 0.026, 0.026,
155
+ 0.062, 0.072, 0.179, 0.179, 0.072, 0.062
156
+ ])
mmpose/configs/_base_/datasets/mpi_inf_3dhp.py ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='mpi_inf_3dhp',
3
+ paper_info=dict(
4
+ author='ehta, Dushyant and Rhodin, Helge and Casas, Dan and '
5
+ 'Fua, Pascal and Sotnychenko, Oleksandr and Xu, Weipeng and '
6
+ 'Theobalt, Christian',
7
+ title='Monocular 3D Human Pose Estimation In The Wild Using Improved '
8
+ 'CNN Supervision',
9
+ container='2017 international conference on 3D vision (3DV)',
10
+ year='2017',
11
+ homepage='http://gvv.mpi-inf.mpg.de/3dhp-dataset',
12
+ ),
13
+ keypoint_info={
14
+ 0:
15
+ dict(
16
+ name='head_top', id=0, color=[51, 153, 255], type='upper',
17
+ swap=''),
18
+ 1:
19
+ dict(name='neck', id=1, color=[51, 153, 255], type='upper', swap=''),
20
+ 2:
21
+ dict(
22
+ name='right_shoulder',
23
+ id=2,
24
+ color=[255, 128, 0],
25
+ type='upper',
26
+ swap='left_shoulder'),
27
+ 3:
28
+ dict(
29
+ name='right_elbow',
30
+ id=3,
31
+ color=[255, 128, 0],
32
+ type='upper',
33
+ swap='left_elbow'),
34
+ 4:
35
+ dict(
36
+ name='right_wrist',
37
+ id=4,
38
+ color=[255, 128, 0],
39
+ type='upper',
40
+ swap='left_wrist'),
41
+ 5:
42
+ dict(
43
+ name='left_shoulder',
44
+ id=5,
45
+ color=[0, 255, 0],
46
+ type='upper',
47
+ swap='right_shoulder'),
48
+ 6:
49
+ dict(
50
+ name='left_elbow',
51
+ id=6,
52
+ color=[0, 255, 0],
53
+ type='upper',
54
+ swap='right_elbow'),
55
+ 7:
56
+ dict(
57
+ name='left_wrist',
58
+ id=7,
59
+ color=[0, 255, 0],
60
+ type='upper',
61
+ swap='right_wrist'),
62
+ 8:
63
+ dict(
64
+ name='right_hip',
65
+ id=8,
66
+ color=[255, 128, 0],
67
+ type='lower',
68
+ swap='left_hip'),
69
+ 9:
70
+ dict(
71
+ name='right_knee',
72
+ id=9,
73
+ color=[255, 128, 0],
74
+ type='lower',
75
+ swap='left_knee'),
76
+ 10:
77
+ dict(
78
+ name='right_ankle',
79
+ id=10,
80
+ color=[255, 128, 0],
81
+ type='lower',
82
+ swap='left_ankle'),
83
+ 11:
84
+ dict(
85
+ name='left_hip',
86
+ id=11,
87
+ color=[0, 255, 0],
88
+ type='lower',
89
+ swap='right_hip'),
90
+ 12:
91
+ dict(
92
+ name='left_knee',
93
+ id=12,
94
+ color=[0, 255, 0],
95
+ type='lower',
96
+ swap='right_knee'),
97
+ 13:
98
+ dict(
99
+ name='left_ankle',
100
+ id=13,
101
+ color=[0, 255, 0],
102
+ type='lower',
103
+ swap='right_ankle'),
104
+ 14:
105
+ dict(name='root', id=14, color=[51, 153, 255], type='lower', swap=''),
106
+ 15:
107
+ dict(name='spine', id=15, color=[51, 153, 255], type='upper', swap=''),
108
+ 16:
109
+ dict(name='head', id=16, color=[51, 153, 255], type='upper', swap='')
110
+ },
111
+ skeleton_info={
112
+ 0: dict(link=('neck', 'right_shoulder'), id=0, color=[255, 128, 0]),
113
+ 1: dict(
114
+ link=('right_shoulder', 'right_elbow'), id=1, color=[255, 128, 0]),
115
+ 2:
116
+ dict(link=('right_elbow', 'right_wrist'), id=2, color=[255, 128, 0]),
117
+ 3: dict(link=('neck', 'left_shoulder'), id=3, color=[0, 255, 0]),
118
+ 4: dict(link=('left_shoulder', 'left_elbow'), id=4, color=[0, 255, 0]),
119
+ 5: dict(link=('left_elbow', 'left_wrist'), id=5, color=[0, 255, 0]),
120
+ 6: dict(link=('root', 'right_hip'), id=6, color=[255, 128, 0]),
121
+ 7: dict(link=('right_hip', 'right_knee'), id=7, color=[255, 128, 0]),
122
+ 8: dict(link=('right_knee', 'right_ankle'), id=8, color=[255, 128, 0]),
123
+ 9: dict(link=('root', 'left_hip'), id=9, color=[0, 255, 0]),
124
+ 10: dict(link=('left_hip', 'left_knee'), id=10, color=[0, 255, 0]),
125
+ 11: dict(link=('left_knee', 'left_ankle'), id=11, color=[0, 255, 0]),
126
+ 12: dict(link=('head_top', 'head'), id=12, color=[51, 153, 255]),
127
+ 13: dict(link=('head', 'neck'), id=13, color=[51, 153, 255]),
128
+ 14: dict(link=('neck', 'spine'), id=14, color=[51, 153, 255]),
129
+ 15: dict(link=('spine', 'root'), id=15, color=[51, 153, 255])
130
+ },
131
+ joint_weights=[1.] * 17,
132
+ sigmas=[])
mmpose/configs/_base_/datasets/mpii.py ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='mpii',
3
+ paper_info=dict(
4
+ author='Mykhaylo Andriluka and Leonid Pishchulin and '
5
+ 'Peter Gehler and Schiele, Bernt',
6
+ title='2D Human Pose Estimation: New Benchmark and '
7
+ 'State of the Art Analysis',
8
+ container='IEEE Conference on Computer Vision and '
9
+ 'Pattern Recognition (CVPR)',
10
+ year='2014',
11
+ homepage='http://human-pose.mpi-inf.mpg.de/',
12
+ ),
13
+ keypoint_info={
14
+ 0:
15
+ dict(
16
+ name='right_ankle',
17
+ id=0,
18
+ color=[255, 128, 0],
19
+ type='lower',
20
+ swap='left_ankle'),
21
+ 1:
22
+ dict(
23
+ name='right_knee',
24
+ id=1,
25
+ color=[255, 128, 0],
26
+ type='lower',
27
+ swap='left_knee'),
28
+ 2:
29
+ dict(
30
+ name='right_hip',
31
+ id=2,
32
+ color=[255, 128, 0],
33
+ type='lower',
34
+ swap='left_hip'),
35
+ 3:
36
+ dict(
37
+ name='left_hip',
38
+ id=3,
39
+ color=[0, 255, 0],
40
+ type='lower',
41
+ swap='right_hip'),
42
+ 4:
43
+ dict(
44
+ name='left_knee',
45
+ id=4,
46
+ color=[0, 255, 0],
47
+ type='lower',
48
+ swap='right_knee'),
49
+ 5:
50
+ dict(
51
+ name='left_ankle',
52
+ id=5,
53
+ color=[0, 255, 0],
54
+ type='lower',
55
+ swap='right_ankle'),
56
+ 6:
57
+ dict(name='pelvis', id=6, color=[51, 153, 255], type='lower', swap=''),
58
+ 7:
59
+ dict(name='thorax', id=7, color=[51, 153, 255], type='upper', swap=''),
60
+ 8:
61
+ dict(
62
+ name='upper_neck',
63
+ id=8,
64
+ color=[51, 153, 255],
65
+ type='upper',
66
+ swap=''),
67
+ 9:
68
+ dict(
69
+ name='head_top', id=9, color=[51, 153, 255], type='upper',
70
+ swap=''),
71
+ 10:
72
+ dict(
73
+ name='right_wrist',
74
+ id=10,
75
+ color=[255, 128, 0],
76
+ type='upper',
77
+ swap='left_wrist'),
78
+ 11:
79
+ dict(
80
+ name='right_elbow',
81
+ id=11,
82
+ color=[255, 128, 0],
83
+ type='upper',
84
+ swap='left_elbow'),
85
+ 12:
86
+ dict(
87
+ name='right_shoulder',
88
+ id=12,
89
+ color=[255, 128, 0],
90
+ type='upper',
91
+ swap='left_shoulder'),
92
+ 13:
93
+ dict(
94
+ name='left_shoulder',
95
+ id=13,
96
+ color=[0, 255, 0],
97
+ type='upper',
98
+ swap='right_shoulder'),
99
+ 14:
100
+ dict(
101
+ name='left_elbow',
102
+ id=14,
103
+ color=[0, 255, 0],
104
+ type='upper',
105
+ swap='right_elbow'),
106
+ 15:
107
+ dict(
108
+ name='left_wrist',
109
+ id=15,
110
+ color=[0, 255, 0],
111
+ type='upper',
112
+ swap='right_wrist')
113
+ },
114
+ skeleton_info={
115
+ 0:
116
+ dict(link=('right_ankle', 'right_knee'), id=0, color=[255, 128, 0]),
117
+ 1:
118
+ dict(link=('right_knee', 'right_hip'), id=1, color=[255, 128, 0]),
119
+ 2:
120
+ dict(link=('right_hip', 'pelvis'), id=2, color=[255, 128, 0]),
121
+ 3:
122
+ dict(link=('pelvis', 'left_hip'), id=3, color=[0, 255, 0]),
123
+ 4:
124
+ dict(link=('left_hip', 'left_knee'), id=4, color=[0, 255, 0]),
125
+ 5:
126
+ dict(link=('left_knee', 'left_ankle'), id=5, color=[0, 255, 0]),
127
+ 6:
128
+ dict(link=('pelvis', 'thorax'), id=6, color=[51, 153, 255]),
129
+ 7:
130
+ dict(link=('thorax', 'upper_neck'), id=7, color=[51, 153, 255]),
131
+ 8:
132
+ dict(link=('upper_neck', 'head_top'), id=8, color=[51, 153, 255]),
133
+ 9:
134
+ dict(link=('upper_neck', 'right_shoulder'), id=9, color=[255, 128, 0]),
135
+ 10:
136
+ dict(
137
+ link=('right_shoulder', 'right_elbow'), id=10, color=[255, 128,
138
+ 0]),
139
+ 11:
140
+ dict(link=('right_elbow', 'right_wrist'), id=11, color=[255, 128, 0]),
141
+ 12:
142
+ dict(link=('upper_neck', 'left_shoulder'), id=12, color=[0, 255, 0]),
143
+ 13:
144
+ dict(link=('left_shoulder', 'left_elbow'), id=13, color=[0, 255, 0]),
145
+ 14:
146
+ dict(link=('left_elbow', 'left_wrist'), id=14, color=[0, 255, 0])
147
+ },
148
+ joint_weights=[
149
+ 1.5, 1.2, 1., 1., 1.2, 1.5, 1., 1., 1., 1., 1.5, 1.2, 1., 1., 1.2, 1.5
150
+ ],
151
+ # Adapted from COCO dataset.
152
+ sigmas=[
153
+ 0.089, 0.083, 0.107, 0.107, 0.083, 0.089, 0.026, 0.026, 0.026, 0.026,
154
+ 0.062, 0.072, 0.179, 0.179, 0.072, 0.062
155
+ ])
mmpose/configs/_base_/datasets/mpii_trb.py ADDED
@@ -0,0 +1,380 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='mpii_trb',
3
+ paper_info=dict(
4
+ author='Duan, Haodong and Lin, Kwan-Yee and Jin, Sheng and '
5
+ 'Liu, Wentao and Qian, Chen and Ouyang, Wanli',
6
+ title='TRB: A Novel Triplet Representation for '
7
+ 'Understanding 2D Human Body',
8
+ container='Proceedings of the IEEE International '
9
+ 'Conference on Computer Vision',
10
+ year='2019',
11
+ homepage='https://github.com/kennymckormick/'
12
+ 'Triplet-Representation-of-human-Body',
13
+ ),
14
+ keypoint_info={
15
+ 0:
16
+ dict(
17
+ name='left_shoulder',
18
+ id=0,
19
+ color=[0, 255, 0],
20
+ type='upper',
21
+ swap='right_shoulder'),
22
+ 1:
23
+ dict(
24
+ name='right_shoulder',
25
+ id=1,
26
+ color=[255, 128, 0],
27
+ type='upper',
28
+ swap='left_shoulder'),
29
+ 2:
30
+ dict(
31
+ name='left_elbow',
32
+ id=2,
33
+ color=[0, 255, 0],
34
+ type='upper',
35
+ swap='right_elbow'),
36
+ 3:
37
+ dict(
38
+ name='right_elbow',
39
+ id=3,
40
+ color=[255, 128, 0],
41
+ type='upper',
42
+ swap='left_elbow'),
43
+ 4:
44
+ dict(
45
+ name='left_wrist',
46
+ id=4,
47
+ color=[0, 255, 0],
48
+ type='upper',
49
+ swap='right_wrist'),
50
+ 5:
51
+ dict(
52
+ name='right_wrist',
53
+ id=5,
54
+ color=[255, 128, 0],
55
+ type='upper',
56
+ swap='left_wrist'),
57
+ 6:
58
+ dict(
59
+ name='left_hip',
60
+ id=6,
61
+ color=[0, 255, 0],
62
+ type='lower',
63
+ swap='right_hip'),
64
+ 7:
65
+ dict(
66
+ name='right_hip',
67
+ id=7,
68
+ color=[255, 128, 0],
69
+ type='lower',
70
+ swap='left_hip'),
71
+ 8:
72
+ dict(
73
+ name='left_knee',
74
+ id=8,
75
+ color=[0, 255, 0],
76
+ type='lower',
77
+ swap='right_knee'),
78
+ 9:
79
+ dict(
80
+ name='right_knee',
81
+ id=9,
82
+ color=[255, 128, 0],
83
+ type='lower',
84
+ swap='left_knee'),
85
+ 10:
86
+ dict(
87
+ name='left_ankle',
88
+ id=10,
89
+ color=[0, 255, 0],
90
+ type='lower',
91
+ swap='right_ankle'),
92
+ 11:
93
+ dict(
94
+ name='right_ankle',
95
+ id=11,
96
+ color=[255, 128, 0],
97
+ type='lower',
98
+ swap='left_ankle'),
99
+ 12:
100
+ dict(name='head', id=12, color=[51, 153, 255], type='upper', swap=''),
101
+ 13:
102
+ dict(name='neck', id=13, color=[51, 153, 255], type='upper', swap=''),
103
+ 14:
104
+ dict(
105
+ name='right_neck',
106
+ id=14,
107
+ color=[255, 255, 255],
108
+ type='upper',
109
+ swap='left_neck'),
110
+ 15:
111
+ dict(
112
+ name='left_neck',
113
+ id=15,
114
+ color=[255, 255, 255],
115
+ type='upper',
116
+ swap='right_neck'),
117
+ 16:
118
+ dict(
119
+ name='medial_right_shoulder',
120
+ id=16,
121
+ color=[255, 255, 255],
122
+ type='upper',
123
+ swap='medial_left_shoulder'),
124
+ 17:
125
+ dict(
126
+ name='lateral_right_shoulder',
127
+ id=17,
128
+ color=[255, 255, 255],
129
+ type='upper',
130
+ swap='lateral_left_shoulder'),
131
+ 18:
132
+ dict(
133
+ name='medial_right_bow',
134
+ id=18,
135
+ color=[255, 255, 255],
136
+ type='upper',
137
+ swap='medial_left_bow'),
138
+ 19:
139
+ dict(
140
+ name='lateral_right_bow',
141
+ id=19,
142
+ color=[255, 255, 255],
143
+ type='upper',
144
+ swap='lateral_left_bow'),
145
+ 20:
146
+ dict(
147
+ name='medial_right_wrist',
148
+ id=20,
149
+ color=[255, 255, 255],
150
+ type='upper',
151
+ swap='medial_left_wrist'),
152
+ 21:
153
+ dict(
154
+ name='lateral_right_wrist',
155
+ id=21,
156
+ color=[255, 255, 255],
157
+ type='upper',
158
+ swap='lateral_left_wrist'),
159
+ 22:
160
+ dict(
161
+ name='medial_left_shoulder',
162
+ id=22,
163
+ color=[255, 255, 255],
164
+ type='upper',
165
+ swap='medial_right_shoulder'),
166
+ 23:
167
+ dict(
168
+ name='lateral_left_shoulder',
169
+ id=23,
170
+ color=[255, 255, 255],
171
+ type='upper',
172
+ swap='lateral_right_shoulder'),
173
+ 24:
174
+ dict(
175
+ name='medial_left_bow',
176
+ id=24,
177
+ color=[255, 255, 255],
178
+ type='upper',
179
+ swap='medial_right_bow'),
180
+ 25:
181
+ dict(
182
+ name='lateral_left_bow',
183
+ id=25,
184
+ color=[255, 255, 255],
185
+ type='upper',
186
+ swap='lateral_right_bow'),
187
+ 26:
188
+ dict(
189
+ name='medial_left_wrist',
190
+ id=26,
191
+ color=[255, 255, 255],
192
+ type='upper',
193
+ swap='medial_right_wrist'),
194
+ 27:
195
+ dict(
196
+ name='lateral_left_wrist',
197
+ id=27,
198
+ color=[255, 255, 255],
199
+ type='upper',
200
+ swap='lateral_right_wrist'),
201
+ 28:
202
+ dict(
203
+ name='medial_right_hip',
204
+ id=28,
205
+ color=[255, 255, 255],
206
+ type='lower',
207
+ swap='medial_left_hip'),
208
+ 29:
209
+ dict(
210
+ name='lateral_right_hip',
211
+ id=29,
212
+ color=[255, 255, 255],
213
+ type='lower',
214
+ swap='lateral_left_hip'),
215
+ 30:
216
+ dict(
217
+ name='medial_right_knee',
218
+ id=30,
219
+ color=[255, 255, 255],
220
+ type='lower',
221
+ swap='medial_left_knee'),
222
+ 31:
223
+ dict(
224
+ name='lateral_right_knee',
225
+ id=31,
226
+ color=[255, 255, 255],
227
+ type='lower',
228
+ swap='lateral_left_knee'),
229
+ 32:
230
+ dict(
231
+ name='medial_right_ankle',
232
+ id=32,
233
+ color=[255, 255, 255],
234
+ type='lower',
235
+ swap='medial_left_ankle'),
236
+ 33:
237
+ dict(
238
+ name='lateral_right_ankle',
239
+ id=33,
240
+ color=[255, 255, 255],
241
+ type='lower',
242
+ swap='lateral_left_ankle'),
243
+ 34:
244
+ dict(
245
+ name='medial_left_hip',
246
+ id=34,
247
+ color=[255, 255, 255],
248
+ type='lower',
249
+ swap='medial_right_hip'),
250
+ 35:
251
+ dict(
252
+ name='lateral_left_hip',
253
+ id=35,
254
+ color=[255, 255, 255],
255
+ type='lower',
256
+ swap='lateral_right_hip'),
257
+ 36:
258
+ dict(
259
+ name='medial_left_knee',
260
+ id=36,
261
+ color=[255, 255, 255],
262
+ type='lower',
263
+ swap='medial_right_knee'),
264
+ 37:
265
+ dict(
266
+ name='lateral_left_knee',
267
+ id=37,
268
+ color=[255, 255, 255],
269
+ type='lower',
270
+ swap='lateral_right_knee'),
271
+ 38:
272
+ dict(
273
+ name='medial_left_ankle',
274
+ id=38,
275
+ color=[255, 255, 255],
276
+ type='lower',
277
+ swap='medial_right_ankle'),
278
+ 39:
279
+ dict(
280
+ name='lateral_left_ankle',
281
+ id=39,
282
+ color=[255, 255, 255],
283
+ type='lower',
284
+ swap='lateral_right_ankle'),
285
+ },
286
+ skeleton_info={
287
+ 0:
288
+ dict(link=('head', 'neck'), id=0, color=[51, 153, 255]),
289
+ 1:
290
+ dict(link=('neck', 'left_shoulder'), id=1, color=[51, 153, 255]),
291
+ 2:
292
+ dict(link=('neck', 'right_shoulder'), id=2, color=[51, 153, 255]),
293
+ 3:
294
+ dict(link=('left_shoulder', 'left_elbow'), id=3, color=[0, 255, 0]),
295
+ 4:
296
+ dict(
297
+ link=('right_shoulder', 'right_elbow'), id=4, color=[255, 128, 0]),
298
+ 5:
299
+ dict(link=('left_elbow', 'left_wrist'), id=5, color=[0, 255, 0]),
300
+ 6:
301
+ dict(link=('right_elbow', 'right_wrist'), id=6, color=[255, 128, 0]),
302
+ 7:
303
+ dict(link=('left_shoulder', 'left_hip'), id=7, color=[51, 153, 255]),
304
+ 8:
305
+ dict(link=('right_shoulder', 'right_hip'), id=8, color=[51, 153, 255]),
306
+ 9:
307
+ dict(link=('left_hip', 'right_hip'), id=9, color=[51, 153, 255]),
308
+ 10:
309
+ dict(link=('left_hip', 'left_knee'), id=10, color=[0, 255, 0]),
310
+ 11:
311
+ dict(link=('right_hip', 'right_knee'), id=11, color=[255, 128, 0]),
312
+ 12:
313
+ dict(link=('left_knee', 'left_ankle'), id=12, color=[0, 255, 0]),
314
+ 13:
315
+ dict(link=('right_knee', 'right_ankle'), id=13, color=[255, 128, 0]),
316
+ 14:
317
+ dict(link=('right_neck', 'left_neck'), id=14, color=[255, 255, 255]),
318
+ 15:
319
+ dict(
320
+ link=('medial_right_shoulder', 'lateral_right_shoulder'),
321
+ id=15,
322
+ color=[255, 255, 255]),
323
+ 16:
324
+ dict(
325
+ link=('medial_right_bow', 'lateral_right_bow'),
326
+ id=16,
327
+ color=[255, 255, 255]),
328
+ 17:
329
+ dict(
330
+ link=('medial_right_wrist', 'lateral_right_wrist'),
331
+ id=17,
332
+ color=[255, 255, 255]),
333
+ 18:
334
+ dict(
335
+ link=('medial_left_shoulder', 'lateral_left_shoulder'),
336
+ id=18,
337
+ color=[255, 255, 255]),
338
+ 19:
339
+ dict(
340
+ link=('medial_left_bow', 'lateral_left_bow'),
341
+ id=19,
342
+ color=[255, 255, 255]),
343
+ 20:
344
+ dict(
345
+ link=('medial_left_wrist', 'lateral_left_wrist'),
346
+ id=20,
347
+ color=[255, 255, 255]),
348
+ 21:
349
+ dict(
350
+ link=('medial_right_hip', 'lateral_right_hip'),
351
+ id=21,
352
+ color=[255, 255, 255]),
353
+ 22:
354
+ dict(
355
+ link=('medial_right_knee', 'lateral_right_knee'),
356
+ id=22,
357
+ color=[255, 255, 255]),
358
+ 23:
359
+ dict(
360
+ link=('medial_right_ankle', 'lateral_right_ankle'),
361
+ id=23,
362
+ color=[255, 255, 255]),
363
+ 24:
364
+ dict(
365
+ link=('medial_left_hip', 'lateral_left_hip'),
366
+ id=24,
367
+ color=[255, 255, 255]),
368
+ 25:
369
+ dict(
370
+ link=('medial_left_knee', 'lateral_left_knee'),
371
+ id=25,
372
+ color=[255, 255, 255]),
373
+ 26:
374
+ dict(
375
+ link=('medial_left_ankle', 'lateral_left_ankle'),
376
+ id=26,
377
+ color=[255, 255, 255])
378
+ },
379
+ joint_weights=[1.] * 40,
380
+ sigmas=[])
mmpose/configs/_base_/datasets/ochuman.py ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='ochuman',
3
+ paper_info=dict(
4
+ author='Zhang, Song-Hai and Li, Ruilong and Dong, Xin and '
5
+ 'Rosin, Paul and Cai, Zixi and Han, Xi and '
6
+ 'Yang, Dingcheng and Huang, Haozhi and Hu, Shi-Min',
7
+ title='Pose2seg: Detection free human instance segmentation',
8
+ container='Proceedings of the IEEE conference on computer '
9
+ 'vision and pattern recognition',
10
+ year='2019',
11
+ homepage='https://github.com/liruilong940607/OCHumanApi',
12
+ ),
13
+ keypoint_info={
14
+ 0:
15
+ dict(name='nose', id=0, color=[51, 153, 255], type='upper', swap=''),
16
+ 1:
17
+ dict(
18
+ name='left_eye',
19
+ id=1,
20
+ color=[51, 153, 255],
21
+ type='upper',
22
+ swap='right_eye'),
23
+ 2:
24
+ dict(
25
+ name='right_eye',
26
+ id=2,
27
+ color=[51, 153, 255],
28
+ type='upper',
29
+ swap='left_eye'),
30
+ 3:
31
+ dict(
32
+ name='left_ear',
33
+ id=3,
34
+ color=[51, 153, 255],
35
+ type='upper',
36
+ swap='right_ear'),
37
+ 4:
38
+ dict(
39
+ name='right_ear',
40
+ id=4,
41
+ color=[51, 153, 255],
42
+ type='upper',
43
+ swap='left_ear'),
44
+ 5:
45
+ dict(
46
+ name='left_shoulder',
47
+ id=5,
48
+ color=[0, 255, 0],
49
+ type='upper',
50
+ swap='right_shoulder'),
51
+ 6:
52
+ dict(
53
+ name='right_shoulder',
54
+ id=6,
55
+ color=[255, 128, 0],
56
+ type='upper',
57
+ swap='left_shoulder'),
58
+ 7:
59
+ dict(
60
+ name='left_elbow',
61
+ id=7,
62
+ color=[0, 255, 0],
63
+ type='upper',
64
+ swap='right_elbow'),
65
+ 8:
66
+ dict(
67
+ name='right_elbow',
68
+ id=8,
69
+ color=[255, 128, 0],
70
+ type='upper',
71
+ swap='left_elbow'),
72
+ 9:
73
+ dict(
74
+ name='left_wrist',
75
+ id=9,
76
+ color=[0, 255, 0],
77
+ type='upper',
78
+ swap='right_wrist'),
79
+ 10:
80
+ dict(
81
+ name='right_wrist',
82
+ id=10,
83
+ color=[255, 128, 0],
84
+ type='upper',
85
+ swap='left_wrist'),
86
+ 11:
87
+ dict(
88
+ name='left_hip',
89
+ id=11,
90
+ color=[0, 255, 0],
91
+ type='lower',
92
+ swap='right_hip'),
93
+ 12:
94
+ dict(
95
+ name='right_hip',
96
+ id=12,
97
+ color=[255, 128, 0],
98
+ type='lower',
99
+ swap='left_hip'),
100
+ 13:
101
+ dict(
102
+ name='left_knee',
103
+ id=13,
104
+ color=[0, 255, 0],
105
+ type='lower',
106
+ swap='right_knee'),
107
+ 14:
108
+ dict(
109
+ name='right_knee',
110
+ id=14,
111
+ color=[255, 128, 0],
112
+ type='lower',
113
+ swap='left_knee'),
114
+ 15:
115
+ dict(
116
+ name='left_ankle',
117
+ id=15,
118
+ color=[0, 255, 0],
119
+ type='lower',
120
+ swap='right_ankle'),
121
+ 16:
122
+ dict(
123
+ name='right_ankle',
124
+ id=16,
125
+ color=[255, 128, 0],
126
+ type='lower',
127
+ swap='left_ankle')
128
+ },
129
+ skeleton_info={
130
+ 0:
131
+ dict(link=('left_ankle', 'left_knee'), id=0, color=[0, 255, 0]),
132
+ 1:
133
+ dict(link=('left_knee', 'left_hip'), id=1, color=[0, 255, 0]),
134
+ 2:
135
+ dict(link=('right_ankle', 'right_knee'), id=2, color=[255, 128, 0]),
136
+ 3:
137
+ dict(link=('right_knee', 'right_hip'), id=3, color=[255, 128, 0]),
138
+ 4:
139
+ dict(link=('left_hip', 'right_hip'), id=4, color=[51, 153, 255]),
140
+ 5:
141
+ dict(link=('left_shoulder', 'left_hip'), id=5, color=[51, 153, 255]),
142
+ 6:
143
+ dict(link=('right_shoulder', 'right_hip'), id=6, color=[51, 153, 255]),
144
+ 7:
145
+ dict(
146
+ link=('left_shoulder', 'right_shoulder'),
147
+ id=7,
148
+ color=[51, 153, 255]),
149
+ 8:
150
+ dict(link=('left_shoulder', 'left_elbow'), id=8, color=[0, 255, 0]),
151
+ 9:
152
+ dict(
153
+ link=('right_shoulder', 'right_elbow'), id=9, color=[255, 128, 0]),
154
+ 10:
155
+ dict(link=('left_elbow', 'left_wrist'), id=10, color=[0, 255, 0]),
156
+ 11:
157
+ dict(link=('right_elbow', 'right_wrist'), id=11, color=[255, 128, 0]),
158
+ 12:
159
+ dict(link=('left_eye', 'right_eye'), id=12, color=[51, 153, 255]),
160
+ 13:
161
+ dict(link=('nose', 'left_eye'), id=13, color=[51, 153, 255]),
162
+ 14:
163
+ dict(link=('nose', 'right_eye'), id=14, color=[51, 153, 255]),
164
+ 15:
165
+ dict(link=('left_eye', 'left_ear'), id=15, color=[51, 153, 255]),
166
+ 16:
167
+ dict(link=('right_eye', 'right_ear'), id=16, color=[51, 153, 255]),
168
+ 17:
169
+ dict(link=('left_ear', 'left_shoulder'), id=17, color=[51, 153, 255]),
170
+ 18:
171
+ dict(
172
+ link=('right_ear', 'right_shoulder'), id=18, color=[51, 153, 255])
173
+ },
174
+ joint_weights=[
175
+ 1., 1., 1., 1., 1., 1., 1., 1.2, 1.2, 1.5, 1.5, 1., 1., 1.2, 1.2, 1.5,
176
+ 1.5
177
+ ],
178
+ sigmas=[
179
+ 0.026, 0.025, 0.025, 0.035, 0.035, 0.079, 0.079, 0.072, 0.072, 0.062,
180
+ 0.062, 0.107, 0.107, 0.087, 0.087, 0.089, 0.089
181
+ ])
mmpose/configs/_base_/datasets/onehand10k.py ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='onehand10k',
3
+ paper_info=dict(
4
+ author='Wang, Yangang and Peng, Cong and Liu, Yebin',
5
+ title='Mask-pose cascaded cnn for 2d hand pose estimation '
6
+ 'from single color image',
7
+ container='IEEE Transactions on Circuits and Systems '
8
+ 'for Video Technology',
9
+ year='2018',
10
+ homepage='https://www.yangangwang.com/papers/WANG-MCC-2018-10.html',
11
+ ),
12
+ keypoint_info={
13
+ 0:
14
+ dict(name='wrist', id=0, color=[255, 255, 255], type='', swap=''),
15
+ 1:
16
+ dict(name='thumb1', id=1, color=[255, 128, 0], type='', swap=''),
17
+ 2:
18
+ dict(name='thumb2', id=2, color=[255, 128, 0], type='', swap=''),
19
+ 3:
20
+ dict(name='thumb3', id=3, color=[255, 128, 0], type='', swap=''),
21
+ 4:
22
+ dict(name='thumb4', id=4, color=[255, 128, 0], type='', swap=''),
23
+ 5:
24
+ dict(
25
+ name='forefinger1', id=5, color=[255, 153, 255], type='', swap=''),
26
+ 6:
27
+ dict(
28
+ name='forefinger2', id=6, color=[255, 153, 255], type='', swap=''),
29
+ 7:
30
+ dict(
31
+ name='forefinger3', id=7, color=[255, 153, 255], type='', swap=''),
32
+ 8:
33
+ dict(
34
+ name='forefinger4', id=8, color=[255, 153, 255], type='', swap=''),
35
+ 9:
36
+ dict(
37
+ name='middle_finger1',
38
+ id=9,
39
+ color=[102, 178, 255],
40
+ type='',
41
+ swap=''),
42
+ 10:
43
+ dict(
44
+ name='middle_finger2',
45
+ id=10,
46
+ color=[102, 178, 255],
47
+ type='',
48
+ swap=''),
49
+ 11:
50
+ dict(
51
+ name='middle_finger3',
52
+ id=11,
53
+ color=[102, 178, 255],
54
+ type='',
55
+ swap=''),
56
+ 12:
57
+ dict(
58
+ name='middle_finger4',
59
+ id=12,
60
+ color=[102, 178, 255],
61
+ type='',
62
+ swap=''),
63
+ 13:
64
+ dict(
65
+ name='ring_finger1', id=13, color=[255, 51, 51], type='', swap=''),
66
+ 14:
67
+ dict(
68
+ name='ring_finger2', id=14, color=[255, 51, 51], type='', swap=''),
69
+ 15:
70
+ dict(
71
+ name='ring_finger3', id=15, color=[255, 51, 51], type='', swap=''),
72
+ 16:
73
+ dict(
74
+ name='ring_finger4', id=16, color=[255, 51, 51], type='', swap=''),
75
+ 17:
76
+ dict(name='pinky_finger1', id=17, color=[0, 255, 0], type='', swap=''),
77
+ 18:
78
+ dict(name='pinky_finger2', id=18, color=[0, 255, 0], type='', swap=''),
79
+ 19:
80
+ dict(name='pinky_finger3', id=19, color=[0, 255, 0], type='', swap=''),
81
+ 20:
82
+ dict(name='pinky_finger4', id=20, color=[0, 255, 0], type='', swap='')
83
+ },
84
+ skeleton_info={
85
+ 0:
86
+ dict(link=('wrist', 'thumb1'), id=0, color=[255, 128, 0]),
87
+ 1:
88
+ dict(link=('thumb1', 'thumb2'), id=1, color=[255, 128, 0]),
89
+ 2:
90
+ dict(link=('thumb2', 'thumb3'), id=2, color=[255, 128, 0]),
91
+ 3:
92
+ dict(link=('thumb3', 'thumb4'), id=3, color=[255, 128, 0]),
93
+ 4:
94
+ dict(link=('wrist', 'forefinger1'), id=4, color=[255, 153, 255]),
95
+ 5:
96
+ dict(link=('forefinger1', 'forefinger2'), id=5, color=[255, 153, 255]),
97
+ 6:
98
+ dict(link=('forefinger2', 'forefinger3'), id=6, color=[255, 153, 255]),
99
+ 7:
100
+ dict(link=('forefinger3', 'forefinger4'), id=7, color=[255, 153, 255]),
101
+ 8:
102
+ dict(link=('wrist', 'middle_finger1'), id=8, color=[102, 178, 255]),
103
+ 9:
104
+ dict(
105
+ link=('middle_finger1', 'middle_finger2'),
106
+ id=9,
107
+ color=[102, 178, 255]),
108
+ 10:
109
+ dict(
110
+ link=('middle_finger2', 'middle_finger3'),
111
+ id=10,
112
+ color=[102, 178, 255]),
113
+ 11:
114
+ dict(
115
+ link=('middle_finger3', 'middle_finger4'),
116
+ id=11,
117
+ color=[102, 178, 255]),
118
+ 12:
119
+ dict(link=('wrist', 'ring_finger1'), id=12, color=[255, 51, 51]),
120
+ 13:
121
+ dict(
122
+ link=('ring_finger1', 'ring_finger2'), id=13, color=[255, 51, 51]),
123
+ 14:
124
+ dict(
125
+ link=('ring_finger2', 'ring_finger3'), id=14, color=[255, 51, 51]),
126
+ 15:
127
+ dict(
128
+ link=('ring_finger3', 'ring_finger4'), id=15, color=[255, 51, 51]),
129
+ 16:
130
+ dict(link=('wrist', 'pinky_finger1'), id=16, color=[0, 255, 0]),
131
+ 17:
132
+ dict(
133
+ link=('pinky_finger1', 'pinky_finger2'), id=17, color=[0, 255, 0]),
134
+ 18:
135
+ dict(
136
+ link=('pinky_finger2', 'pinky_finger3'), id=18, color=[0, 255, 0]),
137
+ 19:
138
+ dict(
139
+ link=('pinky_finger3', 'pinky_finger4'), id=19, color=[0, 255, 0])
140
+ },
141
+ joint_weights=[1.] * 21,
142
+ sigmas=[])
mmpose/configs/_base_/datasets/panoptic_body3d.py ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info = dict(
2
+ dataset_name='panoptic_pose_3d',
3
+ paper_info=dict(
4
+ author='Joo, Hanbyul and Simon, Tomas and Li, Xulong'
5
+ 'and Liu, Hao and Tan, Lei and Gui, Lin and Banerjee, Sean'
6
+ 'and Godisart, Timothy and Nabbe, Bart and Matthews, Iain'
7
+ 'and Kanade, Takeo and Nobuhara, Shohei and Sheikh, Yaser',
8
+ title='Panoptic Studio: A Massively Multiview System '
9
+ 'for Interaction Motion Capture',
10
+ container='IEEE Transactions on Pattern Analysis'
11
+ ' and Machine Intelligence',
12
+ year='2017',
13
+ homepage='http://domedb.perception.cs.cmu.edu',
14
+ ),
15
+ keypoint_info={
16
+ 0:
17
+ dict(name='neck', id=0, color=[51, 153, 255], type='upper', swap=''),
18
+ 1:
19
+ dict(name='nose', id=1, color=[51, 153, 255], type='upper', swap=''),
20
+ 2:
21
+ dict(name='mid_hip', id=2, color=[0, 255, 0], type='lower', swap=''),
22
+ 3:
23
+ dict(
24
+ name='left_shoulder',
25
+ id=3,
26
+ color=[0, 255, 0],
27
+ type='upper',
28
+ swap='right_shoulder'),
29
+ 4:
30
+ dict(
31
+ name='left_elbow',
32
+ id=4,
33
+ color=[0, 255, 0],
34
+ type='upper',
35
+ swap='right_elbow'),
36
+ 5:
37
+ dict(
38
+ name='left_wrist',
39
+ id=5,
40
+ color=[0, 255, 0],
41
+ type='upper',
42
+ swap='right_wrist'),
43
+ 6:
44
+ dict(
45
+ name='left_hip',
46
+ id=6,
47
+ color=[0, 255, 0],
48
+ type='lower',
49
+ swap='right_hip'),
50
+ 7:
51
+ dict(
52
+ name='left_knee',
53
+ id=7,
54
+ color=[0, 255, 0],
55
+ type='lower',
56
+ swap='right_knee'),
57
+ 8:
58
+ dict(
59
+ name='left_ankle',
60
+ id=8,
61
+ color=[0, 255, 0],
62
+ type='lower',
63
+ swap='right_ankle'),
64
+ 9:
65
+ dict(
66
+ name='right_shoulder',
67
+ id=9,
68
+ color=[255, 128, 0],
69
+ type='upper',
70
+ swap='left_shoulder'),
71
+ 10:
72
+ dict(
73
+ name='right_elbow',
74
+ id=10,
75
+ color=[255, 128, 0],
76
+ type='upper',
77
+ swap='left_elbow'),
78
+ 11:
79
+ dict(
80
+ name='right_wrist',
81
+ id=11,
82
+ color=[255, 128, 0],
83
+ type='upper',
84
+ swap='left_wrist'),
85
+ 12:
86
+ dict(
87
+ name='right_hip',
88
+ id=12,
89
+ color=[255, 128, 0],
90
+ type='lower',
91
+ swap='left_hip'),
92
+ 13:
93
+ dict(
94
+ name='right_knee',
95
+ id=13,
96
+ color=[255, 128, 0],
97
+ type='lower',
98
+ swap='left_knee'),
99
+ 14:
100
+ dict(
101
+ name='right_ankle',
102
+ id=14,
103
+ color=[255, 128, 0],
104
+ type='lower',
105
+ swap='left_ankle'),
106
+ 15:
107
+ dict(
108
+ name='left_eye',
109
+ id=15,
110
+ color=[51, 153, 255],
111
+ type='upper',
112
+ swap='right_eye'),
113
+ 16:
114
+ dict(
115
+ name='left_ear',
116
+ id=16,
117
+ color=[51, 153, 255],
118
+ type='upper',
119
+ swap='right_ear'),
120
+ 17:
121
+ dict(
122
+ name='right_eye',
123
+ id=17,
124
+ color=[51, 153, 255],
125
+ type='upper',
126
+ swap='left_eye'),
127
+ 18:
128
+ dict(
129
+ name='right_ear',
130
+ id=18,
131
+ color=[51, 153, 255],
132
+ type='upper',
133
+ swap='left_ear')
134
+ },
135
+ skeleton_info={
136
+ 0: dict(link=('nose', 'neck'), id=0, color=[51, 153, 255]),
137
+ 1: dict(link=('neck', 'left_shoulder'), id=1, color=[0, 255, 0]),
138
+ 2: dict(link=('neck', 'right_shoulder'), id=2, color=[255, 128, 0]),
139
+ 3: dict(link=('left_shoulder', 'left_elbow'), id=3, color=[0, 255, 0]),
140
+ 4: dict(
141
+ link=('right_shoulder', 'right_elbow'), id=4, color=[255, 128, 0]),
142
+ 5: dict(link=('left_elbow', 'left_wrist'), id=5, color=[0, 255, 0]),
143
+ 6:
144
+ dict(link=('right_elbow', 'right_wrist'), id=6, color=[255, 128, 0]),
145
+ 7: dict(link=('left_ankle', 'left_knee'), id=7, color=[0, 255, 0]),
146
+ 8: dict(link=('left_knee', 'left_hip'), id=8, color=[0, 255, 0]),
147
+ 9: dict(link=('right_ankle', 'right_knee'), id=9, color=[255, 128, 0]),
148
+ 10: dict(link=('right_knee', 'right_hip'), id=10, color=[255, 128, 0]),
149
+ 11: dict(link=('mid_hip', 'left_hip'), id=11, color=[0, 255, 0]),
150
+ 12: dict(link=('mid_hip', 'right_hip'), id=12, color=[255, 128, 0]),
151
+ 13: dict(link=('mid_hip', 'neck'), id=13, color=[51, 153, 255]),
152
+ },
153
+ joint_weights=[
154
+ 1.0, 1.0, 1.0, 1.0, 1.2, 1.5, 1.0, 1.2, 1.5, 1.0, 1.2, 1.5, 1.0, 1.2,
155
+ 1.5, 1.0, 1.0, 1.0, 1.0
156
+ ],
157
+ sigmas=[
158
+ 0.026, 0.026, 0.107, 0.079, 0.072, 0.062, 0.107, 0.087, 0.089, 0.079,
159
+ 0.072, 0.062, 0.107, 0.087, 0.089, 0.025, 0.035, 0.025, 0.035
160
+ ])