fly.py 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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=[])