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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
auto_scale_lr = dict(base_batch_size=256)
|
| 2 |
+
backend_args = dict(backend='local')
|
| 3 |
+
codec = dict(
|
| 4 |
+
heatmap_size=(
|
| 5 |
+
64,
|
| 6 |
+
64,
|
| 7 |
+
),
|
| 8 |
+
input_size=(
|
| 9 |
+
256,
|
| 10 |
+
256,
|
| 11 |
+
),
|
| 12 |
+
sigma=2,
|
| 13 |
+
type='MSRAHeatmap',
|
| 14 |
+
unbiased=True)
|
| 15 |
+
custom_hooks = [
|
| 16 |
+
dict(type='SyncBuffersHook'),
|
| 17 |
+
]
|
| 18 |
+
data_mode = 'topdown'
|
| 19 |
+
data_root = 'A:\\NonEnclosureProjects\\inprep\\PrimateFace\\data\\annos_from_rex'
|
| 20 |
+
dataset_info = dict(
|
| 21 |
+
dataset_name='coco_wholebody_face',
|
| 22 |
+
joint_weights=[
|
| 23 |
+
1.0,
|
| 24 |
+
1.0,
|
| 25 |
+
1.0,
|
| 26 |
+
1.0,
|
| 27 |
+
1.0,
|
| 28 |
+
1.0,
|
| 29 |
+
1.0,
|
| 30 |
+
1.0,
|
| 31 |
+
1.0,
|
| 32 |
+
1.0,
|
| 33 |
+
1.0,
|
| 34 |
+
1.0,
|
| 35 |
+
1.0,
|
| 36 |
+
1.0,
|
| 37 |
+
1.0,
|
| 38 |
+
1.0,
|
| 39 |
+
1.0,
|
| 40 |
+
1.0,
|
| 41 |
+
1.0,
|
| 42 |
+
1.0,
|
| 43 |
+
1.0,
|
| 44 |
+
1.0,
|
| 45 |
+
1.0,
|
| 46 |
+
1.0,
|
| 47 |
+
1.0,
|
| 48 |
+
1.0,
|
| 49 |
+
1.0,
|
| 50 |
+
1.0,
|
| 51 |
+
1.0,
|
| 52 |
+
1.0,
|
| 53 |
+
1.0,
|
| 54 |
+
1.0,
|
| 55 |
+
1.0,
|
| 56 |
+
1.0,
|
| 57 |
+
1.0,
|
| 58 |
+
1.0,
|
| 59 |
+
1.0,
|
| 60 |
+
1.0,
|
| 61 |
+
1.0,
|
| 62 |
+
1.0,
|
| 63 |
+
1.0,
|
| 64 |
+
1.0,
|
| 65 |
+
1.0,
|
| 66 |
+
1.0,
|
| 67 |
+
1.0,
|
| 68 |
+
1.0,
|
| 69 |
+
1.0,
|
| 70 |
+
1.0,
|
| 71 |
+
1.0,
|
| 72 |
+
1.0,
|
| 73 |
+
1.0,
|
| 74 |
+
1.0,
|
| 75 |
+
1.0,
|
| 76 |
+
1.0,
|
| 77 |
+
1.0,
|
| 78 |
+
1.0,
|
| 79 |
+
1.0,
|
| 80 |
+
1.0,
|
| 81 |
+
1.0,
|
| 82 |
+
1.0,
|
| 83 |
+
1.0,
|
| 84 |
+
1.0,
|
| 85 |
+
1.0,
|
| 86 |
+
1.0,
|
| 87 |
+
1.0,
|
| 88 |
+
1.0,
|
| 89 |
+
1.0,
|
| 90 |
+
1.0,
|
| 91 |
+
],
|
| 92 |
+
keypoint_info=dict({
|
| 93 |
+
0:
|
| 94 |
+
dict(
|
| 95 |
+
color=[
|
| 96 |
+
255,
|
| 97 |
+
0,
|
| 98 |
+
0,
|
| 99 |
+
], id=0, name='face-0', swap='face-16', type=''),
|
| 100 |
+
1:
|
| 101 |
+
dict(
|
| 102 |
+
color=[
|
| 103 |
+
255,
|
| 104 |
+
0,
|
| 105 |
+
0,
|
| 106 |
+
], id=1, name='face-1', swap='face-15', type=''),
|
| 107 |
+
10:
|
| 108 |
+
dict(
|
| 109 |
+
color=[
|
| 110 |
+
255,
|
| 111 |
+
0,
|
| 112 |
+
0,
|
| 113 |
+
], id=10, name='face-10', swap='face-6', type=''),
|
| 114 |
+
11:
|
| 115 |
+
dict(
|
| 116 |
+
color=[
|
| 117 |
+
255,
|
| 118 |
+
0,
|
| 119 |
+
0,
|
| 120 |
+
], id=11, name='face-11', swap='face-5', type=''),
|
| 121 |
+
12:
|
| 122 |
+
dict(
|
| 123 |
+
color=[
|
| 124 |
+
255,
|
| 125 |
+
0,
|
| 126 |
+
0,
|
| 127 |
+
], id=12, name='face-12', swap='face-4', type=''),
|
| 128 |
+
13:
|
| 129 |
+
dict(
|
| 130 |
+
color=[
|
| 131 |
+
255,
|
| 132 |
+
0,
|
| 133 |
+
0,
|
| 134 |
+
], id=13, name='face-13', swap='face-3', type=''),
|
| 135 |
+
14:
|
| 136 |
+
dict(
|
| 137 |
+
color=[
|
| 138 |
+
255,
|
| 139 |
+
0,
|
| 140 |
+
0,
|
| 141 |
+
], id=14, name='face-14', swap='face-2', type=''),
|
| 142 |
+
15:
|
| 143 |
+
dict(
|
| 144 |
+
color=[
|
| 145 |
+
255,
|
| 146 |
+
0,
|
| 147 |
+
0,
|
| 148 |
+
], id=15, name='face-15', swap='face-1', type=''),
|
| 149 |
+
16:
|
| 150 |
+
dict(
|
| 151 |
+
color=[
|
| 152 |
+
255,
|
| 153 |
+
0,
|
| 154 |
+
0,
|
| 155 |
+
], id=16, name='face-16', swap='face-0', type=''),
|
| 156 |
+
17:
|
| 157 |
+
dict(
|
| 158 |
+
color=[
|
| 159 |
+
255,
|
| 160 |
+
0,
|
| 161 |
+
0,
|
| 162 |
+
],
|
| 163 |
+
id=17,
|
| 164 |
+
name='face-17',
|
| 165 |
+
swap='face-26',
|
| 166 |
+
type=''),
|
| 167 |
+
18:
|
| 168 |
+
dict(
|
| 169 |
+
color=[
|
| 170 |
+
255,
|
| 171 |
+
0,
|
| 172 |
+
0,
|
| 173 |
+
],
|
| 174 |
+
id=18,
|
| 175 |
+
name='face-18',
|
| 176 |
+
swap='face-25',
|
| 177 |
+
type=''),
|
| 178 |
+
19:
|
| 179 |
+
dict(
|
| 180 |
+
color=[
|
| 181 |
+
255,
|
| 182 |
+
0,
|
| 183 |
+
0,
|
| 184 |
+
],
|
| 185 |
+
id=19,
|
| 186 |
+
name='face-19',
|
| 187 |
+
swap='face-24',
|
| 188 |
+
type=''),
|
| 189 |
+
2:
|
| 190 |
+
dict(
|
| 191 |
+
color=[
|
| 192 |
+
255,
|
| 193 |
+
0,
|
| 194 |
+
0,
|
| 195 |
+
], id=2, name='face-2', swap='face-14', type=''),
|
| 196 |
+
20:
|
| 197 |
+
dict(
|
| 198 |
+
color=[
|
| 199 |
+
255,
|
| 200 |
+
0,
|
| 201 |
+
0,
|
| 202 |
+
],
|
| 203 |
+
id=20,
|
| 204 |
+
name='face-20',
|
| 205 |
+
swap='face-23',
|
| 206 |
+
type=''),
|
| 207 |
+
21:
|
| 208 |
+
dict(
|
| 209 |
+
color=[
|
| 210 |
+
255,
|
| 211 |
+
0,
|
| 212 |
+
0,
|
| 213 |
+
],
|
| 214 |
+
id=21,
|
| 215 |
+
name='face-21',
|
| 216 |
+
swap='face-22',
|
| 217 |
+
type=''),
|
| 218 |
+
22:
|
| 219 |
+
dict(
|
| 220 |
+
color=[
|
| 221 |
+
255,
|
| 222 |
+
0,
|
| 223 |
+
0,
|
| 224 |
+
],
|
| 225 |
+
id=22,
|
| 226 |
+
name='face-22',
|
| 227 |
+
swap='face-21',
|
| 228 |
+
type=''),
|
| 229 |
+
23:
|
| 230 |
+
dict(
|
| 231 |
+
color=[
|
| 232 |
+
255,
|
| 233 |
+
0,
|
| 234 |
+
0,
|
| 235 |
+
],
|
| 236 |
+
id=23,
|
| 237 |
+
name='face-23',
|
| 238 |
+
swap='face-20',
|
| 239 |
+
type=''),
|
| 240 |
+
24:
|
| 241 |
+
dict(
|
| 242 |
+
color=[
|
| 243 |
+
255,
|
| 244 |
+
0,
|
| 245 |
+
0,
|
| 246 |
+
],
|
| 247 |
+
id=24,
|
| 248 |
+
name='face-24',
|
| 249 |
+
swap='face-19',
|
| 250 |
+
type=''),
|
| 251 |
+
25:
|
| 252 |
+
dict(
|
| 253 |
+
color=[
|
| 254 |
+
255,
|
| 255 |
+
0,
|
| 256 |
+
0,
|
| 257 |
+
],
|
| 258 |
+
id=25,
|
| 259 |
+
name='face-25',
|
| 260 |
+
swap='face-18',
|
| 261 |
+
type=''),
|
| 262 |
+
26:
|
| 263 |
+
dict(
|
| 264 |
+
color=[
|
| 265 |
+
255,
|
| 266 |
+
0,
|
| 267 |
+
0,
|
| 268 |
+
],
|
| 269 |
+
id=26,
|
| 270 |
+
name='face-26',
|
| 271 |
+
swap='face-17',
|
| 272 |
+
type=''),
|
| 273 |
+
27:
|
| 274 |
+
dict(color=[
|
| 275 |
+
255,
|
| 276 |
+
0,
|
| 277 |
+
0,
|
| 278 |
+
], id=27, name='face-27', swap='', type=''),
|
| 279 |
+
28:
|
| 280 |
+
dict(color=[
|
| 281 |
+
255,
|
| 282 |
+
0,
|
| 283 |
+
0,
|
| 284 |
+
], id=28, name='face-28', swap='', type=''),
|
| 285 |
+
29:
|
| 286 |
+
dict(color=[
|
| 287 |
+
255,
|
| 288 |
+
0,
|
| 289 |
+
0,
|
| 290 |
+
], id=29, name='face-29', swap='', type=''),
|
| 291 |
+
3:
|
| 292 |
+
dict(
|
| 293 |
+
color=[
|
| 294 |
+
255,
|
| 295 |
+
0,
|
| 296 |
+
0,
|
| 297 |
+
], id=3, name='face-3', swap='face-13', type=''),
|
| 298 |
+
30:
|
| 299 |
+
dict(color=[
|
| 300 |
+
255,
|
| 301 |
+
0,
|
| 302 |
+
0,
|
| 303 |
+
], id=30, name='face-30', swap='', type=''),
|
| 304 |
+
31:
|
| 305 |
+
dict(
|
| 306 |
+
color=[
|
| 307 |
+
255,
|
| 308 |
+
0,
|
| 309 |
+
0,
|
| 310 |
+
],
|
| 311 |
+
id=31,
|
| 312 |
+
name='face-31',
|
| 313 |
+
swap='face-35',
|
| 314 |
+
type=''),
|
| 315 |
+
32:
|
| 316 |
+
dict(
|
| 317 |
+
color=[
|
| 318 |
+
255,
|
| 319 |
+
0,
|
| 320 |
+
0,
|
| 321 |
+
],
|
| 322 |
+
id=32,
|
| 323 |
+
name='face-32',
|
| 324 |
+
swap='face-34',
|
| 325 |
+
type=''),
|
| 326 |
+
33:
|
| 327 |
+
dict(color=[
|
| 328 |
+
255,
|
| 329 |
+
0,
|
| 330 |
+
0,
|
| 331 |
+
], id=33, name='face-33', swap='', type=''),
|
| 332 |
+
34:
|
| 333 |
+
dict(
|
| 334 |
+
color=[
|
| 335 |
+
255,
|
| 336 |
+
0,
|
| 337 |
+
0,
|
| 338 |
+
],
|
| 339 |
+
id=34,
|
| 340 |
+
name='face-34',
|
| 341 |
+
swap='face-32',
|
| 342 |
+
type=''),
|
| 343 |
+
35:
|
| 344 |
+
dict(
|
| 345 |
+
color=[
|
| 346 |
+
255,
|
| 347 |
+
0,
|
| 348 |
+
0,
|
| 349 |
+
],
|
| 350 |
+
id=35,
|
| 351 |
+
name='face-35',
|
| 352 |
+
swap='face-31',
|
| 353 |
+
type=''),
|
| 354 |
+
36:
|
| 355 |
+
dict(
|
| 356 |
+
color=[
|
| 357 |
+
255,
|
| 358 |
+
0,
|
| 359 |
+
0,
|
| 360 |
+
],
|
| 361 |
+
id=36,
|
| 362 |
+
name='face-36',
|
| 363 |
+
swap='face-45',
|
| 364 |
+
type=''),
|
| 365 |
+
37:
|
| 366 |
+
dict(
|
| 367 |
+
color=[
|
| 368 |
+
255,
|
| 369 |
+
0,
|
| 370 |
+
0,
|
| 371 |
+
],
|
| 372 |
+
id=37,
|
| 373 |
+
name='face-37',
|
| 374 |
+
swap='face-44',
|
| 375 |
+
type=''),
|
| 376 |
+
38:
|
| 377 |
+
dict(
|
| 378 |
+
color=[
|
| 379 |
+
255,
|
| 380 |
+
0,
|
| 381 |
+
0,
|
| 382 |
+
],
|
| 383 |
+
id=38,
|
| 384 |
+
name='face-38',
|
| 385 |
+
swap='face-43',
|
| 386 |
+
type=''),
|
| 387 |
+
39:
|
| 388 |
+
dict(
|
| 389 |
+
color=[
|
| 390 |
+
255,
|
| 391 |
+
0,
|
| 392 |
+
0,
|
| 393 |
+
],
|
| 394 |
+
id=39,
|
| 395 |
+
name='face-39',
|
| 396 |
+
swap='face-42',
|
| 397 |
+
type=''),
|
| 398 |
+
4:
|
| 399 |
+
dict(
|
| 400 |
+
color=[
|
| 401 |
+
255,
|
| 402 |
+
0,
|
| 403 |
+
0,
|
| 404 |
+
], id=4, name='face-4', swap='face-12', type=''),
|
| 405 |
+
40:
|
| 406 |
+
dict(
|
| 407 |
+
color=[
|
| 408 |
+
255,
|
| 409 |
+
0,
|
| 410 |
+
0,
|
| 411 |
+
],
|
| 412 |
+
id=40,
|
| 413 |
+
name='face-40',
|
| 414 |
+
swap='face-47',
|
| 415 |
+
type=''),
|
| 416 |
+
41:
|
| 417 |
+
dict(
|
| 418 |
+
color=[
|
| 419 |
+
255,
|
| 420 |
+
0,
|
| 421 |
+
0,
|
| 422 |
+
],
|
| 423 |
+
id=41,
|
| 424 |
+
name='face-41',
|
| 425 |
+
swap='face-46',
|
| 426 |
+
type=''),
|
| 427 |
+
42:
|
| 428 |
+
dict(
|
| 429 |
+
color=[
|
| 430 |
+
255,
|
| 431 |
+
0,
|
| 432 |
+
0,
|
| 433 |
+
],
|
| 434 |
+
id=42,
|
| 435 |
+
name='face-42',
|
| 436 |
+
swap='face-39',
|
| 437 |
+
type=''),
|
| 438 |
+
43:
|
| 439 |
+
dict(
|
| 440 |
+
color=[
|
| 441 |
+
255,
|
| 442 |
+
0,
|
| 443 |
+
0,
|
| 444 |
+
],
|
| 445 |
+
id=43,
|
| 446 |
+
name='face-43',
|
| 447 |
+
swap='face-38',
|
| 448 |
+
type=''),
|
| 449 |
+
44:
|
| 450 |
+
dict(
|
| 451 |
+
color=[
|
| 452 |
+
255,
|
| 453 |
+
0,
|
| 454 |
+
0,
|
| 455 |
+
],
|
| 456 |
+
id=44,
|
| 457 |
+
name='face-44',
|
| 458 |
+
swap='face-37',
|
| 459 |
+
type=''),
|
| 460 |
+
45:
|
| 461 |
+
dict(
|
| 462 |
+
color=[
|
| 463 |
+
255,
|
| 464 |
+
0,
|
| 465 |
+
0,
|
| 466 |
+
],
|
| 467 |
+
id=45,
|
| 468 |
+
name='face-45',
|
| 469 |
+
swap='face-36',
|
| 470 |
+
type=''),
|
| 471 |
+
46:
|
| 472 |
+
dict(
|
| 473 |
+
color=[
|
| 474 |
+
255,
|
| 475 |
+
0,
|
| 476 |
+
0,
|
| 477 |
+
],
|
| 478 |
+
id=46,
|
| 479 |
+
name='face-46',
|
| 480 |
+
swap='face-41',
|
| 481 |
+
type=''),
|
| 482 |
+
47:
|
| 483 |
+
dict(
|
| 484 |
+
color=[
|
| 485 |
+
255,
|
| 486 |
+
0,
|
| 487 |
+
0,
|
| 488 |
+
],
|
| 489 |
+
id=47,
|
| 490 |
+
name='face-47',
|
| 491 |
+
swap='face-40',
|
| 492 |
+
type=''),
|
| 493 |
+
48:
|
| 494 |
+
dict(
|
| 495 |
+
color=[
|
| 496 |
+
255,
|
| 497 |
+
0,
|
| 498 |
+
0,
|
| 499 |
+
],
|
| 500 |
+
id=48,
|
| 501 |
+
name='face-48',
|
| 502 |
+
swap='face-54',
|
| 503 |
+
type=''),
|
| 504 |
+
49:
|
| 505 |
+
dict(
|
| 506 |
+
color=[
|
| 507 |
+
255,
|
| 508 |
+
0,
|
| 509 |
+
0,
|
| 510 |
+
],
|
| 511 |
+
id=49,
|
| 512 |
+
name='face-49',
|
| 513 |
+
swap='face-53',
|
| 514 |
+
type=''),
|
| 515 |
+
5:
|
| 516 |
+
dict(
|
| 517 |
+
color=[
|
| 518 |
+
255,
|
| 519 |
+
0,
|
| 520 |
+
0,
|
| 521 |
+
], id=5, name='face-5', swap='face-11', type=''),
|
| 522 |
+
50:
|
| 523 |
+
dict(
|
| 524 |
+
color=[
|
| 525 |
+
255,
|
| 526 |
+
0,
|
| 527 |
+
0,
|
| 528 |
+
],
|
| 529 |
+
id=50,
|
| 530 |
+
name='face-50',
|
| 531 |
+
swap='face-52',
|
| 532 |
+
type=''),
|
| 533 |
+
51:
|
| 534 |
+
dict(color=[
|
| 535 |
+
255,
|
| 536 |
+
0,
|
| 537 |
+
0,
|
| 538 |
+
], id=52, name='face-51', swap='', type=''),
|
| 539 |
+
52:
|
| 540 |
+
dict(
|
| 541 |
+
color=[
|
| 542 |
+
255,
|
| 543 |
+
0,
|
| 544 |
+
0,
|
| 545 |
+
],
|
| 546 |
+
id=52,
|
| 547 |
+
name='face-52',
|
| 548 |
+
swap='face-50',
|
| 549 |
+
type=''),
|
| 550 |
+
53:
|
| 551 |
+
dict(
|
| 552 |
+
color=[
|
| 553 |
+
255,
|
| 554 |
+
0,
|
| 555 |
+
0,
|
| 556 |
+
],
|
| 557 |
+
id=53,
|
| 558 |
+
name='face-53',
|
| 559 |
+
swap='face-49',
|
| 560 |
+
type=''),
|
| 561 |
+
54:
|
| 562 |
+
dict(
|
| 563 |
+
color=[
|
| 564 |
+
255,
|
| 565 |
+
0,
|
| 566 |
+
0,
|
| 567 |
+
],
|
| 568 |
+
id=54,
|
| 569 |
+
name='face-54',
|
| 570 |
+
swap='face-48',
|
| 571 |
+
type=''),
|
| 572 |
+
55:
|
| 573 |
+
dict(
|
| 574 |
+
color=[
|
| 575 |
+
255,
|
| 576 |
+
0,
|
| 577 |
+
0,
|
| 578 |
+
],
|
| 579 |
+
id=55,
|
| 580 |
+
name='face-55',
|
| 581 |
+
swap='face-59',
|
| 582 |
+
type=''),
|
| 583 |
+
56:
|
| 584 |
+
dict(
|
| 585 |
+
color=[
|
| 586 |
+
255,
|
| 587 |
+
0,
|
| 588 |
+
0,
|
| 589 |
+
],
|
| 590 |
+
id=56,
|
| 591 |
+
name='face-56',
|
| 592 |
+
swap='face-58',
|
| 593 |
+
type=''),
|
| 594 |
+
57:
|
| 595 |
+
dict(color=[
|
| 596 |
+
255,
|
| 597 |
+
0,
|
| 598 |
+
0,
|
| 599 |
+
], id=57, name='face-57', swap='', type=''),
|
| 600 |
+
58:
|
| 601 |
+
dict(
|
| 602 |
+
color=[
|
| 603 |
+
255,
|
| 604 |
+
0,
|
| 605 |
+
0,
|
| 606 |
+
],
|
| 607 |
+
id=58,
|
| 608 |
+
name='face-58',
|
| 609 |
+
swap='face-56',
|
| 610 |
+
type=''),
|
| 611 |
+
59:
|
| 612 |
+
dict(
|
| 613 |
+
color=[
|
| 614 |
+
255,
|
| 615 |
+
0,
|
| 616 |
+
0,
|
| 617 |
+
],
|
| 618 |
+
id=59,
|
| 619 |
+
name='face-59',
|
| 620 |
+
swap='face-55',
|
| 621 |
+
type=''),
|
| 622 |
+
6:
|
| 623 |
+
dict(
|
| 624 |
+
color=[
|
| 625 |
+
255,
|
| 626 |
+
0,
|
| 627 |
+
0,
|
| 628 |
+
], id=6, name='face-6', swap='face-10', type=''),
|
| 629 |
+
60:
|
| 630 |
+
dict(
|
| 631 |
+
color=[
|
| 632 |
+
255,
|
| 633 |
+
0,
|
| 634 |
+
0,
|
| 635 |
+
],
|
| 636 |
+
id=60,
|
| 637 |
+
name='face-60',
|
| 638 |
+
swap='face-64',
|
| 639 |
+
type=''),
|
| 640 |
+
61:
|
| 641 |
+
dict(
|
| 642 |
+
color=[
|
| 643 |
+
255,
|
| 644 |
+
0,
|
| 645 |
+
0,
|
| 646 |
+
],
|
| 647 |
+
id=61,
|
| 648 |
+
name='face-61',
|
| 649 |
+
swap='face-63',
|
| 650 |
+
type=''),
|
| 651 |
+
62:
|
| 652 |
+
dict(color=[
|
| 653 |
+
255,
|
| 654 |
+
0,
|
| 655 |
+
0,
|
| 656 |
+
], id=62, name='face-62', swap='', type=''),
|
| 657 |
+
63:
|
| 658 |
+
dict(
|
| 659 |
+
color=[
|
| 660 |
+
255,
|
| 661 |
+
0,
|
| 662 |
+
0,
|
| 663 |
+
],
|
| 664 |
+
id=63,
|
| 665 |
+
name='face-63',
|
| 666 |
+
swap='face-61',
|
| 667 |
+
type=''),
|
| 668 |
+
64:
|
| 669 |
+
dict(
|
| 670 |
+
color=[
|
| 671 |
+
255,
|
| 672 |
+
0,
|
| 673 |
+
0,
|
| 674 |
+
],
|
| 675 |
+
id=64,
|
| 676 |
+
name='face-64',
|
| 677 |
+
swap='face-60',
|
| 678 |
+
type=''),
|
| 679 |
+
65:
|
| 680 |
+
dict(
|
| 681 |
+
color=[
|
| 682 |
+
255,
|
| 683 |
+
0,
|
| 684 |
+
0,
|
| 685 |
+
],
|
| 686 |
+
id=65,
|
| 687 |
+
name='face-65',
|
| 688 |
+
swap='face-67',
|
| 689 |
+
type=''),
|
| 690 |
+
66:
|
| 691 |
+
dict(color=[
|
| 692 |
+
255,
|
| 693 |
+
0,
|
| 694 |
+
0,
|
| 695 |
+
], id=66, name='face-66', swap='', type=''),
|
| 696 |
+
67:
|
| 697 |
+
dict(
|
| 698 |
+
color=[
|
| 699 |
+
255,
|
| 700 |
+
0,
|
| 701 |
+
0,
|
| 702 |
+
],
|
| 703 |
+
id=67,
|
| 704 |
+
name='face-67',
|
| 705 |
+
swap='face-65',
|
| 706 |
+
type=''),
|
| 707 |
+
7:
|
| 708 |
+
dict(color=[
|
| 709 |
+
255,
|
| 710 |
+
0,
|
| 711 |
+
0,
|
| 712 |
+
], id=7, name='face-7', swap='face-9', type=''),
|
| 713 |
+
8:
|
| 714 |
+
dict(color=[
|
| 715 |
+
255,
|
| 716 |
+
0,
|
| 717 |
+
0,
|
| 718 |
+
], id=8, name='face-8', swap='', type=''),
|
| 719 |
+
9:
|
| 720 |
+
dict(color=[
|
| 721 |
+
255,
|
| 722 |
+
0,
|
| 723 |
+
0,
|
| 724 |
+
], id=9, name='face-9', swap='face-7', type='')
|
| 725 |
+
}),
|
| 726 |
+
paper_info=dict(
|
| 727 |
+
author=
|
| 728 |
+
'Jin, Sheng and Xu, Lumin and Xu, Jin and Wang, Can and Liu, Wentao and Qian, Chen and Ouyang, Wanli and Luo, Ping',
|
| 729 |
+
container=
|
| 730 |
+
'Proceedings of the European Conference on Computer Vision (ECCV)',
|
| 731 |
+
homepage='https://github.com/jin-s13/COCO-WholeBody/',
|
| 732 |
+
title='Whole-Body Human Pose Estimation in the Wild',
|
| 733 |
+
year='2020'),
|
| 734 |
+
sigmas=[
|
| 735 |
+
0.042,
|
| 736 |
+
0.043,
|
| 737 |
+
0.044,
|
| 738 |
+
0.043,
|
| 739 |
+
0.04,
|
| 740 |
+
0.035,
|
| 741 |
+
0.031,
|
| 742 |
+
0.025,
|
| 743 |
+
0.02,
|
| 744 |
+
0.023,
|
| 745 |
+
0.029,
|
| 746 |
+
0.032,
|
| 747 |
+
0.037,
|
| 748 |
+
0.038,
|
| 749 |
+
0.043,
|
| 750 |
+
0.041,
|
| 751 |
+
0.045,
|
| 752 |
+
0.013,
|
| 753 |
+
0.012,
|
| 754 |
+
0.011,
|
| 755 |
+
0.011,
|
| 756 |
+
0.012,
|
| 757 |
+
0.012,
|
| 758 |
+
0.011,
|
| 759 |
+
0.011,
|
| 760 |
+
0.013,
|
| 761 |
+
0.015,
|
| 762 |
+
0.009,
|
| 763 |
+
0.007,
|
| 764 |
+
0.007,
|
| 765 |
+
0.007,
|
| 766 |
+
0.012,
|
| 767 |
+
0.009,
|
| 768 |
+
0.008,
|
| 769 |
+
0.016,
|
| 770 |
+
0.01,
|
| 771 |
+
0.017,
|
| 772 |
+
0.011,
|
| 773 |
+
0.009,
|
| 774 |
+
0.011,
|
| 775 |
+
0.009,
|
| 776 |
+
0.007,
|
| 777 |
+
0.013,
|
| 778 |
+
0.008,
|
| 779 |
+
0.011,
|
| 780 |
+
0.012,
|
| 781 |
+
0.01,
|
| 782 |
+
0.034,
|
| 783 |
+
0.008,
|
| 784 |
+
0.008,
|
| 785 |
+
0.009,
|
| 786 |
+
0.008,
|
| 787 |
+
0.008,
|
| 788 |
+
0.007,
|
| 789 |
+
0.01,
|
| 790 |
+
0.008,
|
| 791 |
+
0.009,
|
| 792 |
+
0.009,
|
| 793 |
+
0.009,
|
| 794 |
+
0.007,
|
| 795 |
+
0.007,
|
| 796 |
+
0.008,
|
| 797 |
+
0.011,
|
| 798 |
+
0.008,
|
| 799 |
+
0.008,
|
| 800 |
+
0.008,
|
| 801 |
+
0.01,
|
| 802 |
+
0.008,
|
| 803 |
+
],
|
| 804 |
+
skeleton_info=dict())
|
| 805 |
+
dataset_type = 'CocoWholeBodyFaceDataset'
|
| 806 |
+
default_hooks = dict(
|
| 807 |
+
badcase=dict(
|
| 808 |
+
badcase_thr=5,
|
| 809 |
+
enable=False,
|
| 810 |
+
metric_type='loss',
|
| 811 |
+
out_dir='badcase',
|
| 812 |
+
type='BadCaseAnalysisHook'),
|
| 813 |
+
checkpoint=dict(
|
| 814 |
+
interval=1, rule='less', save_best='NME', type='CheckpointHook'),
|
| 815 |
+
logger=dict(interval=50, type='LoggerHook'),
|
| 816 |
+
param_scheduler=dict(type='ParamSchedulerHook'),
|
| 817 |
+
sampler_seed=dict(type='DistSamplerSeedHook'),
|
| 818 |
+
timer=dict(type='IterTimerHook'),
|
| 819 |
+
visualization=dict(enable=False, type='PoseVisualizationHook'))
|
| 820 |
+
default_scope = 'mmpose'
|
| 821 |
+
env_cfg = dict(
|
| 822 |
+
cudnn_benchmark=False,
|
| 823 |
+
dist_cfg=dict(backend='gloo'),
|
| 824 |
+
mp_cfg=dict(mp_start_method='fork', opencv_num_threads=0))
|
| 825 |
+
launcher = 'pytorch'
|
| 826 |
+
load_from = None
|
| 827 |
+
log_level = 'INFO'
|
| 828 |
+
log_processor = dict(
|
| 829 |
+
by_epoch=True, num_digits=6, type='LogProcessor', window_size=50)
|
| 830 |
+
model = dict(
|
| 831 |
+
backbone=dict(
|
| 832 |
+
extra=dict(
|
| 833 |
+
stage1=dict(
|
| 834 |
+
block='BOTTLENECK',
|
| 835 |
+
num_blocks=(4, ),
|
| 836 |
+
num_branches=1,
|
| 837 |
+
num_channels=(64, ),
|
| 838 |
+
num_modules=1),
|
| 839 |
+
stage2=dict(
|
| 840 |
+
block='BASIC',
|
| 841 |
+
num_blocks=(
|
| 842 |
+
4,
|
| 843 |
+
4,
|
| 844 |
+
),
|
| 845 |
+
num_branches=2,
|
| 846 |
+
num_channels=(
|
| 847 |
+
18,
|
| 848 |
+
36,
|
| 849 |
+
),
|
| 850 |
+
num_modules=1),
|
| 851 |
+
stage3=dict(
|
| 852 |
+
block='BASIC',
|
| 853 |
+
num_blocks=(
|
| 854 |
+
4,
|
| 855 |
+
4,
|
| 856 |
+
4,
|
| 857 |
+
),
|
| 858 |
+
num_branches=3,
|
| 859 |
+
num_channels=(
|
| 860 |
+
18,
|
| 861 |
+
36,
|
| 862 |
+
72,
|
| 863 |
+
),
|
| 864 |
+
num_modules=4),
|
| 865 |
+
stage4=dict(
|
| 866 |
+
block='BASIC',
|
| 867 |
+
multiscale_output=True,
|
| 868 |
+
num_blocks=(
|
| 869 |
+
4,
|
| 870 |
+
4,
|
| 871 |
+
4,
|
| 872 |
+
4,
|
| 873 |
+
),
|
| 874 |
+
num_branches=4,
|
| 875 |
+
num_channels=(
|
| 876 |
+
18,
|
| 877 |
+
36,
|
| 878 |
+
72,
|
| 879 |
+
144,
|
| 880 |
+
),
|
| 881 |
+
num_modules=3),
|
| 882 |
+
upsample=dict(align_corners=False, mode='bilinear')),
|
| 883 |
+
in_channels=3,
|
| 884 |
+
init_cfg=dict(
|
| 885 |
+
checkpoint='open-mmlab://msra/hrnetv2_w18', type='Pretrained'),
|
| 886 |
+
type='HRNet'),
|
| 887 |
+
data_preprocessor=dict(
|
| 888 |
+
bgr_to_rgb=True,
|
| 889 |
+
mean=[
|
| 890 |
+
123.675,
|
| 891 |
+
116.28,
|
| 892 |
+
103.53,
|
| 893 |
+
],
|
| 894 |
+
std=[
|
| 895 |
+
58.395,
|
| 896 |
+
57.12,
|
| 897 |
+
57.375,
|
| 898 |
+
],
|
| 899 |
+
type='PoseDataPreprocessor'),
|
| 900 |
+
head=dict(
|
| 901 |
+
conv_kernel_sizes=(1, ),
|
| 902 |
+
conv_out_channels=(270, ),
|
| 903 |
+
decoder=dict(
|
| 904 |
+
heatmap_size=(
|
| 905 |
+
64,
|
| 906 |
+
64,
|
| 907 |
+
),
|
| 908 |
+
input_size=(
|
| 909 |
+
256,
|
| 910 |
+
256,
|
| 911 |
+
),
|
| 912 |
+
sigma=2,
|
| 913 |
+
type='MSRAHeatmap',
|
| 914 |
+
unbiased=True),
|
| 915 |
+
deconv_out_channels=None,
|
| 916 |
+
in_channels=270,
|
| 917 |
+
loss=dict(type='KeypointMSELoss', use_target_weight=True),
|
| 918 |
+
out_channels=68,
|
| 919 |
+
type='HeatmapHead'),
|
| 920 |
+
neck=dict(concat=True, type='FeatureMapProcessor'),
|
| 921 |
+
test_cfg=dict(flip_mode='heatmap', flip_test=True, shift_heatmap=True),
|
| 922 |
+
type='TopdownPoseEstimator')
|
| 923 |
+
optim_wrapper = dict(
|
| 924 |
+
loss_scale='dynamic',
|
| 925 |
+
optimizer=dict(lr=0.002, type='Adam'),
|
| 926 |
+
type='AmpOptimWrapper')
|
| 927 |
+
param_scheduler = [
|
| 928 |
+
dict(
|
| 929 |
+
begin=0, by_epoch=False, end=500, start_factor=0.001, type='LinearLR'),
|
| 930 |
+
dict(
|
| 931 |
+
begin=0,
|
| 932 |
+
by_epoch=True,
|
| 933 |
+
end=210,
|
| 934 |
+
gamma=0.1,
|
| 935 |
+
milestones=[
|
| 936 |
+
40,
|
| 937 |
+
55,
|
| 938 |
+
],
|
| 939 |
+
type='MultiStepLR'),
|
| 940 |
+
]
|
| 941 |
+
resume = False
|
| 942 |
+
test_cfg = dict()
|
| 943 |
+
test_dataloader = dict(
|
| 944 |
+
batch_size=32,
|
| 945 |
+
dataset=dict(
|
| 946 |
+
ann_file=
|
| 947 |
+
'A:\\NonEnclosureProjects\\inprep\\PrimateFace\\data\\annos_from_rex\\test.json',
|
| 948 |
+
data_mode='topdown',
|
| 949 |
+
pipeline=[
|
| 950 |
+
dict(type='LoadImage'),
|
| 951 |
+
dict(type='GetBBoxCenterScale'),
|
| 952 |
+
dict(input_size=(
|
| 953 |
+
256,
|
| 954 |
+
256,
|
| 955 |
+
), type='TopdownAffine'),
|
| 956 |
+
dict(type='PackPoseInputs'),
|
| 957 |
+
],
|
| 958 |
+
test_mode=True,
|
| 959 |
+
type='CocoWholeBodyFaceDataset'),
|
| 960 |
+
drop_last=False,
|
| 961 |
+
num_workers=2,
|
| 962 |
+
persistent_workers=True,
|
| 963 |
+
sampler=dict(round_up=False, shuffle=False, type='DefaultSampler'))
|
| 964 |
+
test_evaluator = dict(norm_mode='keypoint_distance', type='NME')
|
| 965 |
+
train_cfg = dict(by_epoch=True, max_epochs=60, val_interval=1)
|
| 966 |
+
train_dataloader = dict(
|
| 967 |
+
batch_size=64,
|
| 968 |
+
dataset=dict(
|
| 969 |
+
ann_file=
|
| 970 |
+
'A:\\NonEnclosureProjects\\inprep\\PrimateFace\\data\\annos_from_rex\\train.json',
|
| 971 |
+
data_mode='topdown',
|
| 972 |
+
pipeline=[
|
| 973 |
+
dict(type='LoadImage'),
|
| 974 |
+
dict(type='GetBBoxCenterScale'),
|
| 975 |
+
dict(direction='horizontal', type='RandomFlip'),
|
| 976 |
+
dict(direction='vertical', type='RandomFlip'),
|
| 977 |
+
dict(
|
| 978 |
+
rotate_factor=60,
|
| 979 |
+
scale_factor=(
|
| 980 |
+
0.75,
|
| 981 |
+
1.25,
|
| 982 |
+
),
|
| 983 |
+
type='RandomBBoxTransform'),
|
| 984 |
+
dict(input_size=(
|
| 985 |
+
256,
|
| 986 |
+
256,
|
| 987 |
+
), type='TopdownAffine'),
|
| 988 |
+
dict(
|
| 989 |
+
encoder=dict(
|
| 990 |
+
heatmap_size=(
|
| 991 |
+
64,
|
| 992 |
+
64,
|
| 993 |
+
),
|
| 994 |
+
input_size=(
|
| 995 |
+
256,
|
| 996 |
+
256,
|
| 997 |
+
),
|
| 998 |
+
sigma=2,
|
| 999 |
+
type='MSRAHeatmap',
|
| 1000 |
+
unbiased=True),
|
| 1001 |
+
type='GenerateTarget'),
|
| 1002 |
+
dict(type='PackPoseInputs'),
|
| 1003 |
+
],
|
| 1004 |
+
type='CocoWholeBodyFaceDataset'),
|
| 1005 |
+
num_workers=4,
|
| 1006 |
+
persistent_workers=True,
|
| 1007 |
+
sampler=dict(shuffle=True, type='DefaultSampler'))
|
| 1008 |
+
train_pipeline = [
|
| 1009 |
+
dict(type='LoadImage'),
|
| 1010 |
+
dict(type='GetBBoxCenterScale'),
|
| 1011 |
+
dict(direction='horizontal', type='RandomFlip'),
|
| 1012 |
+
dict(direction='vertical', type='RandomFlip'),
|
| 1013 |
+
dict(
|
| 1014 |
+
rotate_factor=60,
|
| 1015 |
+
scale_factor=(
|
| 1016 |
+
0.75,
|
| 1017 |
+
1.25,
|
| 1018 |
+
),
|
| 1019 |
+
type='RandomBBoxTransform'),
|
| 1020 |
+
dict(input_size=(
|
| 1021 |
+
256,
|
| 1022 |
+
256,
|
| 1023 |
+
), type='TopdownAffine'),
|
| 1024 |
+
dict(
|
| 1025 |
+
encoder=dict(
|
| 1026 |
+
heatmap_size=(
|
| 1027 |
+
64,
|
| 1028 |
+
64,
|
| 1029 |
+
),
|
| 1030 |
+
input_size=(
|
| 1031 |
+
256,
|
| 1032 |
+
256,
|
| 1033 |
+
),
|
| 1034 |
+
sigma=2,
|
| 1035 |
+
type='MSRAHeatmap',
|
| 1036 |
+
unbiased=True),
|
| 1037 |
+
type='GenerateTarget'),
|
| 1038 |
+
dict(type='PackPoseInputs'),
|
| 1039 |
+
]
|
| 1040 |
+
val_cfg = dict()
|
| 1041 |
+
val_dataloader = dict(
|
| 1042 |
+
batch_size=32,
|
| 1043 |
+
dataset=dict(
|
| 1044 |
+
ann_file=
|
| 1045 |
+
'A:\\NonEnclosureProjects\\inprep\\PrimateFace\\data\\annos_from_rex\\val.json',
|
| 1046 |
+
data_mode='topdown',
|
| 1047 |
+
pipeline=[
|
| 1048 |
+
dict(type='LoadImage'),
|
| 1049 |
+
dict(type='GetBBoxCenterScale'),
|
| 1050 |
+
dict(input_size=(
|
| 1051 |
+
256,
|
| 1052 |
+
256,
|
| 1053 |
+
), type='TopdownAffine'),
|
| 1054 |
+
dict(type='PackPoseInputs'),
|
| 1055 |
+
],
|
| 1056 |
+
test_mode=True,
|
| 1057 |
+
type='CocoWholeBodyFaceDataset'),
|
| 1058 |
+
drop_last=False,
|
| 1059 |
+
num_workers=2,
|
| 1060 |
+
persistent_workers=True,
|
| 1061 |
+
sampler=dict(round_up=False, shuffle=False, type='DefaultSampler'))
|
| 1062 |
+
val_evaluator = dict(norm_mode='keypoint_distance', type='NME')
|
| 1063 |
+
val_pipeline = [
|
| 1064 |
+
dict(type='LoadImage'),
|
| 1065 |
+
dict(type='GetBBoxCenterScale'),
|
| 1066 |
+
dict(input_size=(
|
| 1067 |
+
256,
|
| 1068 |
+
256,
|
| 1069 |
+
), type='TopdownAffine'),
|
| 1070 |
+
dict(type='PackPoseInputs'),
|
| 1071 |
+
]
|
| 1072 |
+
vis_backends = [
|
| 1073 |
+
dict(type='LocalVisBackend'),
|
| 1074 |
+
]
|
| 1075 |
+
visualizer = dict(
|
| 1076 |
+
name='visualizer',
|
| 1077 |
+
type='PoseLocalVisualizer',
|
| 1078 |
+
vis_backends=[
|
| 1079 |
+
dict(type='LocalVisBackend'),
|
| 1080 |
+
])
|
| 1081 |
+
work_dir = 'A:\\NonEnclosureProjects\\inprep\\PrimateFace\\results\\hrnet-dark_rex_4.5k_68kpt_250528'
|