atrw.py 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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. ])