Publish MAAP3D model zoo draft with pretrained bird and ape models
Browse filesAdd six pose config/checkpoint pairs and four detector checkpoints, model metadata, author-provided training histories, dataset citations and scoped licensing notices. Retain draft/template validation status.
- .gitignore +6 -0
- CITATIONS.bib +79 -0
- CITATIONS.md +82 -0
- LICENSE +661 -0
- LICENSES/Apache-2.0.txt +202 -0
- LICENSE_POLICY.md +64 -0
- README.md +169 -0
- THIRD_PARTY_NOTICES.md +51 -0
- ape/detection/README.md +70 -0
- ape/detection/ape-detection.pt +3 -0
- ape/detection/metadata.json +91 -0
- ape/pose/README.md +93 -0
- ape/pose/ape-pose.pth +3 -0
- ape/pose/ape-pose.py +1001 -0
- ape/pose/metadata.json +228 -0
- bird/pose/README.md +95 -0
- bird/pose/bird-pose.pth +3 -0
- bird/pose/bird-pose.py +674 -0
- bird/pose/metadata.json +174 -0
- crow/detection/README.md +70 -0
- crow/detection/crow-detection.pt +3 -0
- crow/detection/metadata.json +90 -0
- crow/pose/README.md +87 -0
- crow/pose/crow-pose.pth +3 -0
- crow/pose/crow-pose.py +821 -0
- crow/pose/metadata.json +168 -0
- greti/detection/README.md +65 -0
- greti/detection/metadata.json +88 -0
- greti/pose/README.md +91 -0
- greti/pose/greti-pose.pth +3 -0
- greti/pose/greti-pose.py +893 -0
- greti/pose/metadata.json +167 -0
- jays/detection/README.md +70 -0
- jays/detection/jay-detection.pt +3 -0
- jays/detection/metadata.json +93 -0
- jays/pose/README.md +88 -0
- jays/pose/jay-pose.pth +3 -0
- jays/pose/jay-pose.py +1199 -0
- jays/pose/metadata.json +210 -0
- pigeons/detection/README.md +70 -0
- pigeons/detection/metadata.json +93 -0
- pigeons/detection/pigeon-detection.pt +3 -0
- pigeons/pose/README.md +88 -0
- pigeons/pose/metadata.json +186 -0
- pigeons/pose/pigeon-pose.pth +3 -0
- pigeons/pose/pigeon-pose.py +914 -0
.gitignore
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.cache/
|
| 2 |
+
__pycache__/
|
| 3 |
+
*.py[cod]
|
| 4 |
+
.ipynb_checkpoints/
|
| 5 |
+
.DS_Store
|
| 6 |
+
Thumbs.db
|
CITATIONS.bib
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@misc{maap3d_toolbox,
|
| 2 |
+
author = {Chan, Alex Hoi Hang},
|
| 3 |
+
title = {{MAAP3D Toolbox}},
|
| 4 |
+
howpublished = {Software repository},
|
| 5 |
+
url = {https://github.com/alexhang212/MAAP3D_Toolbox},
|
| 6 |
+
note = {Cite the actual software version or commit used; preferred paper citation pending}
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
@article{chimento_3dsocs,
|
| 10 |
+
author = {Chimento, Michael and Chan, Alex Hoi Hang and Aplin, Lucy M. and Kano, Fumihiro},
|
| 11 |
+
title = {Peering into the world of wild passerines with {3D-SOCS}: Synchronized video capture and posture estimation},
|
| 12 |
+
journal = {Methods in Ecology and Evolution},
|
| 13 |
+
year = {2026},
|
| 14 |
+
volume = {17},
|
| 15 |
+
number = {2},
|
| 16 |
+
pages = {339--356},
|
| 17 |
+
doi = {10.1111/2041-210X.70051},
|
| 18 |
+
note = {First published online 11 June 2025}
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
@misc{chan_2026_chirp,
|
| 22 |
+
author = {Chan, Alex Hoi Hang and Singhal, Neha and Kocahan, Onur and Meltzer, Andrea and Lubrano, Saverio and Warrington, Miyako H. and Griesser, Michel and Kano, Fumihiro and Naik, Hemal},
|
| 23 |
+
title = {{CHIRP} dataset: towards long-term, individual-level, behavioral monitoring of bird populations in the wild},
|
| 24 |
+
year = {2026},
|
| 25 |
+
eprint = {2603.25524},
|
| 26 |
+
archivePrefix = {arXiv},
|
| 27 |
+
primaryClass = {cs.CV},
|
| 28 |
+
url = {https://arxiv.org/abs/2603.25524}
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
@inproceedings{Naik_2023_CVPR,
|
| 32 |
+
author = {Naik, Hemal and Chan, Alex Hoi Hang and Yang, Junran and Delacoux, Mathilde and Couzin, Iain D. and Kano, Fumihiro and Nagy, Mate},
|
| 33 |
+
title = {{3D-POP} - An Automated Annotation Approach to Facilitate Markerless {2D-3D} Tracking of Freely Moving Birds With Marker-Based Motion Capture},
|
| 34 |
+
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
|
| 35 |
+
month = {June},
|
| 36 |
+
year = {2023},
|
| 37 |
+
pages = {21274--21284},
|
| 38 |
+
url = {https://openaccess.thecvf.com/content/CVPR2023/html/Naik_3D-POP_-_An_Automated_Annotation_Approach_to_Facilitate_Markerless_2D-3D_CVPR_2023_paper.html}
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
@article{ma2023chimpact,
|
| 42 |
+
author = {Ma, Xiaoxuan and Kaufhold, Stephan and Su, Jiajun and Zhu, Wentao and Terwilliger, Jack and Meza, Andres and Zhu, Yixin and Rossano, Federico and Wang, Yizhou},
|
| 43 |
+
title = {{ChimpACT}: A Longitudinal Dataset for Understanding Chimpanzee Behaviors},
|
| 44 |
+
journal = {Advances in Neural Information Processing Systems},
|
| 45 |
+
volume = {36},
|
| 46 |
+
pages = {27501--27531},
|
| 47 |
+
year = {2023},
|
| 48 |
+
url = {https://github.com/ShirleyMaxx/ChimpACT}
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
@article{desai2023openapepose,
|
| 52 |
+
author = {Desai, Nisarg and Bala, Praneet and Richardson, Rebecca and Raper, Jessica and Zimmermann, Jan and Hayden, Benjamin},
|
| 53 |
+
title = {{OpenApePose}: a database of annotated ape photographs for pose estimation},
|
| 54 |
+
journal = {eLife},
|
| 55 |
+
volume = {12},
|
| 56 |
+
pages = {RP86873},
|
| 57 |
+
year = {2023},
|
| 58 |
+
doi = {10.7554/eLife.86873.2}
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
@techreport{WahCUB_200_2011,
|
| 62 |
+
author = {Wah, Catherine and Branson, Steve and Welinder, Peter and Perona, Pietro and Belongie, Serge},
|
| 63 |
+
title = {The {Caltech-UCSD Birds-200-2011} Dataset},
|
| 64 |
+
institution = {California Institute of Technology},
|
| 65 |
+
number = {CNS-TR-2011-001},
|
| 66 |
+
year = {2011},
|
| 67 |
+
url = {https://www.vision.caltech.edu/datasets/cub_200_2011/},
|
| 68 |
+
note = {Conditional reference: confirm the CUB release used to train the bird model}
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
@inproceedings{Ng_2022_CVPR,
|
| 72 |
+
author = {Ng, Xun Long and Ong, Kian Eng and Zheng, Qichen and Ni, Yun and Yeo, Si Yong and Liu, Jun},
|
| 73 |
+
title = {Animal Kingdom: A Large and Diverse Dataset for Animal Behavior Understanding},
|
| 74 |
+
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
|
| 75 |
+
month = {June},
|
| 76 |
+
year = {2022},
|
| 77 |
+
pages = {19023--19034},
|
| 78 |
+
url = {https://github.com/SUTDCV/Animal-Kingdom}
|
| 79 |
+
}
|
CITATIONS.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Citation requests
|
| 2 |
+
|
| 3 |
+
Please cite MAAP3D when using any of these models in research or a publication.
|
| 4 |
+
For ape pose, also cite ChimpACT and OpenApePose. For bird pose, also cite
|
| 5 |
+
the matching CUB release and Animal Kingdom. Also cite 3D-SOCS for Greti,
|
| 6 |
+
CHIRP for jays, and 3D-POP for pigeons. Identify
|
| 7 |
+
the model ID, version and repository commit used. These are scholarly citation
|
| 8 |
+
requests, not additional AGPL conditions. Upstream notice obligations remain.
|
| 9 |
+
|
| 10 |
+
BibTeX entries are in [CITATIONS.bib](CITATIONS.bib).
|
| 11 |
+
|
| 12 |
+
## MAAP3D
|
| 13 |
+
|
| 14 |
+
Alex Hoi Hang Chan. **MAAP3D Toolbox**. Software repository:
|
| 15 |
+
[alexhang212/MAAP3D_Toolbox](https://github.com/alexhang212/MAAP3D_Toolbox).
|
| 16 |
+
Use the actual software version or commit used in your analysis. This software
|
| 17 |
+
reference uses the local project's author notice and repository URL. No
|
| 18 |
+
MAAP3D paper DOI or preferred publication citation was supplied; replace this
|
| 19 |
+
entry if the author provides one. Repository access may require permission.
|
| 20 |
+
|
| 21 |
+
## 3D-SOCS
|
| 22 |
+
|
| 23 |
+
Michael Chimento, Alex Hoi Hang Chan, Lucy M. Aplin and Fumihiro Kano.
|
| 24 |
+
**Peering into the world of wild passerines with 3D-SOCS: Synchronized video
|
| 25 |
+
capture and posture estimation.** Methods in Ecology and Evolution 17(2),
|
| 26 |
+
339-356 (2026; first published online 11 June 2025).
|
| 27 |
+
[Publisher and DOI](https://doi.org/10.1111/2041-210X.70051).
|
| 28 |
+
|
| 29 |
+
## CHIRP
|
| 30 |
+
|
| 31 |
+
Alex Hoi Hang Chan, Neha Singhal, Onur Kocahan, Andrea Meltzer, Saverio Lubrano,
|
| 32 |
+
Miyako H. Warrington, Michel Griesser, Fumihiro Kano and Hemal Naik.
|
| 33 |
+
**CHIRP dataset: towards long-term, individual-level, behavioral monitoring
|
| 34 |
+
of bird populations in the wild.** arXiv:2603.25524 (2026).
|
| 35 |
+
[Paper record](https://arxiv.org/abs/2603.25524).
|
| 36 |
+
This is the verified arXiv reference; no unverified proceedings details are added.
|
| 37 |
+
|
| 38 |
+
## 3D-POP
|
| 39 |
+
|
| 40 |
+
Hemal Naik, Alex Hoi Hang Chan, Junran Yang, Mathilde Delacoux, Iain D. Couzin,
|
| 41 |
+
Fumihiro Kano and Mate Nagy. **3D-POP - An Automated Annotation Approach to
|
| 42 |
+
Facilitate Markerless 2D-3D Tracking of Freely Moving Birds With Marker-Based
|
| 43 |
+
Motion Capture.** Proceedings of the IEEE/CVF Conference on Computer Vision
|
| 44 |
+
and Pattern Recognition (CVPR), 21274-21284 (2023).
|
| 45 |
+
[Publisher record and BibTeX](https://openaccess.thecvf.com/content/CVPR2023/html/Naik_3D-POP_-_An_Automated_Annotation_Approach_to_Facilitate_Markerless_2D-3D_CVPR_2023_paper.html).
|
| 46 |
+
## ChimpACT
|
| 47 |
+
|
| 48 |
+
Xiaoxuan Ma, Stephan Kaufhold, Jiajun Su, Wentao Zhu, Jack Terwilliger,
|
| 49 |
+
Andres Meza, Yixin Zhu, Federico Rossano and Yizhou Wang.
|
| 50 |
+
**ChimpACT: A Longitudinal Dataset for Understanding Chimpanzee Behaviors.**
|
| 51 |
+
Advances in Neural Information Processing Systems 36, 27501-27531 (2023).
|
| 52 |
+
[Official citation](https://github.com/ShirleyMaxx/ChimpACT#citation).
|
| 53 |
+
|
| 54 |
+
## OpenApePose
|
| 55 |
+
|
| 56 |
+
Nisarg Desai, Praneet Bala, Rebecca Richardson, Jessica Raper, Jan Zimmermann
|
| 57 |
+
and Benjamin Hayden. **OpenApePose: a database of annotated ape photographs
|
| 58 |
+
for pose estimation.** eLife 12:RP86873 (2023).
|
| 59 |
+
[Author-requested citation](https://github.com/desai-nisarg/OpenApePose#cite-as)
|
| 60 |
+
and [paper DOI](https://doi.org/10.7554/eLife.86873.2).
|
| 61 |
+
|
| 62 |
+
## CUB
|
| 63 |
+
|
| 64 |
+
**Cite the CUB release actually used.** The model author identified CUB as a
|
| 65 |
+
training source, but the release has not yet been confirmed. The following
|
| 66 |
+
entry applies to CUB-200-2011; it is not confirmation of the training release.
|
| 67 |
+
|
| 68 |
+
Catherine Wah, Steve Branson, Peter Welinder, Pietro Perona and Serge Belongie.
|
| 69 |
+
**The Caltech-UCSD Birds-200-2011 Dataset.** California Institute of Technology,
|
| 70 |
+
Technical Report CNS-TR-2011-001 (2011).
|
| 71 |
+
[Official dataset citation guidance](https://www.vision.caltech.edu/datasets/cub_200_2011/)
|
| 72 |
+
and [technical report](https://authors.library.caltech.edu/records/cvm3y-5hh21).
|
| 73 |
+
If a different release was used, replace this conditional entry with its
|
| 74 |
+
corresponding reference.
|
| 75 |
+
|
| 76 |
+
## Animal Kingdom
|
| 77 |
+
|
| 78 |
+
Xun Long Ng, Kian Eng Ong, Qichen Zheng, Yun Ni, Si Yong Yeo and Jun Liu.
|
| 79 |
+
**Animal Kingdom: A Large and Diverse Dataset for Animal Behavior Understanding.**
|
| 80 |
+
Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition
|
| 81 |
+
(CVPR), 19023-19034 (2022).
|
| 82 |
+
[Official citation](https://github.com/SUTDCV/Animal-Kingdom#citation).
|
LICENSE
ADDED
|
@@ -0,0 +1,661 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
GNU AFFERO GENERAL PUBLIC LICENSE
|
| 2 |
+
Version 3, 19 November 2007
|
| 3 |
+
|
| 4 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
| 5 |
+
Everyone is permitted to copy and distribute verbatim copies
|
| 6 |
+
of this license document, but changing it is not allowed.
|
| 7 |
+
|
| 8 |
+
Preamble
|
| 9 |
+
|
| 10 |
+
The GNU Affero General Public License is a free, copyleft license for
|
| 11 |
+
software and other kinds of works, specifically designed to ensure
|
| 12 |
+
cooperation with the community in the case of network server software.
|
| 13 |
+
|
| 14 |
+
The licenses for most software and other practical works are designed
|
| 15 |
+
to take away your freedom to share and change the works. By contrast,
|
| 16 |
+
our General Public Licenses are intended to guarantee your freedom to
|
| 17 |
+
share and change all versions of a program--to make sure it remains free
|
| 18 |
+
software for all its users.
|
| 19 |
+
|
| 20 |
+
When we speak of free software, we are referring to freedom, not
|
| 21 |
+
price. Our General Public Licenses are designed to make sure that you
|
| 22 |
+
have the freedom to distribute copies of free software (and charge for
|
| 23 |
+
them if you wish), that you receive source code or can get it if you
|
| 24 |
+
want it, that you can change the software or use pieces of it in new
|
| 25 |
+
free programs, and that you know you can do these things.
|
| 26 |
+
|
| 27 |
+
Developers that use our General Public Licenses protect your rights
|
| 28 |
+
with two steps: (1) assert copyright on the software, and (2) offer
|
| 29 |
+
you this License which gives you legal permission to copy, distribute
|
| 30 |
+
and/or modify the software.
|
| 31 |
+
|
| 32 |
+
A secondary benefit of defending all users' freedom is that
|
| 33 |
+
improvements made in alternate versions of the program, if they
|
| 34 |
+
receive widespread use, become available for other developers to
|
| 35 |
+
incorporate. Many developers of free software are heartened and
|
| 36 |
+
encouraged by the resulting cooperation. However, in the case of
|
| 37 |
+
software used on network servers, this result may fail to come about.
|
| 38 |
+
The GNU General Public License permits making a modified version and
|
| 39 |
+
letting the public access it on a server without ever releasing its
|
| 40 |
+
source code to the public.
|
| 41 |
+
|
| 42 |
+
The GNU Affero General Public License is designed specifically to
|
| 43 |
+
ensure that, in such cases, the modified source code becomes available
|
| 44 |
+
to the community. It requires the operator of a network server to
|
| 45 |
+
provide the source code of the modified version running there to the
|
| 46 |
+
users of that server. Therefore, public use of a modified version, on
|
| 47 |
+
a publicly accessible server, gives the public access to the source
|
| 48 |
+
code of the modified version.
|
| 49 |
+
|
| 50 |
+
An older license, called the Affero General Public License and
|
| 51 |
+
published by Affero, was designed to accomplish similar goals. This is
|
| 52 |
+
a different license, not a version of the Affero GPL, but Affero has
|
| 53 |
+
released a new version of the Affero GPL which permits relicensing under
|
| 54 |
+
this license.
|
| 55 |
+
|
| 56 |
+
The precise terms and conditions for copying, distribution and
|
| 57 |
+
modification follow.
|
| 58 |
+
|
| 59 |
+
TERMS AND CONDITIONS
|
| 60 |
+
|
| 61 |
+
0. Definitions.
|
| 62 |
+
|
| 63 |
+
"This License" refers to version 3 of the GNU Affero General Public License.
|
| 64 |
+
|
| 65 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
| 66 |
+
works, such as semiconductor masks.
|
| 67 |
+
|
| 68 |
+
"The Program" refers to any copyrightable work licensed under this
|
| 69 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
| 70 |
+
"recipients" may be individuals or organizations.
|
| 71 |
+
|
| 72 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
| 73 |
+
in a fashion requiring copyright permission, other than the making of an
|
| 74 |
+
exact copy. The resulting work is called a "modified version" of the
|
| 75 |
+
earlier work or a work "based on" the earlier work.
|
| 76 |
+
|
| 77 |
+
A "covered work" means either the unmodified Program or a work based
|
| 78 |
+
on the Program.
|
| 79 |
+
|
| 80 |
+
To "propagate" a work means to do anything with it that, without
|
| 81 |
+
permission, would make you directly or secondarily liable for
|
| 82 |
+
infringement under applicable copyright law, except executing it on a
|
| 83 |
+
computer or modifying a private copy. Propagation includes copying,
|
| 84 |
+
distribution (with or without modification), making available to the
|
| 85 |
+
public, and in some countries other activities as well.
|
| 86 |
+
|
| 87 |
+
To "convey" a work means any kind of propagation that enables other
|
| 88 |
+
parties to make or receive copies. Mere interaction with a user through
|
| 89 |
+
a computer network, with no transfer of a copy, is not conveying.
|
| 90 |
+
|
| 91 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
| 92 |
+
to the extent that it includes a convenient and prominently visible
|
| 93 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
| 94 |
+
tells the user that there is no warranty for the work (except to the
|
| 95 |
+
extent that warranties are provided), that licensees may convey the
|
| 96 |
+
work under this License, and how to view a copy of this License. If
|
| 97 |
+
the interface presents a list of user commands or options, such as a
|
| 98 |
+
menu, a prominent item in the list meets this criterion.
|
| 99 |
+
|
| 100 |
+
1. Source Code.
|
| 101 |
+
|
| 102 |
+
The "source code" for a work means the preferred form of the work
|
| 103 |
+
for making modifications to it. "Object code" means any non-source
|
| 104 |
+
form of a work.
|
| 105 |
+
|
| 106 |
+
A "Standard Interface" means an interface that either is an official
|
| 107 |
+
standard defined by a recognized standards body, or, in the case of
|
| 108 |
+
interfaces specified for a particular programming language, one that
|
| 109 |
+
is widely used among developers working in that language.
|
| 110 |
+
|
| 111 |
+
The "System Libraries" of an executable work include anything, other
|
| 112 |
+
than the work as a whole, that (a) is included in the normal form of
|
| 113 |
+
packaging a Major Component, but which is not part of that Major
|
| 114 |
+
Component, and (b) serves only to enable use of the work with that
|
| 115 |
+
Major Component, or to implement a Standard Interface for which an
|
| 116 |
+
implementation is available to the public in source code form. A
|
| 117 |
+
"Major Component", in this context, means a major essential component
|
| 118 |
+
(kernel, window system, and so on) of the specific operating system
|
| 119 |
+
(if any) on which the executable work runs, or a compiler used to
|
| 120 |
+
produce the work, or an object code interpreter used to run it.
|
| 121 |
+
|
| 122 |
+
The "Corresponding Source" for a work in object code form means all
|
| 123 |
+
the source code needed to generate, install, and (for an executable
|
| 124 |
+
work) run the object code and to modify the work, including scripts to
|
| 125 |
+
control those activities. However, it does not include the work's
|
| 126 |
+
System Libraries, or general-purpose tools or generally available free
|
| 127 |
+
programs which are used unmodified in performing those activities but
|
| 128 |
+
which are not part of the work. For example, Corresponding Source
|
| 129 |
+
includes interface definition files associated with source files for
|
| 130 |
+
the work, and the source code for shared libraries and dynamically
|
| 131 |
+
linked subprograms that the work is specifically designed to require,
|
| 132 |
+
such as by intimate data communication or control flow between those
|
| 133 |
+
subprograms and other parts of the work.
|
| 134 |
+
|
| 135 |
+
The Corresponding Source need not include anything that users
|
| 136 |
+
can regenerate automatically from other parts of the Corresponding
|
| 137 |
+
Source.
|
| 138 |
+
|
| 139 |
+
The Corresponding Source for a work in source code form is that
|
| 140 |
+
same work.
|
| 141 |
+
|
| 142 |
+
2. Basic Permissions.
|
| 143 |
+
|
| 144 |
+
All rights granted under this License are granted for the term of
|
| 145 |
+
copyright on the Program, and are irrevocable provided the stated
|
| 146 |
+
conditions are met. This License explicitly affirms your unlimited
|
| 147 |
+
permission to run the unmodified Program. The output from running a
|
| 148 |
+
covered work is covered by this License only if the output, given its
|
| 149 |
+
content, constitutes a covered work. This License acknowledges your
|
| 150 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
| 151 |
+
|
| 152 |
+
You may make, run and propagate covered works that you do not
|
| 153 |
+
convey, without conditions so long as your license otherwise remains
|
| 154 |
+
in force. You may convey covered works to others for the sole purpose
|
| 155 |
+
of having them make modifications exclusively for you, or provide you
|
| 156 |
+
with facilities for running those works, provided that you comply with
|
| 157 |
+
the terms of this License in conveying all material for which you do
|
| 158 |
+
not control copyright. Those thus making or running the covered works
|
| 159 |
+
for you must do so exclusively on your behalf, under your direction
|
| 160 |
+
and control, on terms that prohibit them from making any copies of
|
| 161 |
+
your copyrighted material outside their relationship with you.
|
| 162 |
+
|
| 163 |
+
Conveying under any other circumstances is permitted solely under
|
| 164 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
| 165 |
+
makes it unnecessary.
|
| 166 |
+
|
| 167 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
| 168 |
+
|
| 169 |
+
No covered work shall be deemed part of an effective technological
|
| 170 |
+
measure under any applicable law fulfilling obligations under article
|
| 171 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
| 172 |
+
similar laws prohibiting or restricting circumvention of such
|
| 173 |
+
measures.
|
| 174 |
+
|
| 175 |
+
When you convey a covered work, you waive any legal power to forbid
|
| 176 |
+
circumvention of technological measures to the extent such circumvention
|
| 177 |
+
is effected by exercising rights under this License with respect to
|
| 178 |
+
the covered work, and you disclaim any intention to limit operation or
|
| 179 |
+
modification of the work as a means of enforcing, against the work's
|
| 180 |
+
users, your or third parties' legal rights to forbid circumvention of
|
| 181 |
+
technological measures.
|
| 182 |
+
|
| 183 |
+
4. Conveying Verbatim Copies.
|
| 184 |
+
|
| 185 |
+
You may convey verbatim copies of the Program's source code as you
|
| 186 |
+
receive it, in any medium, provided that you conspicuously and
|
| 187 |
+
appropriately publish on each copy an appropriate copyright notice;
|
| 188 |
+
keep intact all notices stating that this License and any
|
| 189 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
| 190 |
+
keep intact all notices of the absence of any warranty; and give all
|
| 191 |
+
recipients a copy of this License along with the Program.
|
| 192 |
+
|
| 193 |
+
You may charge any price or no price for each copy that you convey,
|
| 194 |
+
and you may offer support or warranty protection for a fee.
|
| 195 |
+
|
| 196 |
+
5. Conveying Modified Source Versions.
|
| 197 |
+
|
| 198 |
+
You may convey a work based on the Program, or the modifications to
|
| 199 |
+
produce it from the Program, in the form of source code under the
|
| 200 |
+
terms of section 4, provided that you also meet all of these conditions:
|
| 201 |
+
|
| 202 |
+
a) The work must carry prominent notices stating that you modified
|
| 203 |
+
it, and giving a relevant date.
|
| 204 |
+
|
| 205 |
+
b) The work must carry prominent notices stating that it is
|
| 206 |
+
released under this License and any conditions added under section
|
| 207 |
+
7. This requirement modifies the requirement in section 4 to
|
| 208 |
+
"keep intact all notices".
|
| 209 |
+
|
| 210 |
+
c) You must license the entire work, as a whole, under this
|
| 211 |
+
License to anyone who comes into possession of a copy. This
|
| 212 |
+
License will therefore apply, along with any applicable section 7
|
| 213 |
+
additional terms, to the whole of the work, and all its parts,
|
| 214 |
+
regardless of how they are packaged. This License gives no
|
| 215 |
+
permission to license the work in any other way, but it does not
|
| 216 |
+
invalidate such permission if you have separately received it.
|
| 217 |
+
|
| 218 |
+
d) If the work has interactive user interfaces, each must display
|
| 219 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
| 220 |
+
interfaces that do not display Appropriate Legal Notices, your
|
| 221 |
+
work need not make them do so.
|
| 222 |
+
|
| 223 |
+
A compilation of a covered work with other separate and independent
|
| 224 |
+
works, which are not by their nature extensions of the covered work,
|
| 225 |
+
and which are not combined with it such as to form a larger program,
|
| 226 |
+
in or on a volume of a storage or distribution medium, is called an
|
| 227 |
+
"aggregate" if the compilation and its resulting copyright are not
|
| 228 |
+
used to limit the access or legal rights of the compilation's users
|
| 229 |
+
beyond what the individual works permit. Inclusion of a covered work
|
| 230 |
+
in an aggregate does not cause this License to apply to the other
|
| 231 |
+
parts of the aggregate.
|
| 232 |
+
|
| 233 |
+
6. Conveying Non-Source Forms.
|
| 234 |
+
|
| 235 |
+
You may convey a covered work in object code form under the terms
|
| 236 |
+
of sections 4 and 5, provided that you also convey the
|
| 237 |
+
machine-readable Corresponding Source under the terms of this License,
|
| 238 |
+
in one of these ways:
|
| 239 |
+
|
| 240 |
+
a) Convey the object code in, or embodied in, a physical product
|
| 241 |
+
(including a physical distribution medium), accompanied by the
|
| 242 |
+
Corresponding Source fixed on a durable physical medium
|
| 243 |
+
customarily used for software interchange.
|
| 244 |
+
|
| 245 |
+
b) Convey the object code in, or embodied in, a physical product
|
| 246 |
+
(including a physical distribution medium), accompanied by a
|
| 247 |
+
written offer, valid for at least three years and valid for as
|
| 248 |
+
long as you offer spare parts or customer support for that product
|
| 249 |
+
model, to give anyone who possesses the object code either (1) a
|
| 250 |
+
copy of the Corresponding Source for all the software in the
|
| 251 |
+
product that is covered by this License, on a durable physical
|
| 252 |
+
medium customarily used for software interchange, for a price no
|
| 253 |
+
more than your reasonable cost of physically performing this
|
| 254 |
+
conveying of source, or (2) access to copy the
|
| 255 |
+
Corresponding Source from a network server at no charge.
|
| 256 |
+
|
| 257 |
+
c) Convey individual copies of the object code with a copy of the
|
| 258 |
+
written offer to provide the Corresponding Source. This
|
| 259 |
+
alternative is allowed only occasionally and noncommercially, and
|
| 260 |
+
only if you received the object code with such an offer, in accord
|
| 261 |
+
with subsection 6b.
|
| 262 |
+
|
| 263 |
+
d) Convey the object code by offering access from a designated
|
| 264 |
+
place (gratis or for a charge), and offer equivalent access to the
|
| 265 |
+
Corresponding Source in the same way through the same place at no
|
| 266 |
+
further charge. You need not require recipients to copy the
|
| 267 |
+
Corresponding Source along with the object code. If the place to
|
| 268 |
+
copy the object code is a network server, the Corresponding Source
|
| 269 |
+
may be on a different server (operated by you or a third party)
|
| 270 |
+
that supports equivalent copying facilities, provided you maintain
|
| 271 |
+
clear directions next to the object code saying where to find the
|
| 272 |
+
Corresponding Source. Regardless of what server hosts the
|
| 273 |
+
Corresponding Source, you remain obligated to ensure that it is
|
| 274 |
+
available for as long as needed to satisfy these requirements.
|
| 275 |
+
|
| 276 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
| 277 |
+
you inform other peers where the object code and Corresponding
|
| 278 |
+
Source of the work are being offered to the general public at no
|
| 279 |
+
charge under subsection 6d.
|
| 280 |
+
|
| 281 |
+
A separable portion of the object code, whose source code is excluded
|
| 282 |
+
from the Corresponding Source as a System Library, need not be
|
| 283 |
+
included in conveying the object code work.
|
| 284 |
+
|
| 285 |
+
A "User Product" is either (1) a "consumer product", which means any
|
| 286 |
+
tangible personal property which is normally used for personal, family,
|
| 287 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
| 288 |
+
into a dwelling. In determining whether a product is a consumer product,
|
| 289 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
| 290 |
+
product received by a particular user, "normally used" refers to a
|
| 291 |
+
typical or common use of that class of product, regardless of the status
|
| 292 |
+
of the particular user or of the way in which the particular user
|
| 293 |
+
actually uses, or expects or is expected to use, the product. A product
|
| 294 |
+
is a consumer product regardless of whether the product has substantial
|
| 295 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
| 296 |
+
the only significant mode of use of the product.
|
| 297 |
+
|
| 298 |
+
"Installation Information" for a User Product means any methods,
|
| 299 |
+
procedures, authorization keys, or other information required to install
|
| 300 |
+
and execute modified versions of a covered work in that User Product from
|
| 301 |
+
a modified version of its Corresponding Source. The information must
|
| 302 |
+
suffice to ensure that the continued functioning of the modified object
|
| 303 |
+
code is in no case prevented or interfered with solely because
|
| 304 |
+
modification has been made.
|
| 305 |
+
|
| 306 |
+
If you convey an object code work under this section in, or with, or
|
| 307 |
+
specifically for use in, a User Product, and the conveying occurs as
|
| 308 |
+
part of a transaction in which the right of possession and use of the
|
| 309 |
+
User Product is transferred to the recipient in perpetuity or for a
|
| 310 |
+
fixed term (regardless of how the transaction is characterized), the
|
| 311 |
+
Corresponding Source conveyed under this section must be accompanied
|
| 312 |
+
by the Installation Information. But this requirement does not apply
|
| 313 |
+
if neither you nor any third party retains the ability to install
|
| 314 |
+
modified object code on the User Product (for example, the work has
|
| 315 |
+
been installed in ROM).
|
| 316 |
+
|
| 317 |
+
The requirement to provide Installation Information does not include a
|
| 318 |
+
requirement to continue to provide support service, warranty, or updates
|
| 319 |
+
for a work that has been modified or installed by the recipient, or for
|
| 320 |
+
the User Product in which it has been modified or installed. Access to a
|
| 321 |
+
network may be denied when the modification itself materially and
|
| 322 |
+
adversely affects the operation of the network or violates the rules and
|
| 323 |
+
protocols for communication across the network.
|
| 324 |
+
|
| 325 |
+
Corresponding Source conveyed, and Installation Information provided,
|
| 326 |
+
in accord with this section must be in a format that is publicly
|
| 327 |
+
documented (and with an implementation available to the public in
|
| 328 |
+
source code form), and must require no special password or key for
|
| 329 |
+
unpacking, reading or copying.
|
| 330 |
+
|
| 331 |
+
7. Additional Terms.
|
| 332 |
+
|
| 333 |
+
"Additional permissions" are terms that supplement the terms of this
|
| 334 |
+
License by making exceptions from one or more of its conditions.
|
| 335 |
+
Additional permissions that are applicable to the entire Program shall
|
| 336 |
+
be treated as though they were included in this License, to the extent
|
| 337 |
+
that they are valid under applicable law. If additional permissions
|
| 338 |
+
apply only to part of the Program, that part may be used separately
|
| 339 |
+
under those permissions, but the entire Program remains governed by
|
| 340 |
+
this License without regard to the additional permissions.
|
| 341 |
+
|
| 342 |
+
When you convey a copy of a covered work, you may at your option
|
| 343 |
+
remove any additional permissions from that copy, or from any part of
|
| 344 |
+
it. (Additional permissions may be written to require their own
|
| 345 |
+
removal in certain cases when you modify the work.) You may place
|
| 346 |
+
additional permissions on material, added by you to a covered work,
|
| 347 |
+
for which you have or can give appropriate copyright permission.
|
| 348 |
+
|
| 349 |
+
Notwithstanding any other provision of this License, for material you
|
| 350 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
| 351 |
+
that material) supplement the terms of this License with terms:
|
| 352 |
+
|
| 353 |
+
a) Disclaiming warranty or limiting liability differently from the
|
| 354 |
+
terms of sections 15 and 16 of this License; or
|
| 355 |
+
|
| 356 |
+
b) Requiring preservation of specified reasonable legal notices or
|
| 357 |
+
author attributions in that material or in the Appropriate Legal
|
| 358 |
+
Notices displayed by works containing it; or
|
| 359 |
+
|
| 360 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
| 361 |
+
requiring that modified versions of such material be marked in
|
| 362 |
+
reasonable ways as different from the original version; or
|
| 363 |
+
|
| 364 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
| 365 |
+
authors of the material; or
|
| 366 |
+
|
| 367 |
+
e) Declining to grant rights under trademark law for use of some
|
| 368 |
+
trade names, trademarks, or service marks; or
|
| 369 |
+
|
| 370 |
+
f) Requiring indemnification of licensors and authors of that
|
| 371 |
+
material by anyone who conveys the material (or modified versions of
|
| 372 |
+
it) with contractual assumptions of liability to the recipient, for
|
| 373 |
+
any liability that these contractual assumptions directly impose on
|
| 374 |
+
those licensors and authors.
|
| 375 |
+
|
| 376 |
+
All other non-permissive additional terms are considered "further
|
| 377 |
+
restrictions" within the meaning of section 10. If the Program as you
|
| 378 |
+
received it, or any part of it, contains a notice stating that it is
|
| 379 |
+
governed by this License along with a term that is a further
|
| 380 |
+
restriction, you may remove that term. If a license document contains
|
| 381 |
+
a further restriction but permits relicensing or conveying under this
|
| 382 |
+
License, you may add to a covered work material governed by the terms
|
| 383 |
+
of that license document, provided that the further restriction does
|
| 384 |
+
not survive such relicensing or conveying.
|
| 385 |
+
|
| 386 |
+
If you add terms to a covered work in accord with this section, you
|
| 387 |
+
must place, in the relevant source files, a statement of the
|
| 388 |
+
additional terms that apply to those files, or a notice indicating
|
| 389 |
+
where to find the applicable terms.
|
| 390 |
+
|
| 391 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
| 392 |
+
form of a separately written license, or stated as exceptions;
|
| 393 |
+
the above requirements apply either way.
|
| 394 |
+
|
| 395 |
+
8. Termination.
|
| 396 |
+
|
| 397 |
+
You may not propagate or modify a covered work except as expressly
|
| 398 |
+
provided under this License. Any attempt otherwise to propagate or
|
| 399 |
+
modify it is void, and will automatically terminate your rights under
|
| 400 |
+
this License (including any patent licenses granted under the third
|
| 401 |
+
paragraph of section 11).
|
| 402 |
+
|
| 403 |
+
However, if you cease all violation of this License, then your
|
| 404 |
+
license from a particular copyright holder is reinstated (a)
|
| 405 |
+
provisionally, unless and until the copyright holder explicitly and
|
| 406 |
+
finally terminates your license, and (b) permanently, if the copyright
|
| 407 |
+
holder fails to notify you of the violation by some reasonable means
|
| 408 |
+
prior to 60 days after the cessation.
|
| 409 |
+
|
| 410 |
+
Moreover, your license from a particular copyright holder is
|
| 411 |
+
reinstated permanently if the copyright holder notifies you of the
|
| 412 |
+
violation by some reasonable means, this is the first time you have
|
| 413 |
+
received notice of violation of this License (for any work) from that
|
| 414 |
+
copyright holder, and you cure the violation prior to 30 days after
|
| 415 |
+
your receipt of the notice.
|
| 416 |
+
|
| 417 |
+
Termination of your rights under this section does not terminate the
|
| 418 |
+
licenses of parties who have received copies or rights from you under
|
| 419 |
+
this License. If your rights have been terminated and not permanently
|
| 420 |
+
reinstated, you do not qualify to receive new licenses for the same
|
| 421 |
+
material under section 10.
|
| 422 |
+
|
| 423 |
+
9. Acceptance Not Required for Having Copies.
|
| 424 |
+
|
| 425 |
+
You are not required to accept this License in order to receive or
|
| 426 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
| 427 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
| 428 |
+
to receive a copy likewise does not require acceptance. However,
|
| 429 |
+
nothing other than this License grants you permission to propagate or
|
| 430 |
+
modify any covered work. These actions infringe copyright if you do
|
| 431 |
+
not accept this License. Therefore, by modifying or propagating a
|
| 432 |
+
covered work, you indicate your acceptance of this License to do so.
|
| 433 |
+
|
| 434 |
+
10. Automatic Licensing of Downstream Recipients.
|
| 435 |
+
|
| 436 |
+
Each time you convey a covered work, the recipient automatically
|
| 437 |
+
receives a license from the original licensors, to run, modify and
|
| 438 |
+
propagate that work, subject to this License. You are not responsible
|
| 439 |
+
for enforcing compliance by third parties with this License.
|
| 440 |
+
|
| 441 |
+
An "entity transaction" is a transaction transferring control of an
|
| 442 |
+
organization, or substantially all assets of one, or subdividing an
|
| 443 |
+
organization, or merging organizations. If propagation of a covered
|
| 444 |
+
work results from an entity transaction, each party to that
|
| 445 |
+
transaction who receives a copy of the work also receives whatever
|
| 446 |
+
licenses to the work the party's predecessor in interest had or could
|
| 447 |
+
give under the previous paragraph, plus a right to possession of the
|
| 448 |
+
Corresponding Source of the work from the predecessor in interest, if
|
| 449 |
+
the predecessor has it or can get it with reasonable efforts.
|
| 450 |
+
|
| 451 |
+
You may not impose any further restrictions on the exercise of the
|
| 452 |
+
rights granted or affirmed under this License. For example, you may
|
| 453 |
+
not impose a license fee, royalty, or other charge for exercise of
|
| 454 |
+
rights granted under this License, and you may not initiate litigation
|
| 455 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
| 456 |
+
any patent claim is infringed by making, using, selling, offering for
|
| 457 |
+
sale, or importing the Program or any portion of it.
|
| 458 |
+
|
| 459 |
+
11. Patents.
|
| 460 |
+
|
| 461 |
+
A "contributor" is a copyright holder who authorizes use under this
|
| 462 |
+
License of the Program or a work on which the Program is based. The
|
| 463 |
+
work thus licensed is called the contributor's "contributor version".
|
| 464 |
+
|
| 465 |
+
A contributor's "essential patent claims" are all patent claims
|
| 466 |
+
owned or controlled by the contributor, whether already acquired or
|
| 467 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
| 468 |
+
by this License, of making, using, or selling its contributor version,
|
| 469 |
+
but do not include claims that would be infringed only as a
|
| 470 |
+
consequence of further modification of the contributor version. For
|
| 471 |
+
purposes of this definition, "control" includes the right to grant
|
| 472 |
+
patent sublicenses in a manner consistent with the requirements of
|
| 473 |
+
this License.
|
| 474 |
+
|
| 475 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
| 476 |
+
patent license under the contributor's essential patent claims, to
|
| 477 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
| 478 |
+
propagate the contents of its contributor version.
|
| 479 |
+
|
| 480 |
+
In the following three paragraphs, a "patent license" is any express
|
| 481 |
+
agreement or commitment, however denominated, not to enforce a patent
|
| 482 |
+
(such as an express permission to practice a patent or covenant not to
|
| 483 |
+
sue for patent infringement). To "grant" such a patent license to a
|
| 484 |
+
party means to make such an agreement or commitment not to enforce a
|
| 485 |
+
patent against the party.
|
| 486 |
+
|
| 487 |
+
If you convey a covered work, knowingly relying on a patent license,
|
| 488 |
+
and the Corresponding Source of the work is not available for anyone
|
| 489 |
+
to copy, free of charge and under the terms of this License, through a
|
| 490 |
+
publicly available network server or other readily accessible means,
|
| 491 |
+
then you must either (1) cause the Corresponding Source to be so
|
| 492 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
| 493 |
+
patent license for this particular work, or (3) arrange, in a manner
|
| 494 |
+
consistent with the requirements of this License, to extend the patent
|
| 495 |
+
license to downstream recipients. "Knowingly relying" means you have
|
| 496 |
+
actual knowledge that, but for the patent license, your conveying the
|
| 497 |
+
covered work in a country, or your recipient's use of the covered work
|
| 498 |
+
in a country, would infringe one or more identifiable patents in that
|
| 499 |
+
country that you have reason to believe are valid.
|
| 500 |
+
|
| 501 |
+
If, pursuant to or in connection with a single transaction or
|
| 502 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
| 503 |
+
covered work, and grant a patent license to some of the parties
|
| 504 |
+
receiving the covered work authorizing them to use, propagate, modify
|
| 505 |
+
or convey a specific copy of the covered work, then the patent license
|
| 506 |
+
you grant is automatically extended to all recipients of the covered
|
| 507 |
+
work and works based on it.
|
| 508 |
+
|
| 509 |
+
A patent license is "discriminatory" if it does not include within
|
| 510 |
+
the scope of its coverage, prohibits the exercise of, or is
|
| 511 |
+
conditioned on the non-exercise of one or more of the rights that are
|
| 512 |
+
specifically granted under this License. You may not convey a covered
|
| 513 |
+
work if you are a party to an arrangement with a third party that is
|
| 514 |
+
in the business of distributing software, under which you make payment
|
| 515 |
+
to the third party based on the extent of your activity of conveying
|
| 516 |
+
the work, and under which the third party grants, to any of the
|
| 517 |
+
parties who would receive the covered work from you, a discriminatory
|
| 518 |
+
patent license (a) in connection with copies of the covered work
|
| 519 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
| 520 |
+
for and in connection with specific products or compilations that
|
| 521 |
+
contain the covered work, unless you entered into that arrangement,
|
| 522 |
+
or that patent license was granted, prior to 28 March 2007.
|
| 523 |
+
|
| 524 |
+
Nothing in this License shall be construed as excluding or limiting
|
| 525 |
+
any implied license or other defenses to infringement that may
|
| 526 |
+
otherwise be available to you under applicable patent law.
|
| 527 |
+
|
| 528 |
+
12. No Surrender of Others' Freedom.
|
| 529 |
+
|
| 530 |
+
If conditions are imposed on you (whether by court order, agreement or
|
| 531 |
+
otherwise) that contradict the conditions of this License, they do not
|
| 532 |
+
excuse you from the conditions of this License. If you cannot convey a
|
| 533 |
+
covered work so as to satisfy simultaneously your obligations under this
|
| 534 |
+
License and any other pertinent obligations, then as a consequence you may
|
| 535 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
| 536 |
+
to collect a royalty for further conveying from those to whom you convey
|
| 537 |
+
the Program, the only way you could satisfy both those terms and this
|
| 538 |
+
License would be to refrain entirely from conveying the Program.
|
| 539 |
+
|
| 540 |
+
13. Remote Network Interaction; Use with the GNU General Public License.
|
| 541 |
+
|
| 542 |
+
Notwithstanding any other provision of this License, if you modify the
|
| 543 |
+
Program, your modified version must prominently offer all users
|
| 544 |
+
interacting with it remotely through a computer network (if your version
|
| 545 |
+
supports such interaction) an opportunity to receive the Corresponding
|
| 546 |
+
Source of your version by providing access to the Corresponding Source
|
| 547 |
+
from a network server at no charge, through some standard or customary
|
| 548 |
+
means of facilitating copying of software. This Corresponding Source
|
| 549 |
+
shall include the Corresponding Source for any work covered by version 3
|
| 550 |
+
of the GNU General Public License that is incorporated pursuant to the
|
| 551 |
+
following paragraph.
|
| 552 |
+
|
| 553 |
+
Notwithstanding any other provision of this License, you have
|
| 554 |
+
permission to link or combine any covered work with a work licensed
|
| 555 |
+
under version 3 of the GNU General Public License into a single
|
| 556 |
+
combined work, and to convey the resulting work. The terms of this
|
| 557 |
+
License will continue to apply to the part which is the covered work,
|
| 558 |
+
but the work with which it is combined will remain governed by version
|
| 559 |
+
3 of the GNU General Public License.
|
| 560 |
+
|
| 561 |
+
14. Revised Versions of this License.
|
| 562 |
+
|
| 563 |
+
The Free Software Foundation may publish revised and/or new versions of
|
| 564 |
+
the GNU Affero General Public License from time to time. Such new versions
|
| 565 |
+
will be similar in spirit to the present version, but may differ in detail to
|
| 566 |
+
address new problems or concerns.
|
| 567 |
+
|
| 568 |
+
Each version is given a distinguishing version number. If the
|
| 569 |
+
Program specifies that a certain numbered version of the GNU Affero General
|
| 570 |
+
Public License "or any later version" applies to it, you have the
|
| 571 |
+
option of following the terms and conditions either of that numbered
|
| 572 |
+
version or of any later version published by the Free Software
|
| 573 |
+
Foundation. If the Program does not specify a version number of the
|
| 574 |
+
GNU Affero General Public License, you may choose any version ever published
|
| 575 |
+
by the Free Software Foundation.
|
| 576 |
+
|
| 577 |
+
If the Program specifies that a proxy can decide which future
|
| 578 |
+
versions of the GNU Affero General Public License can be used, that proxy's
|
| 579 |
+
public statement of acceptance of a version permanently authorizes you
|
| 580 |
+
to choose that version for the Program.
|
| 581 |
+
|
| 582 |
+
Later license versions may give you additional or different
|
| 583 |
+
permissions. However, no additional obligations are imposed on any
|
| 584 |
+
author or copyright holder as a result of your choosing to follow a
|
| 585 |
+
later version.
|
| 586 |
+
|
| 587 |
+
15. Disclaimer of Warranty.
|
| 588 |
+
|
| 589 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
| 590 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
| 591 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
| 592 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
| 593 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 594 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
| 595 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
| 596 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
| 597 |
+
|
| 598 |
+
16. Limitation of Liability.
|
| 599 |
+
|
| 600 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
| 601 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
| 602 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
| 603 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
| 604 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
| 605 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
| 606 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
| 607 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
| 608 |
+
SUCH DAMAGES.
|
| 609 |
+
|
| 610 |
+
17. Interpretation of Sections 15 and 16.
|
| 611 |
+
|
| 612 |
+
If the disclaimer of warranty and limitation of liability provided
|
| 613 |
+
above cannot be given local legal effect according to their terms,
|
| 614 |
+
reviewing courts shall apply local law that most closely approximates
|
| 615 |
+
an absolute waiver of all civil liability in connection with the
|
| 616 |
+
Program, unless a warranty or assumption of liability accompanies a
|
| 617 |
+
copy of the Program in return for a fee.
|
| 618 |
+
|
| 619 |
+
END OF TERMS AND CONDITIONS
|
| 620 |
+
|
| 621 |
+
How to Apply These Terms to Your New Programs
|
| 622 |
+
|
| 623 |
+
If you develop a new program, and you want it to be of the greatest
|
| 624 |
+
possible use to the public, the best way to achieve this is to make it
|
| 625 |
+
free software which everyone can redistribute and change under these terms.
|
| 626 |
+
|
| 627 |
+
To do so, attach the following notices to the program. It is safest
|
| 628 |
+
to attach them to the start of each source file to most effectively
|
| 629 |
+
state the exclusion of warranty; and each file should have at least
|
| 630 |
+
the "copyright" line and a pointer to where the full notice is found.
|
| 631 |
+
|
| 632 |
+
<one line to give the program's name and a brief idea of what it does.>
|
| 633 |
+
Copyright (C) <year> <name of author>
|
| 634 |
+
|
| 635 |
+
This program is free software: you can redistribute it and/or modify
|
| 636 |
+
it under the terms of the GNU Affero General Public License as published by
|
| 637 |
+
the Free Software Foundation, either version 3 of the License, or
|
| 638 |
+
(at your option) any later version.
|
| 639 |
+
|
| 640 |
+
This program is distributed in the hope that it will be useful,
|
| 641 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 642 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 643 |
+
GNU Affero General Public License for more details.
|
| 644 |
+
|
| 645 |
+
You should have received a copy of the GNU Affero General Public License
|
| 646 |
+
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
| 647 |
+
|
| 648 |
+
Also add information on how to contact you by electronic and paper mail.
|
| 649 |
+
|
| 650 |
+
If your software can interact with users remotely through a computer
|
| 651 |
+
network, you should also make sure that it provides a way for users to
|
| 652 |
+
get its source. For example, if your program is a web application, its
|
| 653 |
+
interface could display a "Source" link that leads users to an archive
|
| 654 |
+
of the code. There are many ways you could offer source, and different
|
| 655 |
+
solutions will be better for different programs; see section 13 for the
|
| 656 |
+
specific requirements.
|
| 657 |
+
|
| 658 |
+
You should also get your employer (if you work as a programmer) or school,
|
| 659 |
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
| 660 |
+
For more information on this, and how to apply and follow the GNU AGPL, see
|
| 661 |
+
<https://www.gnu.org/licenses/>.
|
LICENSES/Apache-2.0.txt
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright [yyyy] [name of copyright owner]
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
LICENSE_POLICY.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Model Zoo licensing policy
|
| 2 |
+
|
| 3 |
+
## Default grant and scope
|
| 4 |
+
|
| 5 |
+
The model author selects **GNU Affero General Public License version 3 or any
|
| 6 |
+
later version (AGPL-3.0-or-later)** for the original MAAP3D model contributions,
|
| 7 |
+
to the extent the author holds the necessary rights. See [LICENSE](LICENSE)
|
| 8 |
+
for the full terms. This follows the license of original MAAP3D package code.
|
| 9 |
+
|
| 10 |
+
This grant covers only those original contributions. It does not replace,
|
| 11 |
+
expand or remove licenses or restrictions on upstream weights, configuration
|
| 12 |
+
material, software or training datasets. An `or-later` grant is not asserted
|
| 13 |
+
on behalf of an upstream copyright holder.
|
| 14 |
+
|
| 15 |
+
Each model's metadata records this scoped default in `license.identifier` and
|
| 16 |
+
sets `complete_artifact_license_verified: false` while upstream review is
|
| 17 |
+
pending. That identifier alone must not be interpreted as a verified license
|
| 18 |
+
for every component of the complete checkpoint. Supplied models remain drafts.
|
| 19 |
+
|
| 20 |
+
## Upstream material and publication review
|
| 21 |
+
|
| 22 |
+
- Ultralytics states that its trained models default to AGPL-3.0. Confirm the
|
| 23 |
+
exact base model, version and grant for each detector; do not assume its
|
| 24 |
+
terms permit relicensing all upstream material as AGPL-3.0-or-later.
|
| 25 |
+
[Ultralytics licensing](https://www.ultralytics.com/license).
|
| 26 |
+
- OpenMMLab-derived configuration material retains its Apache-2.0 terms.
|
| 27 |
+
See [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) and
|
| 28 |
+
[LICENSES/Apache-2.0.txt](LICENSES/Apache-2.0.txt).
|
| 29 |
+
- Training-dataset and checkpoint terms are separate from the licenses of
|
| 30 |
+
their training libraries. A dataset citation is not permission to redistribute
|
| 31 |
+
a checkpoint. Review exact versions and any separate permissions obtained.
|
| 32 |
+
- ChimpACT's repository labels its dataset CC BY-NC 4.0. The ape pose model's
|
| 33 |
+
author reports ChimpACT pretraining, so check the actual data/checkpoint grant
|
| 34 |
+
and any separate permissions before publication. The dataset label alone
|
| 35 |
+
does not determine the legal status of the trained model weights.
|
| 36 |
+
[ChimpACT source](https://github.com/ShirleyMaxx/ChimpACT).
|
| 37 |
+
- The author identifies CUB as a bird-model training source but has not specified
|
| 38 |
+
its version. CUB-200-2011's official page restricts the images to non-commercial
|
| 39 |
+
research and education. Confirm which release and permissions were used and
|
| 40 |
+
their relevance to the distributed weights.
|
| 41 |
+
[CUB-200-2011 terms](https://www.vision.caltech.edu/datasets/cub_200_2011/).
|
| 42 |
+
|
| 43 |
+
Before publishing a model as ready, resolve its upstream terms and applicable
|
| 44 |
+
corresponding-source obligations, and provide the relevant model definitions,
|
| 45 |
+
configs and training code required by those terms. This local documentation
|
| 46 |
+
update does not establish that those release steps have been completed.
|
| 47 |
+
|
| 48 |
+
## Citation requests
|
| 49 |
+
|
| 50 |
+
Please cite MAAP3D for all models. Additionally cite ChimpACT and OpenApePose
|
| 51 |
+
for ape pose, the matching CUB release and Animal Kingdom for bird pose,
|
| 52 |
+
3D-SOCS for Greti, CHIRP for jays, and 3D-POP for pigeons, as requested by
|
| 53 |
+
the model author. Include the model ID and revision used. See
|
| 54 |
+
[CITATIONS.md](CITATIONS.md).
|
| 55 |
+
|
| 56 |
+
These are scholarly citation requests, not extra conditions appended to AGPL.
|
| 57 |
+
They do not replace any upstream attribution or notice requirements.
|
| 58 |
+
|
| 59 |
+
## Hugging Face metadata
|
| 60 |
+
|
| 61 |
+
The root card uses `license: other`, `license_name` and a link to this policy
|
| 62 |
+
because the repository contains scoped default grants, third-party exceptions
|
| 63 |
+
and model-specific pending reviews. This is a license index, not a new custom
|
| 64 |
+
license or a claim that every artifact has one uniform verified license.
|
README.md
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: maap3d-model-zoo-mixed-licenses
|
| 4 |
+
license_link: https://huggingface.co/MAAP3D/ModelZoo/blob/main/LICENSE_POLICY.md
|
| 5 |
+
tags:
|
| 6 |
+
- maap3d
|
| 7 |
+
- model-zoo
|
| 8 |
+
- animal
|
| 9 |
+
- birds
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# MAAP3D Model Zoo
|
| 13 |
+
|
| 14 |
+
Pretrained detection and keypoint models for MAAP3D, hosted in
|
| 15 |
+
[MAAP3D/ModelZoo](https://huggingface.co/MAAP3D/ModelZoo). The zoo includes six
|
| 16 |
+
pose config/checkpoint pairs and four detector checkpoints. Supplied models
|
| 17 |
+
are drafts; inference has not been validated for this release.
|
| 18 |
+
|
| 19 |
+
## Model slots
|
| 20 |
+
|
| 21 |
+
| Model ID | Folder | Task | Status |
|
| 22 |
+
| --- | --- | --- | --- |
|
| 23 |
+
| `pigeon-detection` | [Pigeon detection](pigeons/detection/README.md) | Bounding-box detection | Draft; files supplied, inference unvalidated |
|
| 24 |
+
| `pigeon-pose` | [Pigeon pose](pigeons/pose/README.md) | Keypoint estimation | Draft; files supplied, inference unvalidated |
|
| 25 |
+
| `jay-detection` | [Jay detection](jays/detection/README.md) | Bounding-box detection | Draft; files supplied, inference unvalidated |
|
| 26 |
+
| `jay-pose` | [Jay pose](jays/pose/README.md) | Keypoint estimation | Draft; files supplied, inference unvalidated |
|
| 27 |
+
| `crow-detection` | [Crow detection](crow/detection/README.md) | Bounding-box detection | Draft; files supplied, inference unvalidated |
|
| 28 |
+
| `crow-pose` | [Crow pose](crow/pose/README.md) | Keypoint estimation | Draft; files supplied, inference unvalidated |
|
| 29 |
+
| `bird-detection` | Not supplied | Bounding-box detection | No detector supplied |
|
| 30 |
+
| `bird-pose` | [Bird pose](bird/pose/README.md) | Keypoint estimation | Draft; files supplied, inference unvalidated |
|
| 31 |
+
| `ape-detection` | [Ape detection](ape/detection/README.md) | Bounding-box detection | Draft; files supplied, inference unvalidated |
|
| 32 |
+
| `ape-pose` | [Ape pose](ape/pose/README.md) | Keypoint estimation | Draft; files supplied, inference unvalidated |
|
| 33 |
+
| `greti-detection` | [Greti detection](greti/detection/README.md) | Bounding-box detection | Template; detector not supplied |
|
| 34 |
+
| `greti-pose` | [Greti pose](greti/pose/README.md) | Keypoint estimation | Draft; files supplied, inference unvalidated |
|
| 35 |
+
|
| 36 |
+
Species coverage and training sources are supplied by the model author and
|
| 37 |
+
documented in the individual model cards. Pose technical metadata is extracted
|
| 38 |
+
from the supplied configs; detector architecture and class labels remain
|
| 39 |
+
unconfirmed. Qualitative performance statements are author-reported.
|
| 40 |
+
|
| 41 |
+
## Model groups
|
| 42 |
+
|
| 43 |
+
| Group | Author-provided description / coverage | Requested citations |
|
| 44 |
+
| --- | --- | --- |
|
| 45 |
+
| ape | Generalized ape model. Coverage: chimpanzees, bonobos. | MAAP3D; ChimpACT and OpenApePose for pose |
|
| 46 |
+
| bird | Generalized bird model. Coverage: a range of birds. | MAAP3D; CUB (matching release) and Animal Kingdom for pose |
|
| 47 |
+
| crow | Model trained on crow data. Coverage: large-billed crows. | MAAP3D |
|
| 48 |
+
| greti | Great tit and blue tit model. Coverage: great tits, blue tits. | MAAP3D, 3D-SOCS |
|
| 49 |
+
| jays | Siberian jay model family trained on the CHIRP dataset. Coverage: Siberian jays. | MAAP3D, CHIRP |
|
| 50 |
+
| pigeons | Pigeon model family trained on the 3D-POP dataset. Coverage: pigeons. | MAAP3D, 3D-POP |
|
| 51 |
+
|
| 52 |
+
Training histories in these cards describe the author-provided pose training
|
| 53 |
+
sources. Detector-specific history is recorded separately where supplied.
|
| 54 |
+
|
| 55 |
+
## License and citation policy
|
| 56 |
+
|
| 57 |
+
The author-selected default is **AGPL-3.0-or-later for original MAAP3D model
|
| 58 |
+
contributions**, with upstream model/code/config/dataset terms retained.
|
| 59 |
+
The complete artifacts' upstream licensing review is pending. See
|
| 60 |
+
[LICENSE_POLICY.md](LICENSE_POLICY.md), [LICENSE](LICENSE), and
|
| 61 |
+
[THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md). OpenMMLab-derived configs
|
| 62 |
+
retain Apache-2.0 terms. The root card uses a mixed-license policy label;
|
| 63 |
+
it does not assert a uniform verified license for every artifact.
|
| 64 |
+
|
| 65 |
+
Please cite MAAP3D for every model. For ape pose, also cite ChimpACT and
|
| 66 |
+
OpenApePose; for bird pose, also cite the matching CUB release and Animal
|
| 67 |
+
Kingdom. Continue to cite 3D-SOCS for Greti, CHIRP for jays, and 3D-POP for
|
| 68 |
+
pigeons. See [CITATIONS.md](CITATIONS.md) and
|
| 69 |
+
[CITATIONS.bib](CITATIONS.bib). These are scholarly citation requests.
|
| 70 |
+
|
| 71 |
+
## Filenames and preparation status
|
| 72 |
+
|
| 73 |
+
Artifact names use the model ID as their stem, retaining the native extension:
|
| 74 |
+
`pigeon-detection.pt`, `pigeon-pose.pth`, and `pigeon-pose.py`, for example.
|
| 75 |
+
Each model's metadata records its original filenames, byte counts and SHA-256
|
| 76 |
+
hashes. Config and checkpoint contents are preserved.
|
| 77 |
+
|
| 78 |
+
- `template`: no model files supplied for this slot.
|
| 79 |
+
- `draft`: files supplied, but loading, predictions and detector/pose pairing
|
| 80 |
+
have not been validated. Metadata may still be incomplete.
|
| 81 |
+
- `ready`: files, required metadata and inference validation are complete.
|
| 82 |
+
|
| 83 |
+
No bird or greti detector checkpoint is supplied. All six supplied pose configs
|
| 84 |
+
specify top-down estimators requiring detection boxes. For these two pose models,
|
| 85 |
+
`detector_requirement: "required"` with `recommended_detector: null` means no
|
| 86 |
+
compatible detector has been supplied yet; it does not mean detection is optional.
|
| 87 |
+
|
| 88 |
+
## Add your models
|
| 89 |
+
|
| 90 |
+
1. Drop each inference checkpoint into its matching task folder. Use the model
|
| 91 |
+
ID as the filename stem and retain its native extension, such as
|
| 92 |
+
`pigeon-detection.pt` or `pigeon-pose.pth`. Name a pose config `pigeon-pose.py`.
|
| 93 |
+
2. For MMPose, include the actual inference config and every local config it
|
| 94 |
+
references. Remove dependencies on training-machine paths. A YOLO checkpoint
|
| 95 |
+
that embeds its configuration can leave `files.config` as `null`.
|
| 96 |
+
3. Edit that folder's `metadata.json`: set the weights/config paths and complete
|
| 97 |
+
the species, architecture, framework, labels, model license and other known
|
| 98 |
+
details. Paths are relative to the folder containing that metadata file.
|
| 99 |
+
4. Complete the model's README, including intended use, training data, evaluation,
|
| 100 |
+
limitations and an inference example using the actual files.
|
| 101 |
+
5. Verify loading and inference through MAAP3D in the documented environment.
|
| 102 |
+
Use `status: "draft"` once files are supplied. After required metadata and
|
| 103 |
+
inference validation are complete, change it to `"ready"` and update the table. This is a
|
| 104 |
+
preparation convention, not an implemented downloader API.
|
| 105 |
+
|
| 106 |
+
Do not create empty `.pt`, `.pth` or Python config placeholders. Missing paths
|
| 107 |
+
are represented by JSON `null`; unknown values should stay unknown.
|
| 108 |
+
|
| 109 |
+
## Metadata conventions
|
| 110 |
+
|
| 111 |
+
Each model folder contains one `metadata.json` with `schema_version: 1`.
|
| 112 |
+
This is an initial descriptive format; MAAP3D does not currently consume it.
|
| 113 |
+
|
| 114 |
+
- `model_id`: stable, unique identifier from the table above. When adding a
|
| 115 |
+
second architecture for the same task, give it a distinct ID and subfolder.
|
| 116 |
+
- `files.weights` / `files.config`: relative paths to the actual checkpoint and
|
| 117 |
+
main config. Use `null` while missing or when a separate config is unnecessary.
|
| 118 |
+
- `files.additional`: relative paths to any other files required for inference,
|
| 119 |
+
including local base configs. Keep all model dependencies in that model folder.
|
| 120 |
+
- `class_names`: names in the checkpoint's numeric class-ID order; do not infer
|
| 121 |
+
them from the folder name.
|
| 122 |
+
- `keypoint_names`: names in exact checkpoint output order. `skeleton` and
|
| 123 |
+
`flip_pairs` contain pairs of those **names**, not numeric indices. Define
|
| 124 |
+
anatomical left/right consistently and ensure the inference config agrees.
|
| 125 |
+
- `recommended_detector`: a model ID for a compatible top-down detector. The
|
| 126 |
+
provisional pose slots point to the same-group detector slot; compatibility
|
| 127 |
+
has not been tested. For top-down models, `detector_requirement: "required"`
|
| 128 |
+
distinguishes a missing detector from a model that needs no separate detector.
|
| 129 |
+
- `inference.input_size`: `[width, height]` in pixels when known. Thresholds are
|
| 130 |
+
model-specific; no recommended threshold is assumed.
|
| 131 |
+
- `compatibility`: versions actually tested, not an unverified support promise.
|
| 132 |
+
Record package names and version strings under `packages`.
|
| 133 |
+
- `evaluation.metrics`: named metric/value entries. Document units, thresholds,
|
| 134 |
+
evaluation split and procedure in the README; leave the object empty until
|
| 135 |
+
measured. Split held-out data by individual/session as appropriate to the use case.
|
| 136 |
+
- `license`: terms for this model's weights. Do not assume the MAAP3D package
|
| 137 |
+
license applies. Use an SPDX identifier when applicable, with a link or local
|
| 138 |
+
license file giving the actual terms.
|
| 139 |
+
|
| 140 |
+
## Remaining release metadata
|
| 141 |
+
|
| 142 |
+
- Exact base checkpoint identities, upstream grants and any separate permissions;
|
| 143 |
+
specifically review ChimpACT pretraining for ape pose and the CUB version used
|
| 144 |
+
for bird pose. Dataset terms do not automatically settle trained-weight terms.
|
| 145 |
+
- Detector architecture, ordered class labels and useful inference image sizes
|
| 146 |
+
and confidence thresholds.
|
| 147 |
+
- Training sample/individual/session counts, exact data versions, training recipe
|
| 148 |
+
and release/version label. Provide an exhaustive species list for the general
|
| 149 |
+
bird model if available; scientific names can be added later.
|
| 150 |
+
- Held-out quantitative metrics, evaluation split definitions, known failure cases
|
| 151 |
+
and tested environment versions, plus a small inference validation example.
|
| 152 |
+
- A preferred MAAP3D paper citation/DOI if available. A provisional software
|
| 153 |
+
reference is already included.
|
| 154 |
+
|
| 155 |
+
These follow-ups do not erase the supplied author metadata or change the draft
|
| 156 |
+
status. Checkpoint/config bytes and existing provenance hashes are preserved.
|
| 157 |
+
|
| 158 |
+
## Downloads
|
| 159 |
+
|
| 160 |
+
Download checkpoints, configs and their metadata from the repository's
|
| 161 |
+
[Files and versions](https://huggingface.co/MAAP3D/ModelZoo/tree/main) tab.
|
| 162 |
+
Use a specific repository commit when downloading for reproducible analyses.
|
| 163 |
+
Keep the selected model's documentation and the root license, policy, notices
|
| 164 |
+
and citation files with your download.
|
| 165 |
+
|
| 166 |
+
A MAAP3D model-zoo download helper has not been implemented. Existing MAAP3D
|
| 167 |
+
inference functions can use downloaded local paths. MMPose models require both
|
| 168 |
+
the pose config and checkpoint. `download_sample_data()` continues to target
|
| 169 |
+
the separate SampleData repository.
|
THIRD_PARTY_NOTICES.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Third-party notices
|
| 2 |
+
|
| 3 |
+
This index supplements the [default licensing policy](LICENSE_POLICY.md).
|
| 4 |
+
It does not establish redistribution clearance for the supplied checkpoints.
|
| 5 |
+
|
| 6 |
+
## OpenMMLab MMPose configuration material
|
| 7 |
+
|
| 8 |
+
The supplied pose configurations are flattened MMPose HRNet configurations
|
| 9 |
+
adapted for the model author's datasets, label definitions and training settings.
|
| 10 |
+
Preserve the Apache-2.0 terms for OpenMMLab-derived portions of these configs.
|
| 11 |
+
The license text is in [LICENSES/Apache-2.0.txt](LICENSES/Apache-2.0.txt).
|
| 12 |
+
|
| 13 |
+
Upstream attribution: OpenMMLab / MMPose contributors. See
|
| 14 |
+
[MMPose v1.3.2](https://github.com/open-mmlab/mmpose/tree/v1.3.2) and its
|
| 15 |
+
[license](https://github.com/open-mmlab/mmpose/blob/v1.3.2/LICENSE).
|
| 16 |
+
The exact source revisions and modification lineage of the user-supplied
|
| 17 |
+
flattened configs still need confirmation. Their existing bytes, including
|
| 18 |
+
any notices, have been preserved.
|
| 19 |
+
|
| 20 |
+
This applies to `ape/pose/ape-pose.py`, `bird/pose/bird-pose.py`,
|
| 21 |
+
`crow/pose/crow-pose.py`, `greti/pose/greti-pose.py`,
|
| 22 |
+
`jays/pose/jay-pose.py`, and `pigeons/pose/pigeon-pose.py`.
|
| 23 |
+
The upstream config license is not evidence of a model-weight license.
|
| 24 |
+
|
| 25 |
+
## Ultralytics-derived detectors
|
| 26 |
+
|
| 27 |
+
The detector framework, upstream checkpoint versions and exact grants have not
|
| 28 |
+
been confirmed from the supplied files. If a detector derives from Ultralytics,
|
| 29 |
+
retain the actual applicable model/code terms and notices; Ultralytics states
|
| 30 |
+
that its trained models default to AGPL-3.0.
|
| 31 |
+
[Licensing source](https://www.ultralytics.com/license).
|
| 32 |
+
|
| 33 |
+
## Training sources
|
| 34 |
+
|
| 35 |
+
These are author-reported training sources, not bundled dataset distributions.
|
| 36 |
+
|
| 37 |
+
| Pose model | Sources | Terms/provenance follow-up |
|
| 38 |
+
| --- | --- | --- |
|
| 39 |
+
| Ape | ChimpACT, OpenApePose, custom bonobo data | ChimpACT dataset is labeled CC BY-NC 4.0; check actual pretraining grants and permissions. |
|
| 40 |
+
| Bird | CUB, Animal Kingdom bird subset, custom bird data | Confirm CUB version and terms, Animal Kingdom terms and custom-data permissions. |
|
| 41 |
+
| Crow | Custom crow data | Confirm custom-data permissions and exact initialization checkpoint. |
|
| 42 |
+
| Greti | Dataset presented in 3D-SOCS | Confirm exact dataset/checkpoint grants; cite 3D-SOCS. |
|
| 43 |
+
| Jays | CHIRP | Confirm exact dataset/checkpoint grants; cite CHIRP. |
|
| 44 |
+
| Pigeons | 3D-POP | Confirm exact dataset/checkpoint grants; cite 3D-POP. |
|
| 45 |
+
|
| 46 |
+
Dataset sources are linked in the models' metadata. OpenApePose's official
|
| 47 |
+
repository describes its dataset as MIT-licensed, but the exact materials used
|
| 48 |
+
and any checkpoint terms still need checking.
|
| 49 |
+
[OpenApePose source](https://github.com/desai-nisarg/OpenApePose).
|
| 50 |
+
For ChimpACT and CUB references and the distinction between dataset terms and
|
| 51 |
+
weight licensing, see [LICENSE_POLICY.md](LICENSE_POLICY.md).
|
ape/detection/README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Ape detection model
|
| 2 |
+
|
| 3 |
+
**Status: draft. Files supplied; inference not validated.**
|
| 4 |
+
|
| 5 |
+
Model ID: `ape-detection`. See [metadata.json](metadata.json) and the
|
| 6 |
+
[model-zoo overview](../../README.md).
|
| 7 |
+
|
| 8 |
+
## Model description
|
| 9 |
+
|
| 10 |
+
Generalized ape model.
|
| 11 |
+
|
| 12 |
+
The author reports testing on chimpanzees and bonobos.
|
| 13 |
+
|
| 14 |
+
Descriptions and species coverage are supplied by the model author. They are
|
| 15 |
+
not a new independent evaluation of this checkpoint.
|
| 16 |
+
|
| 17 |
+
## Model files
|
| 18 |
+
|
| 19 |
+
| Role | File |
|
| 20 |
+
| --- | --- |
|
| 21 |
+
| Weights | [ape-detection.pt](ape-detection.pt) |
|
| 22 |
+
|
| 23 |
+
Original filenames and SHA-256 hashes are recorded in `metadata.json`.
|
| 24 |
+
Checkpoint and config bytes have not been changed by these documentation updates.
|
| 25 |
+
|
| 26 |
+
## Detector details
|
| 27 |
+
|
| 28 |
+
Detector architecture, class names in numeric ID order, inference image size
|
| 29 |
+
and confidence recommendations have not yet been confirmed.
|
| 30 |
+
|
| 31 |
+
## Training data
|
| 32 |
+
|
| 33 |
+
Custom experimental data; the detector-specific training recipe was not supplied.
|
| 34 |
+
|
| 35 |
+
The pose model training history is documented separately in its own folder;
|
| 36 |
+
it is not assumed to be this detector's pretraining history.
|
| 37 |
+
|
| 38 |
+
## Evaluation and limitations
|
| 39 |
+
|
| 40 |
+
- The detector was trained on custom experimental data and may not generalize to all conditions.
|
| 41 |
+
|
| 42 |
+
Quantitative held-out accuracy, data splits, speed benchmarks and model-backed
|
| 43 |
+
validation results have not been supplied. No numerical results are claimed.
|
| 44 |
+
|
| 45 |
+
## License and attribution
|
| 46 |
+
|
| 47 |
+
The author-selected default for original MAAP3D model contributions is
|
| 48 |
+
**AGPL-3.0-or-later**. See the [license text](../../LICENSE) and
|
| 49 |
+
[licensing policy](../../LICENSE_POLICY.md). This default does not replace
|
| 50 |
+
upstream model, code, configuration or dataset terms. The complete artifact's
|
| 51 |
+
licensing provenance is still under review; this card is not a clearance statement.
|
| 52 |
+
|
| 53 |
+
- Confirm the exact detector framework, base checkpoint and upstream grant before publication. Ultralytics states its trained models default to AGPL-3.0; this does not establish an or-later grant for this particular checkpoint.
|
| 54 |
+
|
| 55 |
+
## Citation
|
| 56 |
+
|
| 57 |
+
If using this model in research or a publication, please cite MAAP3D and identify the model ID and revision used.
|
| 58 |
+
|
| 59 |
+
- [MAAP3D](../../CITATIONS.md#maap3d)
|
| 60 |
+
|
| 61 |
+
References and BibTeX are in [CITATIONS.md](../../CITATIONS.md) and
|
| 62 |
+
[CITATIONS.bib](../../CITATIONS.bib). Citation is requested as scholarly credit;
|
| 63 |
+
it is not an additional condition added to AGPL.
|
| 64 |
+
|
| 65 |
+
## Remaining release details
|
| 66 |
+
|
| 67 |
+
Record the release/version label, actual base checkpoint, detector class labels
|
| 68 |
+
where applicable, tested MAAP3D/Python/backend versions and an inference example.
|
| 69 |
+
Keep this slot in its current draft/template state until applicable licensing
|
| 70 |
+
provenance, required metadata and model-backed validation are complete.
|
ape/detection/ape-detection.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7af89cfae93152cf23255d271c1cb8890612fde05dcfa76c4bf02ee512c025c9
|
| 3 |
+
size 51183890
|
ape/detection/metadata.json
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"model_id": "ape-detection",
|
| 4 |
+
"status": "draft",
|
| 5 |
+
"species": {
|
| 6 |
+
"group": "ape",
|
| 7 |
+
"common_name": "chimpanzees, bonobos",
|
| 8 |
+
"scientific_name": null,
|
| 9 |
+
"covered_common_names": [
|
| 10 |
+
"chimpanzees",
|
| 11 |
+
"bonobos"
|
| 12 |
+
],
|
| 13 |
+
"coverage_note": "The author reports testing on chimpanzees and bonobos.",
|
| 14 |
+
"coverage_source": "Model author, 2026-11-20"
|
| 15 |
+
},
|
| 16 |
+
"task": "object-detection",
|
| 17 |
+
"framework": null,
|
| 18 |
+
"architecture": null,
|
| 19 |
+
"model_version": null,
|
| 20 |
+
"files": {
|
| 21 |
+
"weights": "ape-detection.pt",
|
| 22 |
+
"config": null,
|
| 23 |
+
"additional": []
|
| 24 |
+
},
|
| 25 |
+
"class_names": [],
|
| 26 |
+
"keypoint_names": [],
|
| 27 |
+
"skeleton": [],
|
| 28 |
+
"flip_pairs": [],
|
| 29 |
+
"recommended_detector": null,
|
| 30 |
+
"inference": {
|
| 31 |
+
"input_size": null,
|
| 32 |
+
"recommended_confidence_threshold": null
|
| 33 |
+
},
|
| 34 |
+
"compatibility": {
|
| 35 |
+
"maap3d": null,
|
| 36 |
+
"python": null,
|
| 37 |
+
"packages": {}
|
| 38 |
+
},
|
| 39 |
+
"training": {
|
| 40 |
+
"description": "Custom experimental data; the detector-specific training recipe was not supplied.",
|
| 41 |
+
"dataset_url": null,
|
| 42 |
+
"base_model": null,
|
| 43 |
+
"sources": []
|
| 44 |
+
},
|
| 45 |
+
"evaluation": {
|
| 46 |
+
"dataset": null,
|
| 47 |
+
"split": null,
|
| 48 |
+
"num_images": null,
|
| 49 |
+
"metrics": {}
|
| 50 |
+
},
|
| 51 |
+
"license": {
|
| 52 |
+
"identifier": "AGPL-3.0-or-later",
|
| 53 |
+
"url": "https://www.gnu.org/licenses/agpl-3.0.html",
|
| 54 |
+
"scope": "Author-selected default for original MAAP3D model contributions; upstream materials retain their own terms.",
|
| 55 |
+
"policy_file": "../../LICENSE_POLICY.md",
|
| 56 |
+
"upstream_review_status": "pending",
|
| 57 |
+
"complete_artifact_license_verified": false,
|
| 58 |
+
"upstream_notes": [
|
| 59 |
+
"Confirm the exact detector framework, base checkpoint and upstream grant before publication. Ultralytics states its trained models default to AGPL-3.0; this does not establish an or-later grant for this particular checkpoint."
|
| 60 |
+
]
|
| 61 |
+
},
|
| 62 |
+
"citation": "If using this model in research or a publication, please cite MAAP3D and identify the model ID and revision used.",
|
| 63 |
+
"provenance": {
|
| 64 |
+
"weights": {
|
| 65 |
+
"original_filename": "BonoboChimpYOLOBest.pt",
|
| 66 |
+
"sha256": "7af89cfae93152cf23255d271c1cb8890612fde05dcfa76c4bf02ee512c025c9",
|
| 67 |
+
"size_bytes": 51183890
|
| 68 |
+
}
|
| 69 |
+
},
|
| 70 |
+
"description": "Generalized ape model.",
|
| 71 |
+
"limitations": [
|
| 72 |
+
"The detector was trained on custom experimental data and may not generalize to all conditions."
|
| 73 |
+
],
|
| 74 |
+
"author_reported_observations": [],
|
| 75 |
+
"metadata_sources": {
|
| 76 |
+
"description": "Model author, 2026-11-20",
|
| 77 |
+
"species": "Model author, 2026-11-20; common names retained without inferred scientific taxonomy",
|
| 78 |
+
"training.description": "Model author, 2026-11-20; author-reported detector-specific or family history; pose training sources not assumed",
|
| 79 |
+
"limitations": "Model author, 2026-11-20; detector caveats apply to detection models",
|
| 80 |
+
"license": "Author-selected default policy, 2026-11-20; upstream review remains pending",
|
| 81 |
+
"citation": "Model author, 2026-11-20; references in ../../CITATIONS.md"
|
| 82 |
+
},
|
| 83 |
+
"citations": [
|
| 84 |
+
{
|
| 85 |
+
"id": "maap3d",
|
| 86 |
+
"name": "MAAP3D",
|
| 87 |
+
"url": "https://github.com/alexhang212/MAAP3D_Toolbox"
|
| 88 |
+
}
|
| 89 |
+
],
|
| 90 |
+
"citation_policy": "Research citation request; not an additional AGPL license condition."
|
| 91 |
+
}
|
ape/pose/README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Ape pose model
|
| 2 |
+
|
| 3 |
+
**Status: draft. Files supplied; inference not validated.**
|
| 4 |
+
|
| 5 |
+
Model ID: `ape-pose`. See [metadata.json](metadata.json) and the
|
| 6 |
+
[model-zoo overview](../../README.md).
|
| 7 |
+
|
| 8 |
+
## Model description
|
| 9 |
+
|
| 10 |
+
Generalized ape model.
|
| 11 |
+
|
| 12 |
+
The author reports testing on chimpanzees and bonobos.
|
| 13 |
+
|
| 14 |
+
Descriptions and species coverage are supplied by the model author. They are
|
| 15 |
+
not a new independent evaluation of this checkpoint.
|
| 16 |
+
|
| 17 |
+
## Model files
|
| 18 |
+
|
| 19 |
+
| Role | File |
|
| 20 |
+
| --- | --- |
|
| 21 |
+
| Weights | [ape-pose.pth](ape-pose.pth) |
|
| 22 |
+
| Config | [ape-pose.py](ape-pose.py) |
|
| 23 |
+
|
| 24 |
+
Original filenames and SHA-256 hashes are recorded in `metadata.json`.
|
| 25 |
+
Checkpoint and config bytes have not been changed by these documentation updates.
|
| 26 |
+
|
| 27 |
+
## Pose definition
|
| 28 |
+
|
| 29 |
+
- Framework: MMPose
|
| 30 |
+
- Architecture: HRNet-W32
|
| 31 |
+
- Input size: 256 x 256 pixels (width x height)
|
| 32 |
+
- Keypoints: 16; exact output order is in metadata
|
| 33 |
+
- Skeleton links: 11; flip pairs use keypoint names
|
| 34 |
+
|
| 35 |
+
These technical fields were extracted from the supplied config. The config
|
| 36 |
+
retains its original training/evaluation paths and initialization settings;
|
| 37 |
+
those paths are not portable training instructions.
|
| 38 |
+
|
| 39 |
+
Proposed detector: `ape-detection`. Detector/pose pairing
|
| 40 |
+
still needs validation.
|
| 41 |
+
|
| 42 |
+
## Training data
|
| 43 |
+
|
| 44 |
+
Pretrained using ChimpACT and OpenApePose, then fine-tuned using a custom bonobo dataset.
|
| 45 |
+
|
| 46 |
+
- [ChimpACT](https://github.com/ShirleyMaxx/ChimpACT): pretraining
|
| 47 |
+
- [OpenApePose](https://github.com/desai-nisarg/OpenApePose): pretraining
|
| 48 |
+
- Custom bonobo dataset: fine-tuning
|
| 49 |
+
|
| 50 |
+
These sources describe the author-reported training history. The exact base
|
| 51 |
+
checkpoint filenames, data versions, sample counts and training recipe remain
|
| 52 |
+
unspecified. A dataset paper is not a checkpoint identifier or a license grant.
|
| 53 |
+
|
| 54 |
+
## Evaluation and limitations
|
| 55 |
+
|
| 56 |
+
- The author reports that the pose model is effective across contexts; quantitative evaluation has not been supplied.
|
| 57 |
+
|
| 58 |
+
Quantitative held-out accuracy, data splits, speed benchmarks and model-backed
|
| 59 |
+
validation results have not been supplied. No numerical results are claimed.
|
| 60 |
+
|
| 61 |
+
## License and attribution
|
| 62 |
+
|
| 63 |
+
The author-selected default for original MAAP3D model contributions is
|
| 64 |
+
**AGPL-3.0-or-later**. See the [license text](../../LICENSE) and
|
| 65 |
+
[licensing policy](../../LICENSE_POLICY.md). This default does not replace
|
| 66 |
+
upstream model, code, configuration or dataset terms. The complete artifact's
|
| 67 |
+
licensing provenance is still under review; this card is not a clearance statement.
|
| 68 |
+
|
| 69 |
+
OpenMMLab-derived configuration material retains Apache-2.0 terms. See
|
| 70 |
+
[third-party notices](../../THIRD_PARTY_NOTICES.md) and the
|
| 71 |
+
[Apache license](../../LICENSES/Apache-2.0.txt).
|
| 72 |
+
|
| 73 |
+
- ChimpACT lists its dataset as CC BY-NC 4.0. Check the exact pretraining data/checkpoint grant and any separately obtained permission before publication; the dataset label alone does not settle the license of the trained weights.
|
| 74 |
+
- The exact pretrained checkpoint and the OpenApePose terms applicable to the material used still need confirmation.
|
| 75 |
+
|
| 76 |
+
## Citation
|
| 77 |
+
|
| 78 |
+
If using this model in research or a publication, please cite MAAP3D, ChimpACT, and OpenApePose and identify the model ID and revision used.
|
| 79 |
+
|
| 80 |
+
- [MAAP3D](../../CITATIONS.md#maap3d)
|
| 81 |
+
- [ChimpACT](../../CITATIONS.md#chimpact)
|
| 82 |
+
- [OpenApePose](../../CITATIONS.md#openapepose)
|
| 83 |
+
|
| 84 |
+
References and BibTeX are in [CITATIONS.md](../../CITATIONS.md) and
|
| 85 |
+
[CITATIONS.bib](../../CITATIONS.bib). Citation is requested as scholarly credit;
|
| 86 |
+
it is not an additional condition added to AGPL.
|
| 87 |
+
|
| 88 |
+
## Remaining release details
|
| 89 |
+
|
| 90 |
+
Record the release/version label, actual base checkpoint, detector class labels
|
| 91 |
+
where applicable, tested MAAP3D/Python/backend versions and an inference example.
|
| 92 |
+
Keep this slot in its current draft/template state until applicable licensing
|
| 93 |
+
provenance, required metadata and model-backed validation are complete.
|
ape/pose/ape-pose.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3461aa6aca300188e060d5c869e54a532c5ab597264d2e24d44323858b629297
|
| 3 |
+
size 115120688
|
ape/pose/ape-pose.py
ADDED
|
@@ -0,0 +1,1001 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
auto_scale_lr = dict(base_batch_size=512)
|
| 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 |
+
custom_hooks = [
|
| 15 |
+
dict(type='SyncBuffersHook'),
|
| 16 |
+
]
|
| 17 |
+
data_mode = 'topdown'
|
| 18 |
+
data_root = '/media/alexchan/RavenBackup/Bonobo/Annotations/KeypointAnnotation/COCO_July/images'
|
| 19 |
+
dataset_type = 'CocoDataset'
|
| 20 |
+
default_hooks = dict(
|
| 21 |
+
badcase=dict(
|
| 22 |
+
badcase_thr=5,
|
| 23 |
+
enable=False,
|
| 24 |
+
metric_type='loss',
|
| 25 |
+
out_dir='badcase',
|
| 26 |
+
type='BadCaseAnalysisHook'),
|
| 27 |
+
checkpoint=dict(
|
| 28 |
+
interval=1, rule='greater', save_best='PCK', type='CheckpointHook'),
|
| 29 |
+
logger=dict(interval=50, type='LoggerHook'),
|
| 30 |
+
param_scheduler=dict(type='ParamSchedulerHook'),
|
| 31 |
+
sampler_seed=dict(type='DistSamplerSeedHook'),
|
| 32 |
+
timer=dict(type='IterTimerHook'),
|
| 33 |
+
visualization=dict(enable=False, type='PoseVisualizationHook'))
|
| 34 |
+
default_scope = 'mmpose'
|
| 35 |
+
env_cfg = dict(
|
| 36 |
+
cudnn_benchmark=False,
|
| 37 |
+
dist_cfg=dict(backend='nccl'),
|
| 38 |
+
mp_cfg=dict(mp_start_method='fork', opencv_num_threads=0))
|
| 39 |
+
load_from = '/media/alexchan/DataSSD/SuperApeDataset/Chimact_OAP_Weights/best_PCK_epoch_80.pth'
|
| 40 |
+
log_level = 'INFO'
|
| 41 |
+
log_processor = dict(
|
| 42 |
+
by_epoch=True, num_digits=6, type='LogProcessor', window_size=50)
|
| 43 |
+
model = dict(
|
| 44 |
+
backbone=dict(
|
| 45 |
+
extra=dict(
|
| 46 |
+
stage1=dict(
|
| 47 |
+
block='BOTTLENECK',
|
| 48 |
+
num_blocks=(4, ),
|
| 49 |
+
num_branches=1,
|
| 50 |
+
num_channels=(64, ),
|
| 51 |
+
num_modules=1),
|
| 52 |
+
stage2=dict(
|
| 53 |
+
block='BASIC',
|
| 54 |
+
num_blocks=(
|
| 55 |
+
4,
|
| 56 |
+
4,
|
| 57 |
+
),
|
| 58 |
+
num_branches=2,
|
| 59 |
+
num_channels=(
|
| 60 |
+
32,
|
| 61 |
+
64,
|
| 62 |
+
),
|
| 63 |
+
num_modules=1),
|
| 64 |
+
stage3=dict(
|
| 65 |
+
block='BASIC',
|
| 66 |
+
num_blocks=(
|
| 67 |
+
4,
|
| 68 |
+
4,
|
| 69 |
+
4,
|
| 70 |
+
),
|
| 71 |
+
num_branches=3,
|
| 72 |
+
num_channels=(
|
| 73 |
+
32,
|
| 74 |
+
64,
|
| 75 |
+
128,
|
| 76 |
+
),
|
| 77 |
+
num_modules=4),
|
| 78 |
+
stage4=dict(
|
| 79 |
+
block='BASIC',
|
| 80 |
+
num_blocks=(
|
| 81 |
+
4,
|
| 82 |
+
4,
|
| 83 |
+
4,
|
| 84 |
+
4,
|
| 85 |
+
),
|
| 86 |
+
num_branches=4,
|
| 87 |
+
num_channels=(
|
| 88 |
+
32,
|
| 89 |
+
64,
|
| 90 |
+
128,
|
| 91 |
+
256,
|
| 92 |
+
),
|
| 93 |
+
num_modules=3)),
|
| 94 |
+
in_channels=3,
|
| 95 |
+
init_cfg=dict(
|
| 96 |
+
checkpoint=
|
| 97 |
+
'https://download.openmmlab.com/mmpose/pretrain_models/hrnet_w32-36af842e.pth',
|
| 98 |
+
type='Pretrained'),
|
| 99 |
+
type='HRNet'),
|
| 100 |
+
data_preprocessor=dict(
|
| 101 |
+
bgr_to_rgb=True,
|
| 102 |
+
mean=[
|
| 103 |
+
123.675,
|
| 104 |
+
116.28,
|
| 105 |
+
103.53,
|
| 106 |
+
],
|
| 107 |
+
std=[
|
| 108 |
+
58.395,
|
| 109 |
+
57.12,
|
| 110 |
+
57.375,
|
| 111 |
+
],
|
| 112 |
+
type='PoseDataPreprocessor'),
|
| 113 |
+
head=dict(
|
| 114 |
+
decoder=dict(
|
| 115 |
+
heatmap_size=(
|
| 116 |
+
64,
|
| 117 |
+
64,
|
| 118 |
+
),
|
| 119 |
+
input_size=(
|
| 120 |
+
256,
|
| 121 |
+
256,
|
| 122 |
+
),
|
| 123 |
+
sigma=2,
|
| 124 |
+
type='MSRAHeatmap'),
|
| 125 |
+
deconv_out_channels=None,
|
| 126 |
+
in_channels=32,
|
| 127 |
+
loss=dict(type='KeypointMSELoss', use_target_weight=True),
|
| 128 |
+
out_channels=16,
|
| 129 |
+
type='HeatmapHead'),
|
| 130 |
+
test_cfg=dict(flip_mode='heatmap', flip_test=True, shift_heatmap=True),
|
| 131 |
+
type='TopdownPoseEstimator')
|
| 132 |
+
optim_wrapper = dict(optimizer=dict(lr=0.0005, type='AdamW'))
|
| 133 |
+
param_scheduler = [
|
| 134 |
+
dict(
|
| 135 |
+
begin=0, by_epoch=False, end=500, start_factor=0.001, type='LinearLR'),
|
| 136 |
+
dict(
|
| 137 |
+
begin=0,
|
| 138 |
+
by_epoch=True,
|
| 139 |
+
end=210,
|
| 140 |
+
gamma=0.1,
|
| 141 |
+
milestones=[
|
| 142 |
+
170,
|
| 143 |
+
200,
|
| 144 |
+
],
|
| 145 |
+
type='MultiStepLR'),
|
| 146 |
+
]
|
| 147 |
+
resume = False
|
| 148 |
+
test_cfg = dict()
|
| 149 |
+
test_dataloader = dict(
|
| 150 |
+
batch_size=24,
|
| 151 |
+
dataset=dict(
|
| 152 |
+
ann_file=
|
| 153 |
+
'/media/alexchan/RavenBackup/Bonobo/Annotations/KeypointAnnotation/COCO_July/annotations/val_labels.json',
|
| 154 |
+
bbox_file=None,
|
| 155 |
+
data_mode='topdown',
|
| 156 |
+
data_prefix=dict(img=''),
|
| 157 |
+
data_root=
|
| 158 |
+
'/media/alexchan/RavenBackup/Bonobo/Annotations/KeypointAnnotation/COCO_July/images',
|
| 159 |
+
metainfo=dict(
|
| 160 |
+
dataset_name='coco',
|
| 161 |
+
joint_weights=[
|
| 162 |
+
1.0,
|
| 163 |
+
1.0,
|
| 164 |
+
1.0,
|
| 165 |
+
1.0,
|
| 166 |
+
1.0,
|
| 167 |
+
1.0,
|
| 168 |
+
1.0,
|
| 169 |
+
1.0,
|
| 170 |
+
1.0,
|
| 171 |
+
1.0,
|
| 172 |
+
1.0,
|
| 173 |
+
1.0,
|
| 174 |
+
1.0,
|
| 175 |
+
1.0,
|
| 176 |
+
1.0,
|
| 177 |
+
1.0,
|
| 178 |
+
],
|
| 179 |
+
keypoint_info=dict({
|
| 180 |
+
0:
|
| 181 |
+
dict(color=[
|
| 182 |
+
255,
|
| 183 |
+
0,
|
| 184 |
+
0,
|
| 185 |
+
], id=0, name='root', swap=''),
|
| 186 |
+
1:
|
| 187 |
+
dict(color=[
|
| 188 |
+
255,
|
| 189 |
+
0,
|
| 190 |
+
0,
|
| 191 |
+
], id=1, name='rankle', swap='lankle'),
|
| 192 |
+
10:
|
| 193 |
+
dict(color=[
|
| 194 |
+
255,
|
| 195 |
+
0,
|
| 196 |
+
0,
|
| 197 |
+
], id=10, name='rshoul', swap='lshoul'),
|
| 198 |
+
11:
|
| 199 |
+
dict(color=[
|
| 200 |
+
255,
|
| 201 |
+
0,
|
| 202 |
+
0,
|
| 203 |
+
], id=11, name='relbow', swap='lelbow'),
|
| 204 |
+
12:
|
| 205 |
+
dict(color=[
|
| 206 |
+
255,
|
| 207 |
+
0,
|
| 208 |
+
0,
|
| 209 |
+
], id=12, name='rwrist', swap='lwrist'),
|
| 210 |
+
13:
|
| 211 |
+
dict(color=[
|
| 212 |
+
255,
|
| 213 |
+
0,
|
| 214 |
+
0,
|
| 215 |
+
], id=13, name='lshoul', swap='rshoul'),
|
| 216 |
+
14:
|
| 217 |
+
dict(color=[
|
| 218 |
+
255,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
], id=14, name='lelbow', swap='relbow'),
|
| 222 |
+
15:
|
| 223 |
+
dict(color=[
|
| 224 |
+
255,
|
| 225 |
+
0,
|
| 226 |
+
0,
|
| 227 |
+
], id=15, name='lwrist', swap='rwrist'),
|
| 228 |
+
2:
|
| 229 |
+
dict(color=[
|
| 230 |
+
255,
|
| 231 |
+
0,
|
| 232 |
+
0,
|
| 233 |
+
], id=2, name='rknee', swap='lknee'),
|
| 234 |
+
3:
|
| 235 |
+
dict(color=[
|
| 236 |
+
255,
|
| 237 |
+
0,
|
| 238 |
+
0,
|
| 239 |
+
], id=3, name='lknee', swap='rknee'),
|
| 240 |
+
4:
|
| 241 |
+
dict(color=[
|
| 242 |
+
255,
|
| 243 |
+
0,
|
| 244 |
+
0,
|
| 245 |
+
], id=4, name='lankle', swap='rankle'),
|
| 246 |
+
5:
|
| 247 |
+
dict(color=[
|
| 248 |
+
255,
|
| 249 |
+
0,
|
| 250 |
+
0,
|
| 251 |
+
], id=5, name='neck', swap=''),
|
| 252 |
+
6:
|
| 253 |
+
dict(color=[
|
| 254 |
+
255,
|
| 255 |
+
0,
|
| 256 |
+
0,
|
| 257 |
+
], id=6, name='ulip', swap=''),
|
| 258 |
+
7:
|
| 259 |
+
dict(color=[
|
| 260 |
+
255,
|
| 261 |
+
0,
|
| 262 |
+
0,
|
| 263 |
+
], id=7, name='llip', swap=''),
|
| 264 |
+
8:
|
| 265 |
+
dict(color=[
|
| 266 |
+
255,
|
| 267 |
+
0,
|
| 268 |
+
0,
|
| 269 |
+
], id=8, name='reye', swap='leye'),
|
| 270 |
+
9:
|
| 271 |
+
dict(color=[
|
| 272 |
+
255,
|
| 273 |
+
0,
|
| 274 |
+
0,
|
| 275 |
+
], id=9, name='leye', swap='reye')
|
| 276 |
+
}),
|
| 277 |
+
sigmas=[
|
| 278 |
+
0.025,
|
| 279 |
+
0.025,
|
| 280 |
+
0.025,
|
| 281 |
+
0.025,
|
| 282 |
+
0.025,
|
| 283 |
+
0.025,
|
| 284 |
+
0.025,
|
| 285 |
+
0.025,
|
| 286 |
+
0.025,
|
| 287 |
+
0.025,
|
| 288 |
+
0.025,
|
| 289 |
+
0.025,
|
| 290 |
+
0.025,
|
| 291 |
+
0.025,
|
| 292 |
+
0.025,
|
| 293 |
+
0.025,
|
| 294 |
+
],
|
| 295 |
+
skeleton_info=dict({
|
| 296 |
+
0:
|
| 297 |
+
dict(color=[
|
| 298 |
+
255,
|
| 299 |
+
0,
|
| 300 |
+
0,
|
| 301 |
+
], link=(
|
| 302 |
+
'root',
|
| 303 |
+
'neck',
|
| 304 |
+
)),
|
| 305 |
+
1:
|
| 306 |
+
dict(color=[
|
| 307 |
+
255,
|
| 308 |
+
0,
|
| 309 |
+
0,
|
| 310 |
+
], link=(
|
| 311 |
+
'neck',
|
| 312 |
+
'rshoul',
|
| 313 |
+
)),
|
| 314 |
+
10:
|
| 315 |
+
dict(color=[
|
| 316 |
+
255,
|
| 317 |
+
0,
|
| 318 |
+
0,
|
| 319 |
+
], link=(
|
| 320 |
+
'lknee',
|
| 321 |
+
'lankle',
|
| 322 |
+
)),
|
| 323 |
+
2:
|
| 324 |
+
dict(color=[
|
| 325 |
+
255,
|
| 326 |
+
0,
|
| 327 |
+
0,
|
| 328 |
+
], link=(
|
| 329 |
+
'rshoul',
|
| 330 |
+
'relbow',
|
| 331 |
+
)),
|
| 332 |
+
3:
|
| 333 |
+
dict(color=[
|
| 334 |
+
255,
|
| 335 |
+
0,
|
| 336 |
+
0,
|
| 337 |
+
], link=(
|
| 338 |
+
'relbow',
|
| 339 |
+
'rwrist',
|
| 340 |
+
)),
|
| 341 |
+
4:
|
| 342 |
+
dict(color=[
|
| 343 |
+
255,
|
| 344 |
+
0,
|
| 345 |
+
0,
|
| 346 |
+
], link=(
|
| 347 |
+
'neck',
|
| 348 |
+
'lshoul',
|
| 349 |
+
)),
|
| 350 |
+
5:
|
| 351 |
+
dict(color=[
|
| 352 |
+
255,
|
| 353 |
+
0,
|
| 354 |
+
0,
|
| 355 |
+
], link=(
|
| 356 |
+
'lshoul',
|
| 357 |
+
'lelbow',
|
| 358 |
+
)),
|
| 359 |
+
6:
|
| 360 |
+
dict(color=[
|
| 361 |
+
255,
|
| 362 |
+
0,
|
| 363 |
+
0,
|
| 364 |
+
], link=(
|
| 365 |
+
'lelbow',
|
| 366 |
+
'lwrist',
|
| 367 |
+
)),
|
| 368 |
+
7:
|
| 369 |
+
dict(color=[
|
| 370 |
+
255,
|
| 371 |
+
0,
|
| 372 |
+
0,
|
| 373 |
+
], link=(
|
| 374 |
+
'root',
|
| 375 |
+
'rknee',
|
| 376 |
+
)),
|
| 377 |
+
8:
|
| 378 |
+
dict(color=[
|
| 379 |
+
255,
|
| 380 |
+
0,
|
| 381 |
+
0,
|
| 382 |
+
], link=(
|
| 383 |
+
'rknee',
|
| 384 |
+
'rankle',
|
| 385 |
+
)),
|
| 386 |
+
9:
|
| 387 |
+
dict(color=[
|
| 388 |
+
255,
|
| 389 |
+
0,
|
| 390 |
+
0,
|
| 391 |
+
], link=(
|
| 392 |
+
'root',
|
| 393 |
+
'lknee',
|
| 394 |
+
))
|
| 395 |
+
})),
|
| 396 |
+
pipeline=[
|
| 397 |
+
dict(type='LoadImage'),
|
| 398 |
+
dict(type='GetBBoxCenterScale'),
|
| 399 |
+
dict(input_size=(
|
| 400 |
+
256,
|
| 401 |
+
256,
|
| 402 |
+
), type='TopdownAffine'),
|
| 403 |
+
dict(type='PackPoseInputs'),
|
| 404 |
+
],
|
| 405 |
+
test_mode=True,
|
| 406 |
+
type='CocoDataset'),
|
| 407 |
+
drop_last=False,
|
| 408 |
+
num_workers=2,
|
| 409 |
+
persistent_workers=True,
|
| 410 |
+
sampler=dict(round_up=False, shuffle=False, type='DefaultSampler'))
|
| 411 |
+
test_evaluator = [
|
| 412 |
+
dict(thr=0.05, type='PCKAccuracy'),
|
| 413 |
+
dict(type='AUC'),
|
| 414 |
+
]
|
| 415 |
+
train_cfg = dict(by_epoch=True, max_epochs=50, val_interval=1)
|
| 416 |
+
train_dataloader = dict(
|
| 417 |
+
batch_size=32,
|
| 418 |
+
dataset=dict(
|
| 419 |
+
ann_file=
|
| 420 |
+
'/media/alexchan/RavenBackup/Bonobo/Annotations/KeypointAnnotation/COCO_July/annotations/train_labels.json',
|
| 421 |
+
data_mode='topdown',
|
| 422 |
+
data_prefix=dict(img=''),
|
| 423 |
+
data_root=
|
| 424 |
+
'/media/alexchan/RavenBackup/Bonobo/Annotations/KeypointAnnotation/COCO_July/images',
|
| 425 |
+
metainfo=dict(
|
| 426 |
+
dataset_name='coco',
|
| 427 |
+
joint_weights=[
|
| 428 |
+
1.0,
|
| 429 |
+
1.0,
|
| 430 |
+
1.0,
|
| 431 |
+
1.0,
|
| 432 |
+
1.0,
|
| 433 |
+
1.0,
|
| 434 |
+
1.0,
|
| 435 |
+
1.0,
|
| 436 |
+
1.0,
|
| 437 |
+
1.0,
|
| 438 |
+
1.0,
|
| 439 |
+
1.0,
|
| 440 |
+
1.0,
|
| 441 |
+
1.0,
|
| 442 |
+
1.0,
|
| 443 |
+
1.0,
|
| 444 |
+
],
|
| 445 |
+
keypoint_info=dict({
|
| 446 |
+
0:
|
| 447 |
+
dict(color=[
|
| 448 |
+
255,
|
| 449 |
+
0,
|
| 450 |
+
0,
|
| 451 |
+
], id=0, name='root', swap=''),
|
| 452 |
+
1:
|
| 453 |
+
dict(color=[
|
| 454 |
+
255,
|
| 455 |
+
0,
|
| 456 |
+
0,
|
| 457 |
+
], id=1, name='rankle', swap='lankle'),
|
| 458 |
+
10:
|
| 459 |
+
dict(color=[
|
| 460 |
+
255,
|
| 461 |
+
0,
|
| 462 |
+
0,
|
| 463 |
+
], id=10, name='rshoul', swap='lshoul'),
|
| 464 |
+
11:
|
| 465 |
+
dict(color=[
|
| 466 |
+
255,
|
| 467 |
+
0,
|
| 468 |
+
0,
|
| 469 |
+
], id=11, name='relbow', swap='lelbow'),
|
| 470 |
+
12:
|
| 471 |
+
dict(color=[
|
| 472 |
+
255,
|
| 473 |
+
0,
|
| 474 |
+
0,
|
| 475 |
+
], id=12, name='rwrist', swap='lwrist'),
|
| 476 |
+
13:
|
| 477 |
+
dict(color=[
|
| 478 |
+
255,
|
| 479 |
+
0,
|
| 480 |
+
0,
|
| 481 |
+
], id=13, name='lshoul', swap='rshoul'),
|
| 482 |
+
14:
|
| 483 |
+
dict(color=[
|
| 484 |
+
255,
|
| 485 |
+
0,
|
| 486 |
+
0,
|
| 487 |
+
], id=14, name='lelbow', swap='relbow'),
|
| 488 |
+
15:
|
| 489 |
+
dict(color=[
|
| 490 |
+
255,
|
| 491 |
+
0,
|
| 492 |
+
0,
|
| 493 |
+
], id=15, name='lwrist', swap='rwrist'),
|
| 494 |
+
2:
|
| 495 |
+
dict(color=[
|
| 496 |
+
255,
|
| 497 |
+
0,
|
| 498 |
+
0,
|
| 499 |
+
], id=2, name='rknee', swap='lknee'),
|
| 500 |
+
3:
|
| 501 |
+
dict(color=[
|
| 502 |
+
255,
|
| 503 |
+
0,
|
| 504 |
+
0,
|
| 505 |
+
], id=3, name='lknee', swap='rknee'),
|
| 506 |
+
4:
|
| 507 |
+
dict(color=[
|
| 508 |
+
255,
|
| 509 |
+
0,
|
| 510 |
+
0,
|
| 511 |
+
], id=4, name='lankle', swap='rankle'),
|
| 512 |
+
5:
|
| 513 |
+
dict(color=[
|
| 514 |
+
255,
|
| 515 |
+
0,
|
| 516 |
+
0,
|
| 517 |
+
], id=5, name='neck', swap=''),
|
| 518 |
+
6:
|
| 519 |
+
dict(color=[
|
| 520 |
+
255,
|
| 521 |
+
0,
|
| 522 |
+
0,
|
| 523 |
+
], id=6, name='ulip', swap=''),
|
| 524 |
+
7:
|
| 525 |
+
dict(color=[
|
| 526 |
+
255,
|
| 527 |
+
0,
|
| 528 |
+
0,
|
| 529 |
+
], id=7, name='llip', swap=''),
|
| 530 |
+
8:
|
| 531 |
+
dict(color=[
|
| 532 |
+
255,
|
| 533 |
+
0,
|
| 534 |
+
0,
|
| 535 |
+
], id=8, name='reye', swap='leye'),
|
| 536 |
+
9:
|
| 537 |
+
dict(color=[
|
| 538 |
+
255,
|
| 539 |
+
0,
|
| 540 |
+
0,
|
| 541 |
+
], id=9, name='leye', swap='reye')
|
| 542 |
+
}),
|
| 543 |
+
sigmas=[
|
| 544 |
+
0.025,
|
| 545 |
+
0.025,
|
| 546 |
+
0.025,
|
| 547 |
+
0.025,
|
| 548 |
+
0.025,
|
| 549 |
+
0.025,
|
| 550 |
+
0.025,
|
| 551 |
+
0.025,
|
| 552 |
+
0.025,
|
| 553 |
+
0.025,
|
| 554 |
+
0.025,
|
| 555 |
+
0.025,
|
| 556 |
+
0.025,
|
| 557 |
+
0.025,
|
| 558 |
+
0.025,
|
| 559 |
+
0.025,
|
| 560 |
+
],
|
| 561 |
+
skeleton_info=dict({
|
| 562 |
+
0:
|
| 563 |
+
dict(color=[
|
| 564 |
+
255,
|
| 565 |
+
0,
|
| 566 |
+
0,
|
| 567 |
+
], link=(
|
| 568 |
+
'root',
|
| 569 |
+
'neck',
|
| 570 |
+
)),
|
| 571 |
+
1:
|
| 572 |
+
dict(color=[
|
| 573 |
+
255,
|
| 574 |
+
0,
|
| 575 |
+
0,
|
| 576 |
+
], link=(
|
| 577 |
+
'neck',
|
| 578 |
+
'rshoul',
|
| 579 |
+
)),
|
| 580 |
+
10:
|
| 581 |
+
dict(color=[
|
| 582 |
+
255,
|
| 583 |
+
0,
|
| 584 |
+
0,
|
| 585 |
+
], link=(
|
| 586 |
+
'lknee',
|
| 587 |
+
'lankle',
|
| 588 |
+
)),
|
| 589 |
+
2:
|
| 590 |
+
dict(color=[
|
| 591 |
+
255,
|
| 592 |
+
0,
|
| 593 |
+
0,
|
| 594 |
+
], link=(
|
| 595 |
+
'rshoul',
|
| 596 |
+
'relbow',
|
| 597 |
+
)),
|
| 598 |
+
3:
|
| 599 |
+
dict(color=[
|
| 600 |
+
255,
|
| 601 |
+
0,
|
| 602 |
+
0,
|
| 603 |
+
], link=(
|
| 604 |
+
'relbow',
|
| 605 |
+
'rwrist',
|
| 606 |
+
)),
|
| 607 |
+
4:
|
| 608 |
+
dict(color=[
|
| 609 |
+
255,
|
| 610 |
+
0,
|
| 611 |
+
0,
|
| 612 |
+
], link=(
|
| 613 |
+
'neck',
|
| 614 |
+
'lshoul',
|
| 615 |
+
)),
|
| 616 |
+
5:
|
| 617 |
+
dict(color=[
|
| 618 |
+
255,
|
| 619 |
+
0,
|
| 620 |
+
0,
|
| 621 |
+
], link=(
|
| 622 |
+
'lshoul',
|
| 623 |
+
'lelbow',
|
| 624 |
+
)),
|
| 625 |
+
6:
|
| 626 |
+
dict(color=[
|
| 627 |
+
255,
|
| 628 |
+
0,
|
| 629 |
+
0,
|
| 630 |
+
], link=(
|
| 631 |
+
'lelbow',
|
| 632 |
+
'lwrist',
|
| 633 |
+
)),
|
| 634 |
+
7:
|
| 635 |
+
dict(color=[
|
| 636 |
+
255,
|
| 637 |
+
0,
|
| 638 |
+
0,
|
| 639 |
+
], link=(
|
| 640 |
+
'root',
|
| 641 |
+
'rknee',
|
| 642 |
+
)),
|
| 643 |
+
8:
|
| 644 |
+
dict(color=[
|
| 645 |
+
255,
|
| 646 |
+
0,
|
| 647 |
+
0,
|
| 648 |
+
], link=(
|
| 649 |
+
'rknee',
|
| 650 |
+
'rankle',
|
| 651 |
+
)),
|
| 652 |
+
9:
|
| 653 |
+
dict(color=[
|
| 654 |
+
255,
|
| 655 |
+
0,
|
| 656 |
+
0,
|
| 657 |
+
], link=(
|
| 658 |
+
'root',
|
| 659 |
+
'lknee',
|
| 660 |
+
))
|
| 661 |
+
})),
|
| 662 |
+
pipeline=[
|
| 663 |
+
dict(type='LoadImage'),
|
| 664 |
+
dict(type='GetBBoxCenterScale'),
|
| 665 |
+
dict(direction='horizontal', type='RandomFlip'),
|
| 666 |
+
dict(type='RandomHalfBody'),
|
| 667 |
+
dict(type='RandomBBoxTransform'),
|
| 668 |
+
dict(input_size=(
|
| 669 |
+
256,
|
| 670 |
+
256,
|
| 671 |
+
), type='TopdownAffine'),
|
| 672 |
+
dict(
|
| 673 |
+
encoder=dict(
|
| 674 |
+
heatmap_size=(
|
| 675 |
+
64,
|
| 676 |
+
64,
|
| 677 |
+
),
|
| 678 |
+
input_size=(
|
| 679 |
+
256,
|
| 680 |
+
256,
|
| 681 |
+
),
|
| 682 |
+
sigma=2,
|
| 683 |
+
type='MSRAHeatmap'),
|
| 684 |
+
type='GenerateTarget'),
|
| 685 |
+
dict(type='PackPoseInputs'),
|
| 686 |
+
],
|
| 687 |
+
type='CocoDataset'),
|
| 688 |
+
num_workers=2,
|
| 689 |
+
persistent_workers=True,
|
| 690 |
+
sampler=dict(shuffle=True, type='DefaultSampler'))
|
| 691 |
+
train_pipeline = [
|
| 692 |
+
dict(type='LoadImage'),
|
| 693 |
+
dict(type='GetBBoxCenterScale'),
|
| 694 |
+
dict(direction='horizontal', type='RandomFlip'),
|
| 695 |
+
dict(type='RandomHalfBody'),
|
| 696 |
+
dict(type='RandomBBoxTransform'),
|
| 697 |
+
dict(input_size=(
|
| 698 |
+
256,
|
| 699 |
+
256,
|
| 700 |
+
), type='TopdownAffine'),
|
| 701 |
+
dict(
|
| 702 |
+
encoder=dict(
|
| 703 |
+
heatmap_size=(
|
| 704 |
+
64,
|
| 705 |
+
64,
|
| 706 |
+
),
|
| 707 |
+
input_size=(
|
| 708 |
+
256,
|
| 709 |
+
256,
|
| 710 |
+
),
|
| 711 |
+
sigma=2,
|
| 712 |
+
type='MSRAHeatmap'),
|
| 713 |
+
type='GenerateTarget'),
|
| 714 |
+
dict(type='PackPoseInputs'),
|
| 715 |
+
]
|
| 716 |
+
val_cfg = dict()
|
| 717 |
+
val_dataloader = dict(
|
| 718 |
+
batch_size=24,
|
| 719 |
+
dataset=dict(
|
| 720 |
+
ann_file=
|
| 721 |
+
'/media/alexchan/RavenBackup/Bonobo/Annotations/KeypointAnnotation/COCO_July/annotations/val_labels.json',
|
| 722 |
+
bbox_file=None,
|
| 723 |
+
data_mode='topdown',
|
| 724 |
+
data_prefix=dict(img=''),
|
| 725 |
+
data_root=
|
| 726 |
+
'/media/alexchan/RavenBackup/Bonobo/Annotations/KeypointAnnotation/COCO_July/images',
|
| 727 |
+
metainfo=dict(
|
| 728 |
+
dataset_name='coco',
|
| 729 |
+
joint_weights=[
|
| 730 |
+
1.0,
|
| 731 |
+
1.0,
|
| 732 |
+
1.0,
|
| 733 |
+
1.0,
|
| 734 |
+
1.0,
|
| 735 |
+
1.0,
|
| 736 |
+
1.0,
|
| 737 |
+
1.0,
|
| 738 |
+
1.0,
|
| 739 |
+
1.0,
|
| 740 |
+
1.0,
|
| 741 |
+
1.0,
|
| 742 |
+
1.0,
|
| 743 |
+
1.0,
|
| 744 |
+
1.0,
|
| 745 |
+
1.0,
|
| 746 |
+
],
|
| 747 |
+
keypoint_info=dict({
|
| 748 |
+
0:
|
| 749 |
+
dict(color=[
|
| 750 |
+
255,
|
| 751 |
+
0,
|
| 752 |
+
0,
|
| 753 |
+
], id=0, name='root', swap=''),
|
| 754 |
+
1:
|
| 755 |
+
dict(color=[
|
| 756 |
+
255,
|
| 757 |
+
0,
|
| 758 |
+
0,
|
| 759 |
+
], id=1, name='rankle', swap='lankle'),
|
| 760 |
+
10:
|
| 761 |
+
dict(color=[
|
| 762 |
+
255,
|
| 763 |
+
0,
|
| 764 |
+
0,
|
| 765 |
+
], id=10, name='rshoul', swap='lshoul'),
|
| 766 |
+
11:
|
| 767 |
+
dict(color=[
|
| 768 |
+
255,
|
| 769 |
+
0,
|
| 770 |
+
0,
|
| 771 |
+
], id=11, name='relbow', swap='lelbow'),
|
| 772 |
+
12:
|
| 773 |
+
dict(color=[
|
| 774 |
+
255,
|
| 775 |
+
0,
|
| 776 |
+
0,
|
| 777 |
+
], id=12, name='rwrist', swap='lwrist'),
|
| 778 |
+
13:
|
| 779 |
+
dict(color=[
|
| 780 |
+
255,
|
| 781 |
+
0,
|
| 782 |
+
0,
|
| 783 |
+
], id=13, name='lshoul', swap='rshoul'),
|
| 784 |
+
14:
|
| 785 |
+
dict(color=[
|
| 786 |
+
255,
|
| 787 |
+
0,
|
| 788 |
+
0,
|
| 789 |
+
], id=14, name='lelbow', swap='relbow'),
|
| 790 |
+
15:
|
| 791 |
+
dict(color=[
|
| 792 |
+
255,
|
| 793 |
+
0,
|
| 794 |
+
0,
|
| 795 |
+
], id=15, name='lwrist', swap='rwrist'),
|
| 796 |
+
2:
|
| 797 |
+
dict(color=[
|
| 798 |
+
255,
|
| 799 |
+
0,
|
| 800 |
+
0,
|
| 801 |
+
], id=2, name='rknee', swap='lknee'),
|
| 802 |
+
3:
|
| 803 |
+
dict(color=[
|
| 804 |
+
255,
|
| 805 |
+
0,
|
| 806 |
+
0,
|
| 807 |
+
], id=3, name='lknee', swap='rknee'),
|
| 808 |
+
4:
|
| 809 |
+
dict(color=[
|
| 810 |
+
255,
|
| 811 |
+
0,
|
| 812 |
+
0,
|
| 813 |
+
], id=4, name='lankle', swap='rankle'),
|
| 814 |
+
5:
|
| 815 |
+
dict(color=[
|
| 816 |
+
255,
|
| 817 |
+
0,
|
| 818 |
+
0,
|
| 819 |
+
], id=5, name='neck', swap=''),
|
| 820 |
+
6:
|
| 821 |
+
dict(color=[
|
| 822 |
+
255,
|
| 823 |
+
0,
|
| 824 |
+
0,
|
| 825 |
+
], id=6, name='ulip', swap=''),
|
| 826 |
+
7:
|
| 827 |
+
dict(color=[
|
| 828 |
+
255,
|
| 829 |
+
0,
|
| 830 |
+
0,
|
| 831 |
+
], id=7, name='llip', swap=''),
|
| 832 |
+
8:
|
| 833 |
+
dict(color=[
|
| 834 |
+
255,
|
| 835 |
+
0,
|
| 836 |
+
0,
|
| 837 |
+
], id=8, name='reye', swap='leye'),
|
| 838 |
+
9:
|
| 839 |
+
dict(color=[
|
| 840 |
+
255,
|
| 841 |
+
0,
|
| 842 |
+
0,
|
| 843 |
+
], id=9, name='leye', swap='reye')
|
| 844 |
+
}),
|
| 845 |
+
sigmas=[
|
| 846 |
+
0.025,
|
| 847 |
+
0.025,
|
| 848 |
+
0.025,
|
| 849 |
+
0.025,
|
| 850 |
+
0.025,
|
| 851 |
+
0.025,
|
| 852 |
+
0.025,
|
| 853 |
+
0.025,
|
| 854 |
+
0.025,
|
| 855 |
+
0.025,
|
| 856 |
+
0.025,
|
| 857 |
+
0.025,
|
| 858 |
+
0.025,
|
| 859 |
+
0.025,
|
| 860 |
+
0.025,
|
| 861 |
+
0.025,
|
| 862 |
+
],
|
| 863 |
+
skeleton_info=dict({
|
| 864 |
+
0:
|
| 865 |
+
dict(color=[
|
| 866 |
+
255,
|
| 867 |
+
0,
|
| 868 |
+
0,
|
| 869 |
+
], link=(
|
| 870 |
+
'root',
|
| 871 |
+
'neck',
|
| 872 |
+
)),
|
| 873 |
+
1:
|
| 874 |
+
dict(color=[
|
| 875 |
+
255,
|
| 876 |
+
0,
|
| 877 |
+
0,
|
| 878 |
+
], link=(
|
| 879 |
+
'neck',
|
| 880 |
+
'rshoul',
|
| 881 |
+
)),
|
| 882 |
+
10:
|
| 883 |
+
dict(color=[
|
| 884 |
+
255,
|
| 885 |
+
0,
|
| 886 |
+
0,
|
| 887 |
+
], link=(
|
| 888 |
+
'lknee',
|
| 889 |
+
'lankle',
|
| 890 |
+
)),
|
| 891 |
+
2:
|
| 892 |
+
dict(color=[
|
| 893 |
+
255,
|
| 894 |
+
0,
|
| 895 |
+
0,
|
| 896 |
+
], link=(
|
| 897 |
+
'rshoul',
|
| 898 |
+
'relbow',
|
| 899 |
+
)),
|
| 900 |
+
3:
|
| 901 |
+
dict(color=[
|
| 902 |
+
255,
|
| 903 |
+
0,
|
| 904 |
+
0,
|
| 905 |
+
], link=(
|
| 906 |
+
'relbow',
|
| 907 |
+
'rwrist',
|
| 908 |
+
)),
|
| 909 |
+
4:
|
| 910 |
+
dict(color=[
|
| 911 |
+
255,
|
| 912 |
+
0,
|
| 913 |
+
0,
|
| 914 |
+
], link=(
|
| 915 |
+
'neck',
|
| 916 |
+
'lshoul',
|
| 917 |
+
)),
|
| 918 |
+
5:
|
| 919 |
+
dict(color=[
|
| 920 |
+
255,
|
| 921 |
+
0,
|
| 922 |
+
0,
|
| 923 |
+
], link=(
|
| 924 |
+
'lshoul',
|
| 925 |
+
'lelbow',
|
| 926 |
+
)),
|
| 927 |
+
6:
|
| 928 |
+
dict(color=[
|
| 929 |
+
255,
|
| 930 |
+
0,
|
| 931 |
+
0,
|
| 932 |
+
], link=(
|
| 933 |
+
'lelbow',
|
| 934 |
+
'lwrist',
|
| 935 |
+
)),
|
| 936 |
+
7:
|
| 937 |
+
dict(color=[
|
| 938 |
+
255,
|
| 939 |
+
0,
|
| 940 |
+
0,
|
| 941 |
+
], link=(
|
| 942 |
+
'root',
|
| 943 |
+
'rknee',
|
| 944 |
+
)),
|
| 945 |
+
8:
|
| 946 |
+
dict(color=[
|
| 947 |
+
255,
|
| 948 |
+
0,
|
| 949 |
+
0,
|
| 950 |
+
], link=(
|
| 951 |
+
'rknee',
|
| 952 |
+
'rankle',
|
| 953 |
+
)),
|
| 954 |
+
9:
|
| 955 |
+
dict(color=[
|
| 956 |
+
255,
|
| 957 |
+
0,
|
| 958 |
+
0,
|
| 959 |
+
], link=(
|
| 960 |
+
'root',
|
| 961 |
+
'lknee',
|
| 962 |
+
))
|
| 963 |
+
})),
|
| 964 |
+
pipeline=[
|
| 965 |
+
dict(type='LoadImage'),
|
| 966 |
+
dict(type='GetBBoxCenterScale'),
|
| 967 |
+
dict(input_size=(
|
| 968 |
+
256,
|
| 969 |
+
256,
|
| 970 |
+
), type='TopdownAffine'),
|
| 971 |
+
dict(type='PackPoseInputs'),
|
| 972 |
+
],
|
| 973 |
+
test_mode=True,
|
| 974 |
+
type='CocoDataset'),
|
| 975 |
+
drop_last=False,
|
| 976 |
+
num_workers=2,
|
| 977 |
+
persistent_workers=True,
|
| 978 |
+
sampler=dict(round_up=False, shuffle=False, type='DefaultSampler'))
|
| 979 |
+
val_evaluator = [
|
| 980 |
+
dict(thr=0.05, type='PCKAccuracy'),
|
| 981 |
+
dict(type='AUC'),
|
| 982 |
+
]
|
| 983 |
+
val_pipeline = [
|
| 984 |
+
dict(type='LoadImage'),
|
| 985 |
+
dict(type='GetBBoxCenterScale'),
|
| 986 |
+
dict(input_size=(
|
| 987 |
+
256,
|
| 988 |
+
256,
|
| 989 |
+
), type='TopdownAffine'),
|
| 990 |
+
dict(type='PackPoseInputs'),
|
| 991 |
+
]
|
| 992 |
+
vis_backends = [
|
| 993 |
+
dict(type='LocalVisBackend'),
|
| 994 |
+
]
|
| 995 |
+
visualizer = dict(
|
| 996 |
+
name='visualizer',
|
| 997 |
+
type='PoseLocalVisualizer',
|
| 998 |
+
vis_backends=[
|
| 999 |
+
dict(type='LocalVisBackend'),
|
| 1000 |
+
])
|
| 1001 |
+
work_dir = '/media/alexchan/DataSSD/SuperApeDataset/FineTuned_bonobo_weights'
|
ape/pose/metadata.json
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"model_id": "ape-pose",
|
| 4 |
+
"status": "draft",
|
| 5 |
+
"species": {
|
| 6 |
+
"group": "ape",
|
| 7 |
+
"common_name": "chimpanzees, bonobos",
|
| 8 |
+
"scientific_name": null,
|
| 9 |
+
"covered_common_names": [
|
| 10 |
+
"chimpanzees",
|
| 11 |
+
"bonobos"
|
| 12 |
+
],
|
| 13 |
+
"coverage_note": "The author reports testing on chimpanzees and bonobos.",
|
| 14 |
+
"coverage_source": "Model author, 2026-11-20"
|
| 15 |
+
},
|
| 16 |
+
"task": "keypoint-estimation",
|
| 17 |
+
"framework": "MMPose",
|
| 18 |
+
"architecture": "HRNet-W32",
|
| 19 |
+
"model_version": null,
|
| 20 |
+
"files": {
|
| 21 |
+
"weights": "ape-pose.pth",
|
| 22 |
+
"config": "ape-pose.py",
|
| 23 |
+
"additional": []
|
| 24 |
+
},
|
| 25 |
+
"class_names": [],
|
| 26 |
+
"keypoint_names": [
|
| 27 |
+
"root",
|
| 28 |
+
"rankle",
|
| 29 |
+
"rknee",
|
| 30 |
+
"lknee",
|
| 31 |
+
"lankle",
|
| 32 |
+
"neck",
|
| 33 |
+
"ulip",
|
| 34 |
+
"llip",
|
| 35 |
+
"reye",
|
| 36 |
+
"leye",
|
| 37 |
+
"rshoul",
|
| 38 |
+
"relbow",
|
| 39 |
+
"rwrist",
|
| 40 |
+
"lshoul",
|
| 41 |
+
"lelbow",
|
| 42 |
+
"lwrist"
|
| 43 |
+
],
|
| 44 |
+
"skeleton": [
|
| 45 |
+
[
|
| 46 |
+
"root",
|
| 47 |
+
"neck"
|
| 48 |
+
],
|
| 49 |
+
[
|
| 50 |
+
"neck",
|
| 51 |
+
"rshoul"
|
| 52 |
+
],
|
| 53 |
+
[
|
| 54 |
+
"rshoul",
|
| 55 |
+
"relbow"
|
| 56 |
+
],
|
| 57 |
+
[
|
| 58 |
+
"relbow",
|
| 59 |
+
"rwrist"
|
| 60 |
+
],
|
| 61 |
+
[
|
| 62 |
+
"neck",
|
| 63 |
+
"lshoul"
|
| 64 |
+
],
|
| 65 |
+
[
|
| 66 |
+
"lshoul",
|
| 67 |
+
"lelbow"
|
| 68 |
+
],
|
| 69 |
+
[
|
| 70 |
+
"lelbow",
|
| 71 |
+
"lwrist"
|
| 72 |
+
],
|
| 73 |
+
[
|
| 74 |
+
"root",
|
| 75 |
+
"rknee"
|
| 76 |
+
],
|
| 77 |
+
[
|
| 78 |
+
"rknee",
|
| 79 |
+
"rankle"
|
| 80 |
+
],
|
| 81 |
+
[
|
| 82 |
+
"root",
|
| 83 |
+
"lknee"
|
| 84 |
+
],
|
| 85 |
+
[
|
| 86 |
+
"lknee",
|
| 87 |
+
"lankle"
|
| 88 |
+
]
|
| 89 |
+
],
|
| 90 |
+
"flip_pairs": [
|
| 91 |
+
[
|
| 92 |
+
"rankle",
|
| 93 |
+
"lankle"
|
| 94 |
+
],
|
| 95 |
+
[
|
| 96 |
+
"rknee",
|
| 97 |
+
"lknee"
|
| 98 |
+
],
|
| 99 |
+
[
|
| 100 |
+
"reye",
|
| 101 |
+
"leye"
|
| 102 |
+
],
|
| 103 |
+
[
|
| 104 |
+
"rshoul",
|
| 105 |
+
"lshoul"
|
| 106 |
+
],
|
| 107 |
+
[
|
| 108 |
+
"relbow",
|
| 109 |
+
"lelbow"
|
| 110 |
+
],
|
| 111 |
+
[
|
| 112 |
+
"rwrist",
|
| 113 |
+
"lwrist"
|
| 114 |
+
]
|
| 115 |
+
],
|
| 116 |
+
"recommended_detector": "ape-detection",
|
| 117 |
+
"inference": {
|
| 118 |
+
"input_size": [
|
| 119 |
+
256,
|
| 120 |
+
256
|
| 121 |
+
],
|
| 122 |
+
"recommended_confidence_threshold": null
|
| 123 |
+
},
|
| 124 |
+
"compatibility": {
|
| 125 |
+
"maap3d": null,
|
| 126 |
+
"python": null,
|
| 127 |
+
"packages": {}
|
| 128 |
+
},
|
| 129 |
+
"training": {
|
| 130 |
+
"description": "Pretrained using ChimpACT and OpenApePose, then fine-tuned using a custom bonobo dataset.",
|
| 131 |
+
"dataset_url": null,
|
| 132 |
+
"base_model": null,
|
| 133 |
+
"sources": [
|
| 134 |
+
{
|
| 135 |
+
"name": "ChimpACT",
|
| 136 |
+
"role": "pretraining",
|
| 137 |
+
"url": "https://github.com/ShirleyMaxx/ChimpACT"
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"name": "OpenApePose",
|
| 141 |
+
"role": "pretraining",
|
| 142 |
+
"url": "https://github.com/desai-nisarg/OpenApePose"
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"name": "Custom bonobo dataset",
|
| 146 |
+
"role": "fine-tuning",
|
| 147 |
+
"url": null
|
| 148 |
+
}
|
| 149 |
+
]
|
| 150 |
+
},
|
| 151 |
+
"evaluation": {
|
| 152 |
+
"dataset": null,
|
| 153 |
+
"split": null,
|
| 154 |
+
"num_images": null,
|
| 155 |
+
"metrics": {}
|
| 156 |
+
},
|
| 157 |
+
"license": {
|
| 158 |
+
"identifier": "AGPL-3.0-or-later",
|
| 159 |
+
"url": "https://www.gnu.org/licenses/agpl-3.0.html",
|
| 160 |
+
"scope": "Author-selected default for original MAAP3D model contributions; upstream materials retain their own terms.",
|
| 161 |
+
"policy_file": "../../LICENSE_POLICY.md",
|
| 162 |
+
"upstream_review_status": "pending",
|
| 163 |
+
"complete_artifact_license_verified": false,
|
| 164 |
+
"upstream_notes": [
|
| 165 |
+
"ChimpACT lists its dataset as CC BY-NC 4.0. Check the exact pretraining data/checkpoint grant and any separately obtained permission before publication; the dataset label alone does not settle the license of the trained weights.",
|
| 166 |
+
"The exact pretrained checkpoint and the OpenApePose terms applicable to the material used still need confirmation."
|
| 167 |
+
]
|
| 168 |
+
},
|
| 169 |
+
"citation": "If using this model in research or a publication, please cite MAAP3D, ChimpACT, and OpenApePose and identify the model ID and revision used.",
|
| 170 |
+
"provenance": {
|
| 171 |
+
"weights": {
|
| 172 |
+
"original_filename": "Bonobo_epoch_57.pth",
|
| 173 |
+
"sha256": "3461aa6aca300188e060d5c869e54a532c5ab597264d2e24d44323858b629297",
|
| 174 |
+
"size_bytes": 115120688
|
| 175 |
+
},
|
| 176 |
+
"config": {
|
| 177 |
+
"original_filename": "td-hm_hrnet-256x256.py",
|
| 178 |
+
"sha256": "834f077203b218c920b6e82f70aa27a9a00bc771bef6acaeead78f3e6bd8f344",
|
| 179 |
+
"size_bytes": 26882
|
| 180 |
+
}
|
| 181 |
+
},
|
| 182 |
+
"pose_estimator_type": "TopdownPoseEstimator",
|
| 183 |
+
"detector_requirement": "required",
|
| 184 |
+
"metadata_sources": {
|
| 185 |
+
"framework": "ape-pose.py:default_scope",
|
| 186 |
+
"architecture": "ape-pose.py:model.backbone",
|
| 187 |
+
"pose_estimator_type": "ape-pose.py:model.type",
|
| 188 |
+
"keypoint_names": "ape-pose.py:test_dataloader.dataset.metainfo.keypoint_info (numeric ID order)",
|
| 189 |
+
"skeleton": "ape-pose.py:test_dataloader.dataset.metainfo.skeleton_info",
|
| 190 |
+
"flip_pairs": "ape-pose.py:test_dataloader.dataset.metainfo.keypoint_info.swap",
|
| 191 |
+
"inference.input_size": "ape-pose.py:codec.input_size",
|
| 192 |
+
"description": "Model author, 2026-11-20",
|
| 193 |
+
"species": "Model author, 2026-11-20; common names retained without inferred scientific taxonomy",
|
| 194 |
+
"training.description": "Model author, 2026-11-20; keypoint training history",
|
| 195 |
+
"limitations": "Model author, 2026-11-20; detector caveats apply to detection models",
|
| 196 |
+
"license": "Author-selected default policy, 2026-11-20; upstream review remains pending",
|
| 197 |
+
"citation": "Model author, 2026-11-20; references in ../../CITATIONS.md"
|
| 198 |
+
},
|
| 199 |
+
"description": "Generalized ape model.",
|
| 200 |
+
"limitations": [],
|
| 201 |
+
"author_reported_observations": [
|
| 202 |
+
"The author reports that the pose model is effective across contexts; quantitative evaluation has not been supplied."
|
| 203 |
+
],
|
| 204 |
+
"config_license": {
|
| 205 |
+
"identifier": "Apache-2.0",
|
| 206 |
+
"scope": "OpenMMLab-derived configuration material; exact source/modification lineage remains to be confirmed.",
|
| 207 |
+
"license_file": "../../LICENSES/Apache-2.0.txt",
|
| 208 |
+
"notices_file": "../../THIRD_PARTY_NOTICES.md"
|
| 209 |
+
},
|
| 210 |
+
"citations": [
|
| 211 |
+
{
|
| 212 |
+
"id": "maap3d",
|
| 213 |
+
"name": "MAAP3D",
|
| 214 |
+
"url": "https://github.com/alexhang212/MAAP3D_Toolbox"
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"id": "chimpact",
|
| 218 |
+
"name": "ChimpACT",
|
| 219 |
+
"url": "https://github.com/ShirleyMaxx/ChimpACT"
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"id": "openapepose",
|
| 223 |
+
"name": "OpenApePose",
|
| 224 |
+
"url": "https://github.com/desai-nisarg/OpenApePose"
|
| 225 |
+
}
|
| 226 |
+
],
|
| 227 |
+
"citation_policy": "Research citation request; not an additional AGPL license condition."
|
| 228 |
+
}
|
bird/pose/README.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Bird pose model
|
| 2 |
+
|
| 3 |
+
**Status: draft. Files supplied; inference not validated.**
|
| 4 |
+
|
| 5 |
+
Model ID: `bird-pose`. See [metadata.json](metadata.json) and the
|
| 6 |
+
[model-zoo overview](../../README.md).
|
| 7 |
+
|
| 8 |
+
## Model description
|
| 9 |
+
|
| 10 |
+
Generalized bird model.
|
| 11 |
+
|
| 12 |
+
A range of birds; an exhaustive species list was not supplied.
|
| 13 |
+
|
| 14 |
+
Descriptions and species coverage are supplied by the model author. They are
|
| 15 |
+
not a new independent evaluation of this checkpoint.
|
| 16 |
+
|
| 17 |
+
## Model files
|
| 18 |
+
|
| 19 |
+
| Role | File |
|
| 20 |
+
| --- | --- |
|
| 21 |
+
| Weights | [bird-pose.pth](bird-pose.pth) |
|
| 22 |
+
| Config | [bird-pose.py](bird-pose.py) |
|
| 23 |
+
|
| 24 |
+
Original filenames and SHA-256 hashes are recorded in `metadata.json`.
|
| 25 |
+
Checkpoint and config bytes have not been changed by these documentation updates.
|
| 26 |
+
|
| 27 |
+
## Pose definition
|
| 28 |
+
|
| 29 |
+
- Framework: MMPose
|
| 30 |
+
- Architecture: HRNet-W32
|
| 31 |
+
- Input size: 256 x 256 pixels (width x height)
|
| 32 |
+
- Keypoints: 6; exact output order is in metadata
|
| 33 |
+
- Skeleton links: 5; flip pairs use keypoint names
|
| 34 |
+
|
| 35 |
+
These technical fields were extracted from the supplied config. The config
|
| 36 |
+
retains its original training/evaluation paths and initialization settings;
|
| 37 |
+
those paths are not portable training instructions.
|
| 38 |
+
|
| 39 |
+
This top-down model requires detection boxes. No compatible detector has
|
| 40 |
+
been supplied for this group; select and validate one before release.
|
| 41 |
+
|
| 42 |
+
## Training data
|
| 43 |
+
|
| 44 |
+
Trained using a combination of CUB, the bird subset of Animal Kingdom, and custom bird datasets.
|
| 45 |
+
|
| 46 |
+
- CUB: keypoint training; version unspecified
|
| 47 |
+
- [Animal Kingdom (bird subset)](https://github.com/SUTDCV/Animal-Kingdom): keypoint training
|
| 48 |
+
- Custom bird datasets: keypoint training
|
| 49 |
+
|
| 50 |
+
These sources describe the author-reported training history. The exact base
|
| 51 |
+
checkpoint filenames, data versions, sample counts and training recipe remain
|
| 52 |
+
unspecified. A dataset paper is not a checkpoint identifier or a license grant.
|
| 53 |
+
|
| 54 |
+
## Evaluation and limitations
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
Quantitative held-out accuracy, data splits, speed benchmarks and model-backed
|
| 58 |
+
validation results have not been supplied. No numerical results are claimed.
|
| 59 |
+
|
| 60 |
+
## License and attribution
|
| 61 |
+
|
| 62 |
+
The author-selected default for original MAAP3D model contributions is
|
| 63 |
+
**AGPL-3.0-or-later**. See the [license text](../../LICENSE) and
|
| 64 |
+
[licensing policy](../../LICENSE_POLICY.md). This default does not replace
|
| 65 |
+
upstream model, code, configuration or dataset terms. The complete artifact's
|
| 66 |
+
licensing provenance is still under review; this card is not a clearance statement.
|
| 67 |
+
|
| 68 |
+
OpenMMLab-derived configuration material retains Apache-2.0 terms. See
|
| 69 |
+
[third-party notices](../../THIRD_PARTY_NOTICES.md) and the
|
| 70 |
+
[Apache license](../../LICENSES/Apache-2.0.txt).
|
| 71 |
+
|
| 72 |
+
- Confirm which CUB release was used. The CUB-200-2011 website restricts its images to non-commercial research and education; whether those terms or other grants affect this checkpoint must be reviewed using the actual release and training provenance.
|
| 73 |
+
- Confirm the Animal Kingdom subset terms, custom-data permissions and exact base checkpoint before publication.
|
| 74 |
+
|
| 75 |
+
## Citation
|
| 76 |
+
|
| 77 |
+
If using this model in research or a publication, please cite MAAP3D, CUB, and Animal Kingdom and identify the model ID and revision used.
|
| 78 |
+
|
| 79 |
+
- [MAAP3D](../../CITATIONS.md#maap3d)
|
| 80 |
+
- [CUB](../../CITATIONS.md#cub)
|
| 81 |
+
- [Animal Kingdom](../../CITATIONS.md#animal-kingdom)
|
| 82 |
+
|
| 83 |
+
For CUB, cite the actual dataset release used. The shared references include
|
| 84 |
+
CUB-200-2011 conditionally; the training release has not yet been confirmed.
|
| 85 |
+
|
| 86 |
+
References and BibTeX are in [CITATIONS.md](../../CITATIONS.md) and
|
| 87 |
+
[CITATIONS.bib](../../CITATIONS.bib). Citation is requested as scholarly credit;
|
| 88 |
+
it is not an additional condition added to AGPL.
|
| 89 |
+
|
| 90 |
+
## Remaining release details
|
| 91 |
+
|
| 92 |
+
Record the release/version label, actual base checkpoint, detector class labels
|
| 93 |
+
where applicable, tested MAAP3D/Python/backend versions and an inference example.
|
| 94 |
+
Keep this slot in its current draft/template state until applicable licensing
|
| 95 |
+
provenance, required metadata and model-backed validation are complete.
|
bird/pose/bird-pose.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:525b92400e4bffc26ebf1954d684bf81c16de37c04f53ed3d32250f7fcf8bd08
|
| 3 |
+
size 115558704
|
bird/pose/bird-pose.py
ADDED
|
@@ -0,0 +1,674 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
auto_scale_lr = dict(base_batch_size=512)
|
| 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 |
+
custom_hooks = [
|
| 15 |
+
dict(type='SyncBuffersHook'),
|
| 16 |
+
]
|
| 17 |
+
data_mode = 'topdown'
|
| 18 |
+
data_root = '/media/alexchan/Extreme SSD/SampleDatasets/AnyBird/AlexManyBirds/COCO/images'
|
| 19 |
+
dataset_type = 'CocoDataset'
|
| 20 |
+
default_hooks = dict(
|
| 21 |
+
badcase=dict(
|
| 22 |
+
badcase_thr=5,
|
| 23 |
+
enable=False,
|
| 24 |
+
metric_type='loss',
|
| 25 |
+
out_dir='badcase',
|
| 26 |
+
type='BadCaseAnalysisHook'),
|
| 27 |
+
checkpoint=dict(
|
| 28 |
+
interval=5, rule='greater', save_best='PCK', type='CheckpointHook'),
|
| 29 |
+
logger=dict(interval=50, type='LoggerHook'),
|
| 30 |
+
param_scheduler=dict(type='ParamSchedulerHook'),
|
| 31 |
+
sampler_seed=dict(type='DistSamplerSeedHook'),
|
| 32 |
+
timer=dict(type='IterTimerHook'),
|
| 33 |
+
visualization=dict(enable=False, type='PoseVisualizationHook'))
|
| 34 |
+
default_scope = 'mmpose'
|
| 35 |
+
env_cfg = dict(
|
| 36 |
+
cudnn_benchmark=False,
|
| 37 |
+
dist_cfg=dict(backend='nccl'),
|
| 38 |
+
mp_cfg=dict(mp_start_method='fork', opencv_num_threads=0))
|
| 39 |
+
load_from = None
|
| 40 |
+
log_level = 'INFO'
|
| 41 |
+
log_processor = dict(
|
| 42 |
+
by_epoch=True, num_digits=6, type='LogProcessor', window_size=50)
|
| 43 |
+
model = dict(
|
| 44 |
+
backbone=dict(
|
| 45 |
+
extra=dict(
|
| 46 |
+
stage1=dict(
|
| 47 |
+
block='BOTTLENECK',
|
| 48 |
+
num_blocks=(4, ),
|
| 49 |
+
num_branches=1,
|
| 50 |
+
num_channels=(64, ),
|
| 51 |
+
num_modules=1),
|
| 52 |
+
stage2=dict(
|
| 53 |
+
block='BASIC',
|
| 54 |
+
num_blocks=(
|
| 55 |
+
4,
|
| 56 |
+
4,
|
| 57 |
+
),
|
| 58 |
+
num_branches=2,
|
| 59 |
+
num_channels=(
|
| 60 |
+
32,
|
| 61 |
+
64,
|
| 62 |
+
),
|
| 63 |
+
num_modules=1),
|
| 64 |
+
stage3=dict(
|
| 65 |
+
block='BASIC',
|
| 66 |
+
num_blocks=(
|
| 67 |
+
4,
|
| 68 |
+
4,
|
| 69 |
+
4,
|
| 70 |
+
),
|
| 71 |
+
num_branches=3,
|
| 72 |
+
num_channels=(
|
| 73 |
+
32,
|
| 74 |
+
64,
|
| 75 |
+
128,
|
| 76 |
+
),
|
| 77 |
+
num_modules=4),
|
| 78 |
+
stage4=dict(
|
| 79 |
+
block='BASIC',
|
| 80 |
+
num_blocks=(
|
| 81 |
+
4,
|
| 82 |
+
4,
|
| 83 |
+
4,
|
| 84 |
+
4,
|
| 85 |
+
),
|
| 86 |
+
num_branches=4,
|
| 87 |
+
num_channels=(
|
| 88 |
+
32,
|
| 89 |
+
64,
|
| 90 |
+
128,
|
| 91 |
+
256,
|
| 92 |
+
),
|
| 93 |
+
num_modules=3)),
|
| 94 |
+
in_channels=3,
|
| 95 |
+
init_cfg=dict(
|
| 96 |
+
checkpoint=
|
| 97 |
+
'https://download.openmmlab.com/mmpose/pretrain_models/hrnet_w32-36af842e.pth',
|
| 98 |
+
type='Pretrained'),
|
| 99 |
+
type='HRNet'),
|
| 100 |
+
data_preprocessor=dict(
|
| 101 |
+
bgr_to_rgb=True,
|
| 102 |
+
mean=[
|
| 103 |
+
123.675,
|
| 104 |
+
116.28,
|
| 105 |
+
103.53,
|
| 106 |
+
],
|
| 107 |
+
std=[
|
| 108 |
+
58.395,
|
| 109 |
+
57.12,
|
| 110 |
+
57.375,
|
| 111 |
+
],
|
| 112 |
+
type='PoseDataPreprocessor'),
|
| 113 |
+
head=dict(
|
| 114 |
+
decoder=dict(
|
| 115 |
+
heatmap_size=(
|
| 116 |
+
64,
|
| 117 |
+
64,
|
| 118 |
+
),
|
| 119 |
+
input_size=(
|
| 120 |
+
256,
|
| 121 |
+
256,
|
| 122 |
+
),
|
| 123 |
+
sigma=2,
|
| 124 |
+
type='MSRAHeatmap'),
|
| 125 |
+
deconv_out_channels=None,
|
| 126 |
+
in_channels=32,
|
| 127 |
+
loss=dict(type='KeypointMSELoss', use_target_weight=True),
|
| 128 |
+
out_channels=6,
|
| 129 |
+
type='HeatmapHead'),
|
| 130 |
+
test_cfg=dict(flip_mode='heatmap', flip_test=True, shift_heatmap=True),
|
| 131 |
+
type='TopdownPoseEstimator')
|
| 132 |
+
optim_wrapper = dict(optimizer=dict(lr=0.0005, type='AdamW'))
|
| 133 |
+
param_scheduler = [
|
| 134 |
+
dict(
|
| 135 |
+
begin=0, by_epoch=False, end=500, start_factor=0.001, type='LinearLR'),
|
| 136 |
+
dict(
|
| 137 |
+
begin=0,
|
| 138 |
+
by_epoch=True,
|
| 139 |
+
end=210,
|
| 140 |
+
gamma=0.1,
|
| 141 |
+
milestones=[
|
| 142 |
+
170,
|
| 143 |
+
200,
|
| 144 |
+
],
|
| 145 |
+
type='MultiStepLR'),
|
| 146 |
+
]
|
| 147 |
+
resume = False
|
| 148 |
+
test_cfg = dict()
|
| 149 |
+
test_dataloader = dict(
|
| 150 |
+
batch_size=64,
|
| 151 |
+
dataset=dict(
|
| 152 |
+
ann_file=
|
| 153 |
+
'/media/alexchan/Extreme SSD/SampleDatasets/AnyBird/AlexManyBirds/COCO/annotations/val_labels.json',
|
| 154 |
+
bbox_file=None,
|
| 155 |
+
data_mode='topdown',
|
| 156 |
+
data_prefix=dict(img=''),
|
| 157 |
+
data_root=
|
| 158 |
+
'/media/alexchan/Extreme SSD/SampleDatasets/AnyBird/AlexManyBirds/COCO/images',
|
| 159 |
+
metainfo=dict(
|
| 160 |
+
dataset_name='coco',
|
| 161 |
+
joint_weights=[
|
| 162 |
+
1.0,
|
| 163 |
+
1.0,
|
| 164 |
+
1.0,
|
| 165 |
+
1.0,
|
| 166 |
+
1.0,
|
| 167 |
+
1.0,
|
| 168 |
+
],
|
| 169 |
+
keypoint_info=dict({
|
| 170 |
+
0:
|
| 171 |
+
dict(color=[
|
| 172 |
+
255,
|
| 173 |
+
0,
|
| 174 |
+
0,
|
| 175 |
+
], id=0, name='hd_bill_tip', swap=''),
|
| 176 |
+
1:
|
| 177 |
+
dict(
|
| 178 |
+
color=[
|
| 179 |
+
255,
|
| 180 |
+
0,
|
| 181 |
+
0,
|
| 182 |
+
],
|
| 183 |
+
id=1,
|
| 184 |
+
name='hd_eye_left',
|
| 185 |
+
swap='hd_eye_right'),
|
| 186 |
+
2:
|
| 187 |
+
dict(
|
| 188 |
+
color=[
|
| 189 |
+
255,
|
| 190 |
+
0,
|
| 191 |
+
0,
|
| 192 |
+
],
|
| 193 |
+
id=2,
|
| 194 |
+
name='hd_eye_right',
|
| 195 |
+
swap='hd_eye_left'),
|
| 196 |
+
3:
|
| 197 |
+
dict(
|
| 198 |
+
color=[
|
| 199 |
+
255,
|
| 200 |
+
0,
|
| 201 |
+
0,
|
| 202 |
+
],
|
| 203 |
+
id=3,
|
| 204 |
+
name='bd_shoulder_left',
|
| 205 |
+
swap='bd_shoulder_right'),
|
| 206 |
+
4:
|
| 207 |
+
dict(
|
| 208 |
+
color=[
|
| 209 |
+
255,
|
| 210 |
+
0,
|
| 211 |
+
0,
|
| 212 |
+
],
|
| 213 |
+
id=4,
|
| 214 |
+
name='bd_shoulder_right',
|
| 215 |
+
swap='bd_shoulder_left'),
|
| 216 |
+
5:
|
| 217 |
+
dict(color=[
|
| 218 |
+
255,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
], id=5, name='bd_tail_base', swap='')
|
| 222 |
+
}),
|
| 223 |
+
sigmas=[
|
| 224 |
+
0.025,
|
| 225 |
+
0.025,
|
| 226 |
+
0.025,
|
| 227 |
+
0.025,
|
| 228 |
+
0.025,
|
| 229 |
+
0.025,
|
| 230 |
+
],
|
| 231 |
+
skeleton_info=dict({
|
| 232 |
+
0:
|
| 233 |
+
dict(
|
| 234 |
+
color=[
|
| 235 |
+
255,
|
| 236 |
+
0,
|
| 237 |
+
0,
|
| 238 |
+
], link=[
|
| 239 |
+
'hd_bill_tip',
|
| 240 |
+
'hd_eye_left',
|
| 241 |
+
]),
|
| 242 |
+
1:
|
| 243 |
+
dict(
|
| 244 |
+
color=[
|
| 245 |
+
255,
|
| 246 |
+
0,
|
| 247 |
+
0,
|
| 248 |
+
],
|
| 249 |
+
link=[
|
| 250 |
+
'hd_eye_left',
|
| 251 |
+
'hd_eye_right',
|
| 252 |
+
]),
|
| 253 |
+
2:
|
| 254 |
+
dict(
|
| 255 |
+
color=[
|
| 256 |
+
255,
|
| 257 |
+
0,
|
| 258 |
+
0,
|
| 259 |
+
],
|
| 260 |
+
link=[
|
| 261 |
+
'bd_shoulder_left',
|
| 262 |
+
'bd_shoulder_right',
|
| 263 |
+
]),
|
| 264 |
+
3:
|
| 265 |
+
dict(
|
| 266 |
+
color=[
|
| 267 |
+
255,
|
| 268 |
+
0,
|
| 269 |
+
0,
|
| 270 |
+
],
|
| 271 |
+
link=[
|
| 272 |
+
'bd_shoulder_left',
|
| 273 |
+
'bd_tail_base',
|
| 274 |
+
]),
|
| 275 |
+
4:
|
| 276 |
+
dict(
|
| 277 |
+
color=[
|
| 278 |
+
255,
|
| 279 |
+
0,
|
| 280 |
+
0,
|
| 281 |
+
],
|
| 282 |
+
link=[
|
| 283 |
+
'bd_shoulder_right',
|
| 284 |
+
'bd_tail_base',
|
| 285 |
+
])
|
| 286 |
+
})),
|
| 287 |
+
pipeline=[
|
| 288 |
+
dict(type='LoadImage'),
|
| 289 |
+
dict(type='GetBBoxCenterScale'),
|
| 290 |
+
dict(input_size=(
|
| 291 |
+
256,
|
| 292 |
+
256,
|
| 293 |
+
), type='TopdownAffine'),
|
| 294 |
+
dict(type='PackPoseInputs'),
|
| 295 |
+
],
|
| 296 |
+
test_mode=True,
|
| 297 |
+
type='CocoDataset'),
|
| 298 |
+
drop_last=False,
|
| 299 |
+
num_workers=2,
|
| 300 |
+
persistent_workers=True,
|
| 301 |
+
sampler=dict(round_up=False, shuffle=False, type='DefaultSampler'))
|
| 302 |
+
test_evaluator = [
|
| 303 |
+
dict(thr=0.05, type='PCKAccuracy'),
|
| 304 |
+
dict(type='AUC'),
|
| 305 |
+
]
|
| 306 |
+
train_cfg = dict(by_epoch=True, max_epochs=50, val_interval=5)
|
| 307 |
+
train_dataloader = dict(
|
| 308 |
+
batch_size=64,
|
| 309 |
+
dataset=dict(
|
| 310 |
+
ann_file=
|
| 311 |
+
'/media/alexchan/Extreme SSD/SampleDatasets/AnyBird/AlexManyBirds/COCO/annotations/train_labels.json',
|
| 312 |
+
data_mode='topdown',
|
| 313 |
+
data_prefix=dict(img=''),
|
| 314 |
+
data_root=
|
| 315 |
+
'/media/alexchan/Extreme SSD/SampleDatasets/AnyBird/AlexManyBirds/COCO/images',
|
| 316 |
+
metainfo=dict(
|
| 317 |
+
dataset_name='coco',
|
| 318 |
+
joint_weights=[
|
| 319 |
+
1.0,
|
| 320 |
+
1.0,
|
| 321 |
+
1.0,
|
| 322 |
+
1.0,
|
| 323 |
+
1.0,
|
| 324 |
+
1.0,
|
| 325 |
+
],
|
| 326 |
+
keypoint_info=dict({
|
| 327 |
+
0:
|
| 328 |
+
dict(color=[
|
| 329 |
+
255,
|
| 330 |
+
0,
|
| 331 |
+
0,
|
| 332 |
+
], id=0, name='hd_bill_tip', swap=''),
|
| 333 |
+
1:
|
| 334 |
+
dict(
|
| 335 |
+
color=[
|
| 336 |
+
255,
|
| 337 |
+
0,
|
| 338 |
+
0,
|
| 339 |
+
],
|
| 340 |
+
id=1,
|
| 341 |
+
name='hd_eye_left',
|
| 342 |
+
swap='hd_eye_right'),
|
| 343 |
+
2:
|
| 344 |
+
dict(
|
| 345 |
+
color=[
|
| 346 |
+
255,
|
| 347 |
+
0,
|
| 348 |
+
0,
|
| 349 |
+
],
|
| 350 |
+
id=2,
|
| 351 |
+
name='hd_eye_right',
|
| 352 |
+
swap='hd_eye_left'),
|
| 353 |
+
3:
|
| 354 |
+
dict(
|
| 355 |
+
color=[
|
| 356 |
+
255,
|
| 357 |
+
0,
|
| 358 |
+
0,
|
| 359 |
+
],
|
| 360 |
+
id=3,
|
| 361 |
+
name='bd_shoulder_left',
|
| 362 |
+
swap='bd_shoulder_right'),
|
| 363 |
+
4:
|
| 364 |
+
dict(
|
| 365 |
+
color=[
|
| 366 |
+
255,
|
| 367 |
+
0,
|
| 368 |
+
0,
|
| 369 |
+
],
|
| 370 |
+
id=4,
|
| 371 |
+
name='bd_shoulder_right',
|
| 372 |
+
swap='bd_shoulder_left'),
|
| 373 |
+
5:
|
| 374 |
+
dict(color=[
|
| 375 |
+
255,
|
| 376 |
+
0,
|
| 377 |
+
0,
|
| 378 |
+
], id=5, name='bd_tail_base', swap='')
|
| 379 |
+
}),
|
| 380 |
+
sigmas=[
|
| 381 |
+
0.025,
|
| 382 |
+
0.025,
|
| 383 |
+
0.025,
|
| 384 |
+
0.025,
|
| 385 |
+
0.025,
|
| 386 |
+
0.025,
|
| 387 |
+
],
|
| 388 |
+
skeleton_info=dict({
|
| 389 |
+
0:
|
| 390 |
+
dict(
|
| 391 |
+
color=[
|
| 392 |
+
255,
|
| 393 |
+
0,
|
| 394 |
+
0,
|
| 395 |
+
], link=[
|
| 396 |
+
'hd_bill_tip',
|
| 397 |
+
'hd_eye_left',
|
| 398 |
+
]),
|
| 399 |
+
1:
|
| 400 |
+
dict(
|
| 401 |
+
color=[
|
| 402 |
+
255,
|
| 403 |
+
0,
|
| 404 |
+
0,
|
| 405 |
+
],
|
| 406 |
+
link=[
|
| 407 |
+
'hd_eye_left',
|
| 408 |
+
'hd_eye_right',
|
| 409 |
+
]),
|
| 410 |
+
2:
|
| 411 |
+
dict(
|
| 412 |
+
color=[
|
| 413 |
+
255,
|
| 414 |
+
0,
|
| 415 |
+
0,
|
| 416 |
+
],
|
| 417 |
+
link=[
|
| 418 |
+
'bd_shoulder_left',
|
| 419 |
+
'bd_shoulder_right',
|
| 420 |
+
]),
|
| 421 |
+
3:
|
| 422 |
+
dict(
|
| 423 |
+
color=[
|
| 424 |
+
255,
|
| 425 |
+
0,
|
| 426 |
+
0,
|
| 427 |
+
],
|
| 428 |
+
link=[
|
| 429 |
+
'bd_shoulder_left',
|
| 430 |
+
'bd_tail_base',
|
| 431 |
+
]),
|
| 432 |
+
4:
|
| 433 |
+
dict(
|
| 434 |
+
color=[
|
| 435 |
+
255,
|
| 436 |
+
0,
|
| 437 |
+
0,
|
| 438 |
+
],
|
| 439 |
+
link=[
|
| 440 |
+
'bd_shoulder_right',
|
| 441 |
+
'bd_tail_base',
|
| 442 |
+
])
|
| 443 |
+
})),
|
| 444 |
+
pipeline=[
|
| 445 |
+
dict(type='LoadImage'),
|
| 446 |
+
dict(type='GetBBoxCenterScale'),
|
| 447 |
+
dict(direction='horizontal', type='RandomFlip'),
|
| 448 |
+
dict(type='RandomHalfBody'),
|
| 449 |
+
dict(type='RandomBBoxTransform'),
|
| 450 |
+
dict(input_size=(
|
| 451 |
+
256,
|
| 452 |
+
256,
|
| 453 |
+
), type='TopdownAffine'),
|
| 454 |
+
dict(
|
| 455 |
+
encoder=dict(
|
| 456 |
+
heatmap_size=(
|
| 457 |
+
64,
|
| 458 |
+
64,
|
| 459 |
+
),
|
| 460 |
+
input_size=(
|
| 461 |
+
256,
|
| 462 |
+
256,
|
| 463 |
+
),
|
| 464 |
+
sigma=2,
|
| 465 |
+
type='MSRAHeatmap'),
|
| 466 |
+
type='GenerateTarget'),
|
| 467 |
+
dict(type='PackPoseInputs'),
|
| 468 |
+
],
|
| 469 |
+
type='CocoDataset'),
|
| 470 |
+
num_workers=2,
|
| 471 |
+
persistent_workers=True,
|
| 472 |
+
sampler=dict(shuffle=True, type='DefaultSampler'))
|
| 473 |
+
train_pipeline = [
|
| 474 |
+
dict(type='LoadImage'),
|
| 475 |
+
dict(type='GetBBoxCenterScale'),
|
| 476 |
+
dict(direction='horizontal', type='RandomFlip'),
|
| 477 |
+
dict(type='RandomHalfBody'),
|
| 478 |
+
dict(type='RandomBBoxTransform'),
|
| 479 |
+
dict(input_size=(
|
| 480 |
+
256,
|
| 481 |
+
256,
|
| 482 |
+
), type='TopdownAffine'),
|
| 483 |
+
dict(
|
| 484 |
+
encoder=dict(
|
| 485 |
+
heatmap_size=(
|
| 486 |
+
64,
|
| 487 |
+
64,
|
| 488 |
+
),
|
| 489 |
+
input_size=(
|
| 490 |
+
256,
|
| 491 |
+
256,
|
| 492 |
+
),
|
| 493 |
+
sigma=2,
|
| 494 |
+
type='MSRAHeatmap'),
|
| 495 |
+
type='GenerateTarget'),
|
| 496 |
+
dict(type='PackPoseInputs'),
|
| 497 |
+
]
|
| 498 |
+
val_cfg = dict()
|
| 499 |
+
val_dataloader = dict(
|
| 500 |
+
batch_size=64,
|
| 501 |
+
dataset=dict(
|
| 502 |
+
ann_file=
|
| 503 |
+
'/media/alexchan/Extreme SSD/SampleDatasets/AnyBird/AlexManyBirds/COCO/annotations/val_labels.json',
|
| 504 |
+
bbox_file=None,
|
| 505 |
+
data_mode='topdown',
|
| 506 |
+
data_prefix=dict(img=''),
|
| 507 |
+
data_root=
|
| 508 |
+
'/media/alexchan/Extreme SSD/SampleDatasets/AnyBird/AlexManyBirds/COCO/images',
|
| 509 |
+
metainfo=dict(
|
| 510 |
+
dataset_name='coco',
|
| 511 |
+
joint_weights=[
|
| 512 |
+
1.0,
|
| 513 |
+
1.0,
|
| 514 |
+
1.0,
|
| 515 |
+
1.0,
|
| 516 |
+
1.0,
|
| 517 |
+
1.0,
|
| 518 |
+
],
|
| 519 |
+
keypoint_info=dict({
|
| 520 |
+
0:
|
| 521 |
+
dict(color=[
|
| 522 |
+
255,
|
| 523 |
+
0,
|
| 524 |
+
0,
|
| 525 |
+
], id=0, name='hd_bill_tip', swap=''),
|
| 526 |
+
1:
|
| 527 |
+
dict(
|
| 528 |
+
color=[
|
| 529 |
+
255,
|
| 530 |
+
0,
|
| 531 |
+
0,
|
| 532 |
+
],
|
| 533 |
+
id=1,
|
| 534 |
+
name='hd_eye_left',
|
| 535 |
+
swap='hd_eye_right'),
|
| 536 |
+
2:
|
| 537 |
+
dict(
|
| 538 |
+
color=[
|
| 539 |
+
255,
|
| 540 |
+
0,
|
| 541 |
+
0,
|
| 542 |
+
],
|
| 543 |
+
id=2,
|
| 544 |
+
name='hd_eye_right',
|
| 545 |
+
swap='hd_eye_left'),
|
| 546 |
+
3:
|
| 547 |
+
dict(
|
| 548 |
+
color=[
|
| 549 |
+
255,
|
| 550 |
+
0,
|
| 551 |
+
0,
|
| 552 |
+
],
|
| 553 |
+
id=3,
|
| 554 |
+
name='bd_shoulder_left',
|
| 555 |
+
swap='bd_shoulder_right'),
|
| 556 |
+
4:
|
| 557 |
+
dict(
|
| 558 |
+
color=[
|
| 559 |
+
255,
|
| 560 |
+
0,
|
| 561 |
+
0,
|
| 562 |
+
],
|
| 563 |
+
id=4,
|
| 564 |
+
name='bd_shoulder_right',
|
| 565 |
+
swap='bd_shoulder_left'),
|
| 566 |
+
5:
|
| 567 |
+
dict(color=[
|
| 568 |
+
255,
|
| 569 |
+
0,
|
| 570 |
+
0,
|
| 571 |
+
], id=5, name='bd_tail_base', swap='')
|
| 572 |
+
}),
|
| 573 |
+
sigmas=[
|
| 574 |
+
0.025,
|
| 575 |
+
0.025,
|
| 576 |
+
0.025,
|
| 577 |
+
0.025,
|
| 578 |
+
0.025,
|
| 579 |
+
0.025,
|
| 580 |
+
],
|
| 581 |
+
skeleton_info=dict({
|
| 582 |
+
0:
|
| 583 |
+
dict(
|
| 584 |
+
color=[
|
| 585 |
+
255,
|
| 586 |
+
0,
|
| 587 |
+
0,
|
| 588 |
+
], link=[
|
| 589 |
+
'hd_bill_tip',
|
| 590 |
+
'hd_eye_left',
|
| 591 |
+
]),
|
| 592 |
+
1:
|
| 593 |
+
dict(
|
| 594 |
+
color=[
|
| 595 |
+
255,
|
| 596 |
+
0,
|
| 597 |
+
0,
|
| 598 |
+
],
|
| 599 |
+
link=[
|
| 600 |
+
'hd_eye_left',
|
| 601 |
+
'hd_eye_right',
|
| 602 |
+
]),
|
| 603 |
+
2:
|
| 604 |
+
dict(
|
| 605 |
+
color=[
|
| 606 |
+
255,
|
| 607 |
+
0,
|
| 608 |
+
0,
|
| 609 |
+
],
|
| 610 |
+
link=[
|
| 611 |
+
'bd_shoulder_left',
|
| 612 |
+
'bd_shoulder_right',
|
| 613 |
+
]),
|
| 614 |
+
3:
|
| 615 |
+
dict(
|
| 616 |
+
color=[
|
| 617 |
+
255,
|
| 618 |
+
0,
|
| 619 |
+
0,
|
| 620 |
+
],
|
| 621 |
+
link=[
|
| 622 |
+
'bd_shoulder_left',
|
| 623 |
+
'bd_tail_base',
|
| 624 |
+
]),
|
| 625 |
+
4:
|
| 626 |
+
dict(
|
| 627 |
+
color=[
|
| 628 |
+
255,
|
| 629 |
+
0,
|
| 630 |
+
0,
|
| 631 |
+
],
|
| 632 |
+
link=[
|
| 633 |
+
'bd_shoulder_right',
|
| 634 |
+
'bd_tail_base',
|
| 635 |
+
])
|
| 636 |
+
})),
|
| 637 |
+
pipeline=[
|
| 638 |
+
dict(type='LoadImage'),
|
| 639 |
+
dict(type='GetBBoxCenterScale'),
|
| 640 |
+
dict(input_size=(
|
| 641 |
+
256,
|
| 642 |
+
256,
|
| 643 |
+
), type='TopdownAffine'),
|
| 644 |
+
dict(type='PackPoseInputs'),
|
| 645 |
+
],
|
| 646 |
+
test_mode=True,
|
| 647 |
+
type='CocoDataset'),
|
| 648 |
+
drop_last=False,
|
| 649 |
+
num_workers=2,
|
| 650 |
+
persistent_workers=True,
|
| 651 |
+
sampler=dict(round_up=False, shuffle=False, type='DefaultSampler'))
|
| 652 |
+
val_evaluator = [
|
| 653 |
+
dict(thr=0.05, type='PCKAccuracy'),
|
| 654 |
+
dict(type='AUC'),
|
| 655 |
+
]
|
| 656 |
+
val_pipeline = [
|
| 657 |
+
dict(type='LoadImage'),
|
| 658 |
+
dict(type='GetBBoxCenterScale'),
|
| 659 |
+
dict(input_size=(
|
| 660 |
+
256,
|
| 661 |
+
256,
|
| 662 |
+
), type='TopdownAffine'),
|
| 663 |
+
dict(type='PackPoseInputs'),
|
| 664 |
+
]
|
| 665 |
+
vis_backends = [
|
| 666 |
+
dict(type='LocalVisBackend'),
|
| 667 |
+
]
|
| 668 |
+
visualizer = dict(
|
| 669 |
+
name='visualizer',
|
| 670 |
+
type='PoseLocalVisualizer',
|
| 671 |
+
vis_backends=[
|
| 672 |
+
dict(type='LocalVisBackend'),
|
| 673 |
+
])
|
| 674 |
+
work_dir = '/media/alexchan/Extreme SSD/SampleDatasets/AnyBird/AlexManyBirds/Weights'
|
bird/pose/metadata.json
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"model_id": "bird-pose",
|
| 4 |
+
"status": "draft",
|
| 5 |
+
"species": {
|
| 6 |
+
"group": "bird",
|
| 7 |
+
"common_name": "birds (multiple species)",
|
| 8 |
+
"scientific_name": null,
|
| 9 |
+
"covered_common_names": [],
|
| 10 |
+
"coverage_note": "A range of birds; an exhaustive species list was not supplied.",
|
| 11 |
+
"coverage_source": "Model author, 2026-11-20"
|
| 12 |
+
},
|
| 13 |
+
"task": "keypoint-estimation",
|
| 14 |
+
"framework": "MMPose",
|
| 15 |
+
"architecture": "HRNet-W32",
|
| 16 |
+
"model_version": null,
|
| 17 |
+
"files": {
|
| 18 |
+
"weights": "bird-pose.pth",
|
| 19 |
+
"config": "bird-pose.py",
|
| 20 |
+
"additional": []
|
| 21 |
+
},
|
| 22 |
+
"class_names": [],
|
| 23 |
+
"keypoint_names": [
|
| 24 |
+
"hd_bill_tip",
|
| 25 |
+
"hd_eye_left",
|
| 26 |
+
"hd_eye_right",
|
| 27 |
+
"bd_shoulder_left",
|
| 28 |
+
"bd_shoulder_right",
|
| 29 |
+
"bd_tail_base"
|
| 30 |
+
],
|
| 31 |
+
"skeleton": [
|
| 32 |
+
[
|
| 33 |
+
"hd_bill_tip",
|
| 34 |
+
"hd_eye_left"
|
| 35 |
+
],
|
| 36 |
+
[
|
| 37 |
+
"hd_eye_left",
|
| 38 |
+
"hd_eye_right"
|
| 39 |
+
],
|
| 40 |
+
[
|
| 41 |
+
"bd_shoulder_left",
|
| 42 |
+
"bd_shoulder_right"
|
| 43 |
+
],
|
| 44 |
+
[
|
| 45 |
+
"bd_shoulder_left",
|
| 46 |
+
"bd_tail_base"
|
| 47 |
+
],
|
| 48 |
+
[
|
| 49 |
+
"bd_shoulder_right",
|
| 50 |
+
"bd_tail_base"
|
| 51 |
+
]
|
| 52 |
+
],
|
| 53 |
+
"flip_pairs": [
|
| 54 |
+
[
|
| 55 |
+
"hd_eye_left",
|
| 56 |
+
"hd_eye_right"
|
| 57 |
+
],
|
| 58 |
+
[
|
| 59 |
+
"bd_shoulder_left",
|
| 60 |
+
"bd_shoulder_right"
|
| 61 |
+
]
|
| 62 |
+
],
|
| 63 |
+
"recommended_detector": null,
|
| 64 |
+
"inference": {
|
| 65 |
+
"input_size": [
|
| 66 |
+
256,
|
| 67 |
+
256
|
| 68 |
+
],
|
| 69 |
+
"recommended_confidence_threshold": null
|
| 70 |
+
},
|
| 71 |
+
"compatibility": {
|
| 72 |
+
"maap3d": null,
|
| 73 |
+
"python": null,
|
| 74 |
+
"packages": {}
|
| 75 |
+
},
|
| 76 |
+
"training": {
|
| 77 |
+
"description": "Trained using a combination of CUB, the bird subset of Animal Kingdom, and custom bird datasets.",
|
| 78 |
+
"dataset_url": null,
|
| 79 |
+
"base_model": null,
|
| 80 |
+
"sources": [
|
| 81 |
+
{
|
| 82 |
+
"name": "CUB",
|
| 83 |
+
"role": "keypoint training; version unspecified",
|
| 84 |
+
"url": null
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"name": "Animal Kingdom (bird subset)",
|
| 88 |
+
"role": "keypoint training",
|
| 89 |
+
"url": "https://github.com/SUTDCV/Animal-Kingdom"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"name": "Custom bird datasets",
|
| 93 |
+
"role": "keypoint training",
|
| 94 |
+
"url": null
|
| 95 |
+
}
|
| 96 |
+
]
|
| 97 |
+
},
|
| 98 |
+
"evaluation": {
|
| 99 |
+
"dataset": null,
|
| 100 |
+
"split": null,
|
| 101 |
+
"num_images": null,
|
| 102 |
+
"metrics": {}
|
| 103 |
+
},
|
| 104 |
+
"license": {
|
| 105 |
+
"identifier": "AGPL-3.0-or-later",
|
| 106 |
+
"url": "https://www.gnu.org/licenses/agpl-3.0.html",
|
| 107 |
+
"scope": "Author-selected default for original MAAP3D model contributions; upstream materials retain their own terms.",
|
| 108 |
+
"policy_file": "../../LICENSE_POLICY.md",
|
| 109 |
+
"upstream_review_status": "pending",
|
| 110 |
+
"complete_artifact_license_verified": false,
|
| 111 |
+
"upstream_notes": [
|
| 112 |
+
"Confirm which CUB release was used. The CUB-200-2011 website restricts its images to non-commercial research and education; whether those terms or other grants affect this checkpoint must be reviewed using the actual release and training provenance.",
|
| 113 |
+
"Confirm the Animal Kingdom subset terms, custom-data permissions and exact base checkpoint before publication."
|
| 114 |
+
]
|
| 115 |
+
},
|
| 116 |
+
"citation": "If using this model in research or a publication, please cite MAAP3D, CUB, and Animal Kingdom and identify the model ID and revision used.",
|
| 117 |
+
"provenance": {
|
| 118 |
+
"weights": {
|
| 119 |
+
"original_filename": "AlexManyBirds_epoch_25.pth",
|
| 120 |
+
"sha256": "525b92400e4bffc26ebf1954d684bf81c16de37c04f53ed3d32250f7fcf8bd08",
|
| 121 |
+
"size_bytes": 115558704
|
| 122 |
+
},
|
| 123 |
+
"config": {
|
| 124 |
+
"original_filename": "hrnet.py",
|
| 125 |
+
"sha256": "e5f3a3c30eb4c1d661c28861aa87ec7169bafc76fcc511c647bbfcc927e6d3f2",
|
| 126 |
+
"size_bytes": 18842
|
| 127 |
+
}
|
| 128 |
+
},
|
| 129 |
+
"pose_estimator_type": "TopdownPoseEstimator",
|
| 130 |
+
"detector_requirement": "required",
|
| 131 |
+
"metadata_sources": {
|
| 132 |
+
"framework": "bird-pose.py:default_scope",
|
| 133 |
+
"architecture": "bird-pose.py:model.backbone",
|
| 134 |
+
"pose_estimator_type": "bird-pose.py:model.type",
|
| 135 |
+
"keypoint_names": "bird-pose.py:test_dataloader.dataset.metainfo.keypoint_info (numeric ID order)",
|
| 136 |
+
"skeleton": "bird-pose.py:test_dataloader.dataset.metainfo.skeleton_info",
|
| 137 |
+
"flip_pairs": "bird-pose.py:test_dataloader.dataset.metainfo.keypoint_info.swap",
|
| 138 |
+
"inference.input_size": "bird-pose.py:codec.input_size",
|
| 139 |
+
"description": "Model author, 2026-11-20",
|
| 140 |
+
"species": "Model author, 2026-11-20; common names retained without inferred scientific taxonomy",
|
| 141 |
+
"training.description": "Model author, 2026-11-20; keypoint training history",
|
| 142 |
+
"limitations": "Model author, 2026-11-20; detector caveats apply to detection models",
|
| 143 |
+
"license": "Author-selected default policy, 2026-11-20; upstream review remains pending",
|
| 144 |
+
"citation": "Model author, 2026-11-20; references in ../../CITATIONS.md"
|
| 145 |
+
},
|
| 146 |
+
"description": "Generalized bird model.",
|
| 147 |
+
"limitations": [],
|
| 148 |
+
"author_reported_observations": [],
|
| 149 |
+
"config_license": {
|
| 150 |
+
"identifier": "Apache-2.0",
|
| 151 |
+
"scope": "OpenMMLab-derived configuration material; exact source/modification lineage remains to be confirmed.",
|
| 152 |
+
"license_file": "../../LICENSES/Apache-2.0.txt",
|
| 153 |
+
"notices_file": "../../THIRD_PARTY_NOTICES.md"
|
| 154 |
+
},
|
| 155 |
+
"citations": [
|
| 156 |
+
{
|
| 157 |
+
"id": "maap3d",
|
| 158 |
+
"name": "MAAP3D",
|
| 159 |
+
"url": "https://github.com/alexhang212/MAAP3D_Toolbox"
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"id": "cub",
|
| 163 |
+
"name": "CUB",
|
| 164 |
+
"url": "https://www.vision.caltech.edu/datasets/cub_200_2011/",
|
| 165 |
+
"note": "Cite the release actually used. The CUB-200-2011 reference in CITATIONS.md is conditional; the training release is unconfirmed."
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"id": "animal-kingdom",
|
| 169 |
+
"name": "Animal Kingdom",
|
| 170 |
+
"url": "https://github.com/SUTDCV/Animal-Kingdom"
|
| 171 |
+
}
|
| 172 |
+
],
|
| 173 |
+
"citation_policy": "Research citation request; not an additional AGPL license condition."
|
| 174 |
+
}
|
crow/detection/README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Crow detection model
|
| 2 |
+
|
| 3 |
+
**Status: draft. Files supplied; inference not validated.**
|
| 4 |
+
|
| 5 |
+
Model ID: `crow-detection`. See [metadata.json](metadata.json) and the
|
| 6 |
+
[model-zoo overview](../../README.md).
|
| 7 |
+
|
| 8 |
+
## Model description
|
| 9 |
+
|
| 10 |
+
Model trained on crow data.
|
| 11 |
+
|
| 12 |
+
Large-billed crows, as reported by the model author; scientific name/subspecies not supplied.
|
| 13 |
+
|
| 14 |
+
Descriptions and species coverage are supplied by the model author. They are
|
| 15 |
+
not a new independent evaluation of this checkpoint.
|
| 16 |
+
|
| 17 |
+
## Model files
|
| 18 |
+
|
| 19 |
+
| Role | File |
|
| 20 |
+
| --- | --- |
|
| 21 |
+
| Weights | [crow-detection.pt](crow-detection.pt) |
|
| 22 |
+
|
| 23 |
+
Original filenames and SHA-256 hashes are recorded in `metadata.json`.
|
| 24 |
+
Checkpoint and config bytes have not been changed by these documentation updates.
|
| 25 |
+
|
| 26 |
+
## Detector details
|
| 27 |
+
|
| 28 |
+
Detector architecture, class names in numeric ID order, inference image size
|
| 29 |
+
and confidence recommendations have not yet been confirmed.
|
| 30 |
+
|
| 31 |
+
## Training data
|
| 32 |
+
|
| 33 |
+
Crows in a custom experimental setup; the detector-specific training recipe was not supplied.
|
| 34 |
+
|
| 35 |
+
The pose model training history is documented separately in its own folder;
|
| 36 |
+
it is not assumed to be this detector's pretraining history.
|
| 37 |
+
|
| 38 |
+
## Evaluation and limitations
|
| 39 |
+
|
| 40 |
+
- The detector was trained on crows in a custom experimental setup and may not generalize to other conditions.
|
| 41 |
+
|
| 42 |
+
Quantitative held-out accuracy, data splits, speed benchmarks and model-backed
|
| 43 |
+
validation results have not been supplied. No numerical results are claimed.
|
| 44 |
+
|
| 45 |
+
## License and attribution
|
| 46 |
+
|
| 47 |
+
The author-selected default for original MAAP3D model contributions is
|
| 48 |
+
**AGPL-3.0-or-later**. See the [license text](../../LICENSE) and
|
| 49 |
+
[licensing policy](../../LICENSE_POLICY.md). This default does not replace
|
| 50 |
+
upstream model, code, configuration or dataset terms. The complete artifact's
|
| 51 |
+
licensing provenance is still under review; this card is not a clearance statement.
|
| 52 |
+
|
| 53 |
+
- Confirm the exact detector framework, base checkpoint and upstream grant before publication. Ultralytics states its trained models default to AGPL-3.0; this does not establish an or-later grant for this particular checkpoint.
|
| 54 |
+
|
| 55 |
+
## Citation
|
| 56 |
+
|
| 57 |
+
If using this model in research or a publication, please cite MAAP3D and identify the model ID and revision used.
|
| 58 |
+
|
| 59 |
+
- [MAAP3D](../../CITATIONS.md#maap3d)
|
| 60 |
+
|
| 61 |
+
References and BibTeX are in [CITATIONS.md](../../CITATIONS.md) and
|
| 62 |
+
[CITATIONS.bib](../../CITATIONS.bib). Citation is requested as scholarly credit;
|
| 63 |
+
it is not an additional condition added to AGPL.
|
| 64 |
+
|
| 65 |
+
## Remaining release details
|
| 66 |
+
|
| 67 |
+
Record the release/version label, actual base checkpoint, detector class labels
|
| 68 |
+
where applicable, tested MAAP3D/Python/backend versions and an inference example.
|
| 69 |
+
Keep this slot in its current draft/template state until applicable licensing
|
| 70 |
+
provenance, required metadata and model-backed validation are complete.
|
crow/detection/crow-detection.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ae544ae79bd06f2f80422fe865bab65e298975a32b61b2827d77866adf5ead2
|
| 3 |
+
size 153956362
|
crow/detection/metadata.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"model_id": "crow-detection",
|
| 4 |
+
"status": "draft",
|
| 5 |
+
"species": {
|
| 6 |
+
"group": "crow",
|
| 7 |
+
"common_name": "large-billed crows",
|
| 8 |
+
"scientific_name": null,
|
| 9 |
+
"covered_common_names": [
|
| 10 |
+
"large-billed crows"
|
| 11 |
+
],
|
| 12 |
+
"coverage_note": "Large-billed crows, as reported by the model author; scientific name/subspecies not supplied.",
|
| 13 |
+
"coverage_source": "Model author, 2026-11-20"
|
| 14 |
+
},
|
| 15 |
+
"task": "object-detection",
|
| 16 |
+
"framework": null,
|
| 17 |
+
"architecture": null,
|
| 18 |
+
"model_version": null,
|
| 19 |
+
"files": {
|
| 20 |
+
"weights": "crow-detection.pt",
|
| 21 |
+
"config": null,
|
| 22 |
+
"additional": []
|
| 23 |
+
},
|
| 24 |
+
"class_names": [],
|
| 25 |
+
"keypoint_names": [],
|
| 26 |
+
"skeleton": [],
|
| 27 |
+
"flip_pairs": [],
|
| 28 |
+
"recommended_detector": null,
|
| 29 |
+
"inference": {
|
| 30 |
+
"input_size": null,
|
| 31 |
+
"recommended_confidence_threshold": null
|
| 32 |
+
},
|
| 33 |
+
"compatibility": {
|
| 34 |
+
"maap3d": null,
|
| 35 |
+
"python": null,
|
| 36 |
+
"packages": {}
|
| 37 |
+
},
|
| 38 |
+
"training": {
|
| 39 |
+
"description": "Crows in a custom experimental setup; the detector-specific training recipe was not supplied.",
|
| 40 |
+
"dataset_url": null,
|
| 41 |
+
"base_model": null,
|
| 42 |
+
"sources": []
|
| 43 |
+
},
|
| 44 |
+
"evaluation": {
|
| 45 |
+
"dataset": null,
|
| 46 |
+
"split": null,
|
| 47 |
+
"num_images": null,
|
| 48 |
+
"metrics": {}
|
| 49 |
+
},
|
| 50 |
+
"license": {
|
| 51 |
+
"identifier": "AGPL-3.0-or-later",
|
| 52 |
+
"url": "https://www.gnu.org/licenses/agpl-3.0.html",
|
| 53 |
+
"scope": "Author-selected default for original MAAP3D model contributions; upstream materials retain their own terms.",
|
| 54 |
+
"policy_file": "../../LICENSE_POLICY.md",
|
| 55 |
+
"upstream_review_status": "pending",
|
| 56 |
+
"complete_artifact_license_verified": false,
|
| 57 |
+
"upstream_notes": [
|
| 58 |
+
"Confirm the exact detector framework, base checkpoint and upstream grant before publication. Ultralytics states its trained models default to AGPL-3.0; this does not establish an or-later grant for this particular checkpoint."
|
| 59 |
+
]
|
| 60 |
+
},
|
| 61 |
+
"citation": "If using this model in research or a publication, please cite MAAP3D and identify the model ID and revision used.",
|
| 62 |
+
"provenance": {
|
| 63 |
+
"weights": {
|
| 64 |
+
"original_filename": "CrowOnly3840Best.pt",
|
| 65 |
+
"sha256": "6ae544ae79bd06f2f80422fe865bab65e298975a32b61b2827d77866adf5ead2",
|
| 66 |
+
"size_bytes": 153956362
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
"description": "Model trained on crow data.",
|
| 70 |
+
"limitations": [
|
| 71 |
+
"The detector was trained on crows in a custom experimental setup and may not generalize to other conditions."
|
| 72 |
+
],
|
| 73 |
+
"author_reported_observations": [],
|
| 74 |
+
"metadata_sources": {
|
| 75 |
+
"description": "Model author, 2026-11-20",
|
| 76 |
+
"species": "Model author, 2026-11-20; common names retained without inferred scientific taxonomy",
|
| 77 |
+
"training.description": "Model author, 2026-11-20; author-reported detector-specific or family history; pose training sources not assumed",
|
| 78 |
+
"limitations": "Model author, 2026-11-20; detector caveats apply to detection models",
|
| 79 |
+
"license": "Author-selected default policy, 2026-11-20; upstream review remains pending",
|
| 80 |
+
"citation": "Model author, 2026-11-20; references in ../../CITATIONS.md"
|
| 81 |
+
},
|
| 82 |
+
"citations": [
|
| 83 |
+
{
|
| 84 |
+
"id": "maap3d",
|
| 85 |
+
"name": "MAAP3D",
|
| 86 |
+
"url": "https://github.com/alexhang212/MAAP3D_Toolbox"
|
| 87 |
+
}
|
| 88 |
+
],
|
| 89 |
+
"citation_policy": "Research citation request; not an additional AGPL license condition."
|
| 90 |
+
}
|
crow/pose/README.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Crow pose model
|
| 2 |
+
|
| 3 |
+
**Status: draft. Files supplied; inference not validated.**
|
| 4 |
+
|
| 5 |
+
Model ID: `crow-pose`. See [metadata.json](metadata.json) and the
|
| 6 |
+
[model-zoo overview](../../README.md).
|
| 7 |
+
|
| 8 |
+
## Model description
|
| 9 |
+
|
| 10 |
+
Model trained on crow data.
|
| 11 |
+
|
| 12 |
+
Large-billed crows, as reported by the model author; scientific name/subspecies not supplied.
|
| 13 |
+
|
| 14 |
+
Descriptions and species coverage are supplied by the model author. They are
|
| 15 |
+
not a new independent evaluation of this checkpoint.
|
| 16 |
+
|
| 17 |
+
## Model files
|
| 18 |
+
|
| 19 |
+
| Role | File |
|
| 20 |
+
| --- | --- |
|
| 21 |
+
| Weights | [crow-pose.pth](crow-pose.pth) |
|
| 22 |
+
| Config | [crow-pose.py](crow-pose.py) |
|
| 23 |
+
|
| 24 |
+
Original filenames and SHA-256 hashes are recorded in `metadata.json`.
|
| 25 |
+
Checkpoint and config bytes have not been changed by these documentation updates.
|
| 26 |
+
|
| 27 |
+
## Pose definition
|
| 28 |
+
|
| 29 |
+
- Framework: MMPose
|
| 30 |
+
- Architecture: HRNet-W32
|
| 31 |
+
- Input size: 256 x 256 pixels (width x height)
|
| 32 |
+
- Keypoints: 8; exact output order is in metadata
|
| 33 |
+
- Skeleton links: 8; flip pairs use keypoint names
|
| 34 |
+
|
| 35 |
+
These technical fields were extracted from the supplied config. The config
|
| 36 |
+
retains its original training/evaluation paths and initialization settings;
|
| 37 |
+
those paths are not portable training instructions.
|
| 38 |
+
|
| 39 |
+
Proposed detector: `crow-detection`. Detector/pose pairing
|
| 40 |
+
still needs validation.
|
| 41 |
+
|
| 42 |
+
## Training data
|
| 43 |
+
|
| 44 |
+
Trained using custom crow data.
|
| 45 |
+
|
| 46 |
+
- Custom crow dataset: keypoint training
|
| 47 |
+
|
| 48 |
+
These sources describe the author-reported training history. The exact base
|
| 49 |
+
checkpoint filenames, data versions, sample counts and training recipe remain
|
| 50 |
+
unspecified. A dataset paper is not a checkpoint identifier or a license grant.
|
| 51 |
+
|
| 52 |
+
## Evaluation and limitations
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
Quantitative held-out accuracy, data splits, speed benchmarks and model-backed
|
| 56 |
+
validation results have not been supplied. No numerical results are claimed.
|
| 57 |
+
|
| 58 |
+
## License and attribution
|
| 59 |
+
|
| 60 |
+
The author-selected default for original MAAP3D model contributions is
|
| 61 |
+
**AGPL-3.0-or-later**. See the [license text](../../LICENSE) and
|
| 62 |
+
[licensing policy](../../LICENSE_POLICY.md). This default does not replace
|
| 63 |
+
upstream model, code, configuration or dataset terms. The complete artifact's
|
| 64 |
+
licensing provenance is still under review; this card is not a clearance statement.
|
| 65 |
+
|
| 66 |
+
OpenMMLab-derived configuration material retains Apache-2.0 terms. See
|
| 67 |
+
[third-party notices](../../THIRD_PARTY_NOTICES.md) and the
|
| 68 |
+
[Apache license](../../LICENSES/Apache-2.0.txt).
|
| 69 |
+
|
| 70 |
+
- Confirm the exact base checkpoint and permission to redistribute custom-data-derived weights before publication.
|
| 71 |
+
|
| 72 |
+
## Citation
|
| 73 |
+
|
| 74 |
+
If using this model in research or a publication, please cite MAAP3D and identify the model ID and revision used.
|
| 75 |
+
|
| 76 |
+
- [MAAP3D](../../CITATIONS.md#maap3d)
|
| 77 |
+
|
| 78 |
+
References and BibTeX are in [CITATIONS.md](../../CITATIONS.md) and
|
| 79 |
+
[CITATIONS.bib](../../CITATIONS.bib). Citation is requested as scholarly credit;
|
| 80 |
+
it is not an additional condition added to AGPL.
|
| 81 |
+
|
| 82 |
+
## Remaining release details
|
| 83 |
+
|
| 84 |
+
Record the release/version label, actual base checkpoint, detector class labels
|
| 85 |
+
where applicable, tested MAAP3D/Python/backend versions and an inference example.
|
| 86 |
+
Keep this slot in its current draft/template state until applicable licensing
|
| 87 |
+
provenance, required metadata and model-backed validation are complete.
|
crow/pose/crow-pose.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e734b230a4bbae689e58e0e318872a0d9b1ac9b5d9c3c8312e8d6392a0fed8d8
|
| 3 |
+
size 115194544
|
crow/pose/crow-pose.py
ADDED
|
@@ -0,0 +1,821 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
auto_scale_lr = dict(base_batch_size=512)
|
| 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 |
+
custom_hooks = [
|
| 15 |
+
dict(type='SyncBuffersHook'),
|
| 16 |
+
]
|
| 17 |
+
data_mode = 'topdown'
|
| 18 |
+
data_root = '/media/alexchan/Extreme SSD/SampleDatasets/Vienna/Dataset2/'
|
| 19 |
+
dataset_type = 'CocoDataset'
|
| 20 |
+
default_hooks = dict(
|
| 21 |
+
badcase=dict(
|
| 22 |
+
badcase_thr=5,
|
| 23 |
+
enable=False,
|
| 24 |
+
metric_type='loss',
|
| 25 |
+
out_dir='badcase',
|
| 26 |
+
type='BadCaseAnalysisHook'),
|
| 27 |
+
checkpoint=dict(
|
| 28 |
+
interval=10, rule='greater', save_best='PCK', type='CheckpointHook'),
|
| 29 |
+
logger=dict(interval=50, type='LoggerHook'),
|
| 30 |
+
param_scheduler=dict(type='ParamSchedulerHook'),
|
| 31 |
+
sampler_seed=dict(type='DistSamplerSeedHook'),
|
| 32 |
+
timer=dict(type='IterTimerHook'),
|
| 33 |
+
visualization=dict(enable=False, type='PoseVisualizationHook'))
|
| 34 |
+
default_scope = 'mmpose'
|
| 35 |
+
env_cfg = dict(
|
| 36 |
+
cudnn_benchmark=False,
|
| 37 |
+
dist_cfg=dict(backend='nccl'),
|
| 38 |
+
mp_cfg=dict(mp_start_method='fork', opencv_num_threads=0))
|
| 39 |
+
load_from = None
|
| 40 |
+
log_level = 'INFO'
|
| 41 |
+
log_processor = dict(
|
| 42 |
+
by_epoch=True, num_digits=6, type='LogProcessor', window_size=50)
|
| 43 |
+
model = dict(
|
| 44 |
+
backbone=dict(
|
| 45 |
+
extra=dict(
|
| 46 |
+
stage1=dict(
|
| 47 |
+
block='BOTTLENECK',
|
| 48 |
+
num_blocks=(4, ),
|
| 49 |
+
num_branches=1,
|
| 50 |
+
num_channels=(64, ),
|
| 51 |
+
num_modules=1),
|
| 52 |
+
stage2=dict(
|
| 53 |
+
block='BASIC',
|
| 54 |
+
num_blocks=(
|
| 55 |
+
4,
|
| 56 |
+
4,
|
| 57 |
+
),
|
| 58 |
+
num_branches=2,
|
| 59 |
+
num_channels=(
|
| 60 |
+
32,
|
| 61 |
+
64,
|
| 62 |
+
),
|
| 63 |
+
num_modules=1),
|
| 64 |
+
stage3=dict(
|
| 65 |
+
block='BASIC',
|
| 66 |
+
num_blocks=(
|
| 67 |
+
4,
|
| 68 |
+
4,
|
| 69 |
+
4,
|
| 70 |
+
),
|
| 71 |
+
num_branches=3,
|
| 72 |
+
num_channels=(
|
| 73 |
+
32,
|
| 74 |
+
64,
|
| 75 |
+
128,
|
| 76 |
+
),
|
| 77 |
+
num_modules=4),
|
| 78 |
+
stage4=dict(
|
| 79 |
+
block='BASIC',
|
| 80 |
+
num_blocks=(
|
| 81 |
+
4,
|
| 82 |
+
4,
|
| 83 |
+
4,
|
| 84 |
+
4,
|
| 85 |
+
),
|
| 86 |
+
num_branches=4,
|
| 87 |
+
num_channels=(
|
| 88 |
+
32,
|
| 89 |
+
64,
|
| 90 |
+
128,
|
| 91 |
+
256,
|
| 92 |
+
),
|
| 93 |
+
num_modules=3)),
|
| 94 |
+
in_channels=3,
|
| 95 |
+
init_cfg=dict(
|
| 96 |
+
checkpoint=
|
| 97 |
+
'https://download.openmmlab.com/mmpose/pretrain_models/hrnet_w32-36af842e.pth',
|
| 98 |
+
type='Pretrained'),
|
| 99 |
+
type='HRNet'),
|
| 100 |
+
data_preprocessor=dict(
|
| 101 |
+
bgr_to_rgb=True,
|
| 102 |
+
mean=[
|
| 103 |
+
123.675,
|
| 104 |
+
116.28,
|
| 105 |
+
103.53,
|
| 106 |
+
],
|
| 107 |
+
std=[
|
| 108 |
+
58.395,
|
| 109 |
+
57.12,
|
| 110 |
+
57.375,
|
| 111 |
+
],
|
| 112 |
+
type='PoseDataPreprocessor'),
|
| 113 |
+
head=dict(
|
| 114 |
+
decoder=dict(
|
| 115 |
+
heatmap_size=(
|
| 116 |
+
64,
|
| 117 |
+
64,
|
| 118 |
+
),
|
| 119 |
+
input_size=(
|
| 120 |
+
256,
|
| 121 |
+
256,
|
| 122 |
+
),
|
| 123 |
+
sigma=2,
|
| 124 |
+
type='MSRAHeatmap'),
|
| 125 |
+
deconv_out_channels=None,
|
| 126 |
+
in_channels=32,
|
| 127 |
+
loss=dict(type='KeypointMSELoss', use_target_weight=True),
|
| 128 |
+
out_channels=8,
|
| 129 |
+
type='HeatmapHead'),
|
| 130 |
+
test_cfg=dict(flip_mode='heatmap', flip_test=True, shift_heatmap=True),
|
| 131 |
+
type='TopdownPoseEstimator')
|
| 132 |
+
optim_wrapper = dict(optimizer=dict(lr=0.0005, type='AdamW'))
|
| 133 |
+
param_scheduler = [
|
| 134 |
+
dict(
|
| 135 |
+
begin=0, by_epoch=False, end=500, start_factor=0.001, type='LinearLR'),
|
| 136 |
+
dict(
|
| 137 |
+
begin=0,
|
| 138 |
+
by_epoch=True,
|
| 139 |
+
end=210,
|
| 140 |
+
gamma=0.1,
|
| 141 |
+
milestones=[
|
| 142 |
+
170,
|
| 143 |
+
200,
|
| 144 |
+
],
|
| 145 |
+
type='MultiStepLR'),
|
| 146 |
+
]
|
| 147 |
+
resume = False
|
| 148 |
+
test_cfg = dict()
|
| 149 |
+
test_dataloader = dict(
|
| 150 |
+
batch_size=24,
|
| 151 |
+
dataset=dict(
|
| 152 |
+
ann_file=
|
| 153 |
+
'/media/alexchan/Extreme SSD/SampleDatasets/Vienna/Dataset2/CrowOnlyKP_Test_COCO.json',
|
| 154 |
+
bbox_file=None,
|
| 155 |
+
data_mode='topdown',
|
| 156 |
+
data_prefix=dict(img=''),
|
| 157 |
+
data_root='/media/alexchan/Extreme SSD/SampleDatasets/Vienna/Dataset2/',
|
| 158 |
+
metainfo=dict(
|
| 159 |
+
dataset_name='coco',
|
| 160 |
+
joint_weights=[
|
| 161 |
+
1.0,
|
| 162 |
+
1.0,
|
| 163 |
+
1.0,
|
| 164 |
+
1.0,
|
| 165 |
+
1.0,
|
| 166 |
+
1.0,
|
| 167 |
+
1.0,
|
| 168 |
+
1.0,
|
| 169 |
+
],
|
| 170 |
+
keypoint_info=dict({
|
| 171 |
+
0:
|
| 172 |
+
dict(color=[
|
| 173 |
+
255,
|
| 174 |
+
0,
|
| 175 |
+
0,
|
| 176 |
+
], id=0, name='hd_bill_tip', swap=''),
|
| 177 |
+
1:
|
| 178 |
+
dict(color=[
|
| 179 |
+
255,
|
| 180 |
+
0,
|
| 181 |
+
0,
|
| 182 |
+
], id=1, name='hd_bill_base', swap=''),
|
| 183 |
+
2:
|
| 184 |
+
dict(
|
| 185 |
+
color=[
|
| 186 |
+
255,
|
| 187 |
+
0,
|
| 188 |
+
0,
|
| 189 |
+
],
|
| 190 |
+
id=2,
|
| 191 |
+
name='hd_eye_left',
|
| 192 |
+
swap='hd_eye_right'),
|
| 193 |
+
3:
|
| 194 |
+
dict(
|
| 195 |
+
color=[
|
| 196 |
+
255,
|
| 197 |
+
0,
|
| 198 |
+
0,
|
| 199 |
+
],
|
| 200 |
+
id=3,
|
| 201 |
+
name='hd_eye_right',
|
| 202 |
+
swap='hd_eye_left'),
|
| 203 |
+
4:
|
| 204 |
+
dict(
|
| 205 |
+
color=[
|
| 206 |
+
255,
|
| 207 |
+
0,
|
| 208 |
+
0,
|
| 209 |
+
],
|
| 210 |
+
id=4,
|
| 211 |
+
name='bd_shoulder_left',
|
| 212 |
+
swap='bd_shoulder_right'),
|
| 213 |
+
5:
|
| 214 |
+
dict(
|
| 215 |
+
color=[
|
| 216 |
+
255,
|
| 217 |
+
0,
|
| 218 |
+
0,
|
| 219 |
+
],
|
| 220 |
+
id=5,
|
| 221 |
+
name='bd_shoulder_right',
|
| 222 |
+
swap='bd_shoulder_left'),
|
| 223 |
+
6:
|
| 224 |
+
dict(color=[
|
| 225 |
+
255,
|
| 226 |
+
0,
|
| 227 |
+
0,
|
| 228 |
+
], id=6, name='bd_tail_base', swap=''),
|
| 229 |
+
7:
|
| 230 |
+
dict(color=[
|
| 231 |
+
255,
|
| 232 |
+
0,
|
| 233 |
+
0,
|
| 234 |
+
], id=7, name='bd_tail_tip', swap='')
|
| 235 |
+
}),
|
| 236 |
+
sigmas=[
|
| 237 |
+
0.025,
|
| 238 |
+
0.025,
|
| 239 |
+
0.025,
|
| 240 |
+
0.025,
|
| 241 |
+
0.025,
|
| 242 |
+
0.025,
|
| 243 |
+
0.025,
|
| 244 |
+
0.025,
|
| 245 |
+
],
|
| 246 |
+
skeleton_info=dict({
|
| 247 |
+
0:
|
| 248 |
+
dict(
|
| 249 |
+
color=[
|
| 250 |
+
255,
|
| 251 |
+
0,
|
| 252 |
+
0,
|
| 253 |
+
],
|
| 254 |
+
link=(
|
| 255 |
+
'bd_shoulder_left',
|
| 256 |
+
'bd_shoulder_right',
|
| 257 |
+
)),
|
| 258 |
+
1:
|
| 259 |
+
dict(
|
| 260 |
+
color=[
|
| 261 |
+
255,
|
| 262 |
+
0,
|
| 263 |
+
0,
|
| 264 |
+
],
|
| 265 |
+
link=(
|
| 266 |
+
'bd_shoulder_left',
|
| 267 |
+
'bd_tail_base',
|
| 268 |
+
)),
|
| 269 |
+
2:
|
| 270 |
+
dict(
|
| 271 |
+
color=[
|
| 272 |
+
255,
|
| 273 |
+
0,
|
| 274 |
+
0,
|
| 275 |
+
],
|
| 276 |
+
link=(
|
| 277 |
+
'bd_shoulder_right',
|
| 278 |
+
'bd_tail_base',
|
| 279 |
+
)),
|
| 280 |
+
3:
|
| 281 |
+
dict(
|
| 282 |
+
color=[
|
| 283 |
+
255,
|
| 284 |
+
0,
|
| 285 |
+
0,
|
| 286 |
+
],
|
| 287 |
+
link=(
|
| 288 |
+
'bd_tail_base',
|
| 289 |
+
'bd_tail_tip',
|
| 290 |
+
)),
|
| 291 |
+
4:
|
| 292 |
+
dict(
|
| 293 |
+
color=[
|
| 294 |
+
255,
|
| 295 |
+
0,
|
| 296 |
+
0,
|
| 297 |
+
],
|
| 298 |
+
link=(
|
| 299 |
+
'hd_bill_base',
|
| 300 |
+
'hd_bill_tip',
|
| 301 |
+
)),
|
| 302 |
+
5:
|
| 303 |
+
dict(
|
| 304 |
+
color=[
|
| 305 |
+
255,
|
| 306 |
+
0,
|
| 307 |
+
0,
|
| 308 |
+
],
|
| 309 |
+
link=(
|
| 310 |
+
'hd_eye_left',
|
| 311 |
+
'hd_eye_right',
|
| 312 |
+
)),
|
| 313 |
+
6:
|
| 314 |
+
dict(
|
| 315 |
+
color=[
|
| 316 |
+
255,
|
| 317 |
+
0,
|
| 318 |
+
0,
|
| 319 |
+
],
|
| 320 |
+
link=(
|
| 321 |
+
'hd_eye_left',
|
| 322 |
+
'hd_bill_base',
|
| 323 |
+
)),
|
| 324 |
+
7:
|
| 325 |
+
dict(
|
| 326 |
+
color=[
|
| 327 |
+
255,
|
| 328 |
+
0,
|
| 329 |
+
0,
|
| 330 |
+
],
|
| 331 |
+
link=(
|
| 332 |
+
'hd_eye_right',
|
| 333 |
+
'hd_bill_base',
|
| 334 |
+
))
|
| 335 |
+
})),
|
| 336 |
+
pipeline=[
|
| 337 |
+
dict(type='LoadImage'),
|
| 338 |
+
dict(type='GetBBoxCenterScale'),
|
| 339 |
+
dict(input_size=(
|
| 340 |
+
256,
|
| 341 |
+
256,
|
| 342 |
+
), type='TopdownAffine'),
|
| 343 |
+
dict(type='PackPoseInputs'),
|
| 344 |
+
],
|
| 345 |
+
test_mode=True,
|
| 346 |
+
type='CocoDataset'),
|
| 347 |
+
drop_last=False,
|
| 348 |
+
num_workers=2,
|
| 349 |
+
persistent_workers=True,
|
| 350 |
+
sampler=dict(round_up=False, shuffle=False, type='DefaultSampler'))
|
| 351 |
+
test_evaluator = [
|
| 352 |
+
dict(thr=0.05, type='PCKAccuracy'),
|
| 353 |
+
dict(type='AUC'),
|
| 354 |
+
]
|
| 355 |
+
train_cfg = dict(by_epoch=True, max_epochs=50, val_interval=10)
|
| 356 |
+
train_dataloader = dict(
|
| 357 |
+
batch_size=32,
|
| 358 |
+
dataset=dict(
|
| 359 |
+
ann_file=
|
| 360 |
+
'/media/alexchan/Extreme SSD/SampleDatasets/Vienna/Dataset2/CrowOnlyKP_Train_COCO.json',
|
| 361 |
+
data_mode='topdown',
|
| 362 |
+
data_prefix=dict(img=''),
|
| 363 |
+
data_root='/media/alexchan/Extreme SSD/SampleDatasets/Vienna/Dataset2/',
|
| 364 |
+
metainfo=dict(
|
| 365 |
+
dataset_name='coco',
|
| 366 |
+
joint_weights=[
|
| 367 |
+
1.0,
|
| 368 |
+
1.0,
|
| 369 |
+
1.0,
|
| 370 |
+
1.0,
|
| 371 |
+
1.0,
|
| 372 |
+
1.0,
|
| 373 |
+
1.0,
|
| 374 |
+
1.0,
|
| 375 |
+
],
|
| 376 |
+
keypoint_info=dict({
|
| 377 |
+
0:
|
| 378 |
+
dict(color=[
|
| 379 |
+
255,
|
| 380 |
+
0,
|
| 381 |
+
0,
|
| 382 |
+
], id=0, name='hd_bill_tip', swap=''),
|
| 383 |
+
1:
|
| 384 |
+
dict(color=[
|
| 385 |
+
255,
|
| 386 |
+
0,
|
| 387 |
+
0,
|
| 388 |
+
], id=1, name='hd_bill_base', swap=''),
|
| 389 |
+
2:
|
| 390 |
+
dict(
|
| 391 |
+
color=[
|
| 392 |
+
255,
|
| 393 |
+
0,
|
| 394 |
+
0,
|
| 395 |
+
],
|
| 396 |
+
id=2,
|
| 397 |
+
name='hd_eye_left',
|
| 398 |
+
swap='hd_eye_right'),
|
| 399 |
+
3:
|
| 400 |
+
dict(
|
| 401 |
+
color=[
|
| 402 |
+
255,
|
| 403 |
+
0,
|
| 404 |
+
0,
|
| 405 |
+
],
|
| 406 |
+
id=3,
|
| 407 |
+
name='hd_eye_right',
|
| 408 |
+
swap='hd_eye_left'),
|
| 409 |
+
4:
|
| 410 |
+
dict(
|
| 411 |
+
color=[
|
| 412 |
+
255,
|
| 413 |
+
0,
|
| 414 |
+
0,
|
| 415 |
+
],
|
| 416 |
+
id=4,
|
| 417 |
+
name='bd_shoulder_left',
|
| 418 |
+
swap='bd_shoulder_right'),
|
| 419 |
+
5:
|
| 420 |
+
dict(
|
| 421 |
+
color=[
|
| 422 |
+
255,
|
| 423 |
+
0,
|
| 424 |
+
0,
|
| 425 |
+
],
|
| 426 |
+
id=5,
|
| 427 |
+
name='bd_shoulder_right',
|
| 428 |
+
swap='bd_shoulder_left'),
|
| 429 |
+
6:
|
| 430 |
+
dict(color=[
|
| 431 |
+
255,
|
| 432 |
+
0,
|
| 433 |
+
0,
|
| 434 |
+
], id=6, name='bd_tail_base', swap=''),
|
| 435 |
+
7:
|
| 436 |
+
dict(color=[
|
| 437 |
+
255,
|
| 438 |
+
0,
|
| 439 |
+
0,
|
| 440 |
+
], id=7, name='bd_tail_tip', swap='')
|
| 441 |
+
}),
|
| 442 |
+
sigmas=[
|
| 443 |
+
0.025,
|
| 444 |
+
0.025,
|
| 445 |
+
0.025,
|
| 446 |
+
0.025,
|
| 447 |
+
0.025,
|
| 448 |
+
0.025,
|
| 449 |
+
0.025,
|
| 450 |
+
0.025,
|
| 451 |
+
],
|
| 452 |
+
skeleton_info=dict({
|
| 453 |
+
0:
|
| 454 |
+
dict(
|
| 455 |
+
color=[
|
| 456 |
+
255,
|
| 457 |
+
0,
|
| 458 |
+
0,
|
| 459 |
+
],
|
| 460 |
+
link=(
|
| 461 |
+
'bd_shoulder_left',
|
| 462 |
+
'bd_shoulder_right',
|
| 463 |
+
)),
|
| 464 |
+
1:
|
| 465 |
+
dict(
|
| 466 |
+
color=[
|
| 467 |
+
255,
|
| 468 |
+
0,
|
| 469 |
+
0,
|
| 470 |
+
],
|
| 471 |
+
link=(
|
| 472 |
+
'bd_shoulder_left',
|
| 473 |
+
'bd_tail_base',
|
| 474 |
+
)),
|
| 475 |
+
2:
|
| 476 |
+
dict(
|
| 477 |
+
color=[
|
| 478 |
+
255,
|
| 479 |
+
0,
|
| 480 |
+
0,
|
| 481 |
+
],
|
| 482 |
+
link=(
|
| 483 |
+
'bd_shoulder_right',
|
| 484 |
+
'bd_tail_base',
|
| 485 |
+
)),
|
| 486 |
+
3:
|
| 487 |
+
dict(
|
| 488 |
+
color=[
|
| 489 |
+
255,
|
| 490 |
+
0,
|
| 491 |
+
0,
|
| 492 |
+
],
|
| 493 |
+
link=(
|
| 494 |
+
'bd_tail_base',
|
| 495 |
+
'bd_tail_tip',
|
| 496 |
+
)),
|
| 497 |
+
4:
|
| 498 |
+
dict(
|
| 499 |
+
color=[
|
| 500 |
+
255,
|
| 501 |
+
0,
|
| 502 |
+
0,
|
| 503 |
+
],
|
| 504 |
+
link=(
|
| 505 |
+
'hd_bill_base',
|
| 506 |
+
'hd_bill_tip',
|
| 507 |
+
)),
|
| 508 |
+
5:
|
| 509 |
+
dict(
|
| 510 |
+
color=[
|
| 511 |
+
255,
|
| 512 |
+
0,
|
| 513 |
+
0,
|
| 514 |
+
],
|
| 515 |
+
link=(
|
| 516 |
+
'hd_eye_left',
|
| 517 |
+
'hd_eye_right',
|
| 518 |
+
)),
|
| 519 |
+
6:
|
| 520 |
+
dict(
|
| 521 |
+
color=[
|
| 522 |
+
255,
|
| 523 |
+
0,
|
| 524 |
+
0,
|
| 525 |
+
],
|
| 526 |
+
link=(
|
| 527 |
+
'hd_eye_left',
|
| 528 |
+
'hd_bill_base',
|
| 529 |
+
)),
|
| 530 |
+
7:
|
| 531 |
+
dict(
|
| 532 |
+
color=[
|
| 533 |
+
255,
|
| 534 |
+
0,
|
| 535 |
+
0,
|
| 536 |
+
],
|
| 537 |
+
link=(
|
| 538 |
+
'hd_eye_right',
|
| 539 |
+
'hd_bill_base',
|
| 540 |
+
))
|
| 541 |
+
})),
|
| 542 |
+
pipeline=[
|
| 543 |
+
dict(type='LoadImage'),
|
| 544 |
+
dict(type='GetBBoxCenterScale'),
|
| 545 |
+
dict(direction='horizontal', type='RandomFlip'),
|
| 546 |
+
dict(type='RandomHalfBody'),
|
| 547 |
+
dict(type='RandomBBoxTransform'),
|
| 548 |
+
dict(input_size=(
|
| 549 |
+
256,
|
| 550 |
+
256,
|
| 551 |
+
), type='TopdownAffine'),
|
| 552 |
+
dict(
|
| 553 |
+
encoder=dict(
|
| 554 |
+
heatmap_size=(
|
| 555 |
+
64,
|
| 556 |
+
64,
|
| 557 |
+
),
|
| 558 |
+
input_size=(
|
| 559 |
+
256,
|
| 560 |
+
256,
|
| 561 |
+
),
|
| 562 |
+
sigma=2,
|
| 563 |
+
type='MSRAHeatmap'),
|
| 564 |
+
type='GenerateTarget'),
|
| 565 |
+
dict(type='PackPoseInputs'),
|
| 566 |
+
],
|
| 567 |
+
type='CocoDataset'),
|
| 568 |
+
num_workers=2,
|
| 569 |
+
persistent_workers=True,
|
| 570 |
+
sampler=dict(shuffle=True, type='DefaultSampler'))
|
| 571 |
+
train_pipeline = [
|
| 572 |
+
dict(type='LoadImage'),
|
| 573 |
+
dict(type='GetBBoxCenterScale'),
|
| 574 |
+
dict(direction='horizontal', type='RandomFlip'),
|
| 575 |
+
dict(type='RandomHalfBody'),
|
| 576 |
+
dict(type='RandomBBoxTransform'),
|
| 577 |
+
dict(input_size=(
|
| 578 |
+
256,
|
| 579 |
+
256,
|
| 580 |
+
), type='TopdownAffine'),
|
| 581 |
+
dict(
|
| 582 |
+
encoder=dict(
|
| 583 |
+
heatmap_size=(
|
| 584 |
+
64,
|
| 585 |
+
64,
|
| 586 |
+
),
|
| 587 |
+
input_size=(
|
| 588 |
+
256,
|
| 589 |
+
256,
|
| 590 |
+
),
|
| 591 |
+
sigma=2,
|
| 592 |
+
type='MSRAHeatmap'),
|
| 593 |
+
type='GenerateTarget'),
|
| 594 |
+
dict(type='PackPoseInputs'),
|
| 595 |
+
]
|
| 596 |
+
val_cfg = dict()
|
| 597 |
+
val_dataloader = dict(
|
| 598 |
+
batch_size=24,
|
| 599 |
+
dataset=dict(
|
| 600 |
+
ann_file=
|
| 601 |
+
'/media/alexchan/Extreme SSD/SampleDatasets/Vienna/Dataset2/CrowOnlyKP_Test_COCO.json',
|
| 602 |
+
bbox_file=None,
|
| 603 |
+
data_mode='topdown',
|
| 604 |
+
data_prefix=dict(img=''),
|
| 605 |
+
data_root='/media/alexchan/Extreme SSD/SampleDatasets/Vienna/Dataset2/',
|
| 606 |
+
metainfo=dict(
|
| 607 |
+
dataset_name='coco',
|
| 608 |
+
joint_weights=[
|
| 609 |
+
1.0,
|
| 610 |
+
1.0,
|
| 611 |
+
1.0,
|
| 612 |
+
1.0,
|
| 613 |
+
1.0,
|
| 614 |
+
1.0,
|
| 615 |
+
1.0,
|
| 616 |
+
1.0,
|
| 617 |
+
],
|
| 618 |
+
keypoint_info=dict({
|
| 619 |
+
0:
|
| 620 |
+
dict(color=[
|
| 621 |
+
255,
|
| 622 |
+
0,
|
| 623 |
+
0,
|
| 624 |
+
], id=0, name='hd_bill_tip', swap=''),
|
| 625 |
+
1:
|
| 626 |
+
dict(color=[
|
| 627 |
+
255,
|
| 628 |
+
0,
|
| 629 |
+
0,
|
| 630 |
+
], id=1, name='hd_bill_base', swap=''),
|
| 631 |
+
2:
|
| 632 |
+
dict(
|
| 633 |
+
color=[
|
| 634 |
+
255,
|
| 635 |
+
0,
|
| 636 |
+
0,
|
| 637 |
+
],
|
| 638 |
+
id=2,
|
| 639 |
+
name='hd_eye_left',
|
| 640 |
+
swap='hd_eye_right'),
|
| 641 |
+
3:
|
| 642 |
+
dict(
|
| 643 |
+
color=[
|
| 644 |
+
255,
|
| 645 |
+
0,
|
| 646 |
+
0,
|
| 647 |
+
],
|
| 648 |
+
id=3,
|
| 649 |
+
name='hd_eye_right',
|
| 650 |
+
swap='hd_eye_left'),
|
| 651 |
+
4:
|
| 652 |
+
dict(
|
| 653 |
+
color=[
|
| 654 |
+
255,
|
| 655 |
+
0,
|
| 656 |
+
0,
|
| 657 |
+
],
|
| 658 |
+
id=4,
|
| 659 |
+
name='bd_shoulder_left',
|
| 660 |
+
swap='bd_shoulder_right'),
|
| 661 |
+
5:
|
| 662 |
+
dict(
|
| 663 |
+
color=[
|
| 664 |
+
255,
|
| 665 |
+
0,
|
| 666 |
+
0,
|
| 667 |
+
],
|
| 668 |
+
id=5,
|
| 669 |
+
name='bd_shoulder_right',
|
| 670 |
+
swap='bd_shoulder_left'),
|
| 671 |
+
6:
|
| 672 |
+
dict(color=[
|
| 673 |
+
255,
|
| 674 |
+
0,
|
| 675 |
+
0,
|
| 676 |
+
], id=6, name='bd_tail_base', swap=''),
|
| 677 |
+
7:
|
| 678 |
+
dict(color=[
|
| 679 |
+
255,
|
| 680 |
+
0,
|
| 681 |
+
0,
|
| 682 |
+
], id=7, name='bd_tail_tip', swap='')
|
| 683 |
+
}),
|
| 684 |
+
sigmas=[
|
| 685 |
+
0.025,
|
| 686 |
+
0.025,
|
| 687 |
+
0.025,
|
| 688 |
+
0.025,
|
| 689 |
+
0.025,
|
| 690 |
+
0.025,
|
| 691 |
+
0.025,
|
| 692 |
+
0.025,
|
| 693 |
+
],
|
| 694 |
+
skeleton_info=dict({
|
| 695 |
+
0:
|
| 696 |
+
dict(
|
| 697 |
+
color=[
|
| 698 |
+
255,
|
| 699 |
+
0,
|
| 700 |
+
0,
|
| 701 |
+
],
|
| 702 |
+
link=(
|
| 703 |
+
'bd_shoulder_left',
|
| 704 |
+
'bd_shoulder_right',
|
| 705 |
+
)),
|
| 706 |
+
1:
|
| 707 |
+
dict(
|
| 708 |
+
color=[
|
| 709 |
+
255,
|
| 710 |
+
0,
|
| 711 |
+
0,
|
| 712 |
+
],
|
| 713 |
+
link=(
|
| 714 |
+
'bd_shoulder_left',
|
| 715 |
+
'bd_tail_base',
|
| 716 |
+
)),
|
| 717 |
+
2:
|
| 718 |
+
dict(
|
| 719 |
+
color=[
|
| 720 |
+
255,
|
| 721 |
+
0,
|
| 722 |
+
0,
|
| 723 |
+
],
|
| 724 |
+
link=(
|
| 725 |
+
'bd_shoulder_right',
|
| 726 |
+
'bd_tail_base',
|
| 727 |
+
)),
|
| 728 |
+
3:
|
| 729 |
+
dict(
|
| 730 |
+
color=[
|
| 731 |
+
255,
|
| 732 |
+
0,
|
| 733 |
+
0,
|
| 734 |
+
],
|
| 735 |
+
link=(
|
| 736 |
+
'bd_tail_base',
|
| 737 |
+
'bd_tail_tip',
|
| 738 |
+
)),
|
| 739 |
+
4:
|
| 740 |
+
dict(
|
| 741 |
+
color=[
|
| 742 |
+
255,
|
| 743 |
+
0,
|
| 744 |
+
0,
|
| 745 |
+
],
|
| 746 |
+
link=(
|
| 747 |
+
'hd_bill_base',
|
| 748 |
+
'hd_bill_tip',
|
| 749 |
+
)),
|
| 750 |
+
5:
|
| 751 |
+
dict(
|
| 752 |
+
color=[
|
| 753 |
+
255,
|
| 754 |
+
0,
|
| 755 |
+
0,
|
| 756 |
+
],
|
| 757 |
+
link=(
|
| 758 |
+
'hd_eye_left',
|
| 759 |
+
'hd_eye_right',
|
| 760 |
+
)),
|
| 761 |
+
6:
|
| 762 |
+
dict(
|
| 763 |
+
color=[
|
| 764 |
+
255,
|
| 765 |
+
0,
|
| 766 |
+
0,
|
| 767 |
+
],
|
| 768 |
+
link=(
|
| 769 |
+
'hd_eye_left',
|
| 770 |
+
'hd_bill_base',
|
| 771 |
+
)),
|
| 772 |
+
7:
|
| 773 |
+
dict(
|
| 774 |
+
color=[
|
| 775 |
+
255,
|
| 776 |
+
0,
|
| 777 |
+
0,
|
| 778 |
+
],
|
| 779 |
+
link=(
|
| 780 |
+
'hd_eye_right',
|
| 781 |
+
'hd_bill_base',
|
| 782 |
+
))
|
| 783 |
+
})),
|
| 784 |
+
pipeline=[
|
| 785 |
+
dict(type='LoadImage'),
|
| 786 |
+
dict(type='GetBBoxCenterScale'),
|
| 787 |
+
dict(input_size=(
|
| 788 |
+
256,
|
| 789 |
+
256,
|
| 790 |
+
), type='TopdownAffine'),
|
| 791 |
+
dict(type='PackPoseInputs'),
|
| 792 |
+
],
|
| 793 |
+
test_mode=True,
|
| 794 |
+
type='CocoDataset'),
|
| 795 |
+
drop_last=False,
|
| 796 |
+
num_workers=2,
|
| 797 |
+
persistent_workers=True,
|
| 798 |
+
sampler=dict(round_up=False, shuffle=False, type='DefaultSampler'))
|
| 799 |
+
val_evaluator = [
|
| 800 |
+
dict(thr=0.05, type='PCKAccuracy'),
|
| 801 |
+
dict(type='AUC'),
|
| 802 |
+
]
|
| 803 |
+
val_pipeline = [
|
| 804 |
+
dict(type='LoadImage'),
|
| 805 |
+
dict(type='GetBBoxCenterScale'),
|
| 806 |
+
dict(input_size=(
|
| 807 |
+
256,
|
| 808 |
+
256,
|
| 809 |
+
), type='TopdownAffine'),
|
| 810 |
+
dict(type='PackPoseInputs'),
|
| 811 |
+
]
|
| 812 |
+
vis_backends = [
|
| 813 |
+
dict(type='LocalVisBackend'),
|
| 814 |
+
]
|
| 815 |
+
visualizer = dict(
|
| 816 |
+
name='visualizer',
|
| 817 |
+
type='PoseLocalVisualizer',
|
| 818 |
+
vis_backends=[
|
| 819 |
+
dict(type='LocalVisBackend'),
|
| 820 |
+
])
|
| 821 |
+
work_dir = '/media/alexchan/Extreme SSD/SampleDatasets/Vienna/Dataset2/CrowOnly_HrNet'
|
crow/pose/metadata.json
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"model_id": "crow-pose",
|
| 4 |
+
"status": "draft",
|
| 5 |
+
"species": {
|
| 6 |
+
"group": "crow",
|
| 7 |
+
"common_name": "large-billed crows",
|
| 8 |
+
"scientific_name": null,
|
| 9 |
+
"covered_common_names": [
|
| 10 |
+
"large-billed crows"
|
| 11 |
+
],
|
| 12 |
+
"coverage_note": "Large-billed crows, as reported by the model author; scientific name/subspecies not supplied.",
|
| 13 |
+
"coverage_source": "Model author, 2026-11-20"
|
| 14 |
+
},
|
| 15 |
+
"task": "keypoint-estimation",
|
| 16 |
+
"framework": "MMPose",
|
| 17 |
+
"architecture": "HRNet-W32",
|
| 18 |
+
"model_version": null,
|
| 19 |
+
"files": {
|
| 20 |
+
"weights": "crow-pose.pth",
|
| 21 |
+
"config": "crow-pose.py",
|
| 22 |
+
"additional": []
|
| 23 |
+
},
|
| 24 |
+
"class_names": [],
|
| 25 |
+
"keypoint_names": [
|
| 26 |
+
"hd_bill_tip",
|
| 27 |
+
"hd_bill_base",
|
| 28 |
+
"hd_eye_left",
|
| 29 |
+
"hd_eye_right",
|
| 30 |
+
"bd_shoulder_left",
|
| 31 |
+
"bd_shoulder_right",
|
| 32 |
+
"bd_tail_base",
|
| 33 |
+
"bd_tail_tip"
|
| 34 |
+
],
|
| 35 |
+
"skeleton": [
|
| 36 |
+
[
|
| 37 |
+
"bd_shoulder_left",
|
| 38 |
+
"bd_shoulder_right"
|
| 39 |
+
],
|
| 40 |
+
[
|
| 41 |
+
"bd_shoulder_left",
|
| 42 |
+
"bd_tail_base"
|
| 43 |
+
],
|
| 44 |
+
[
|
| 45 |
+
"bd_shoulder_right",
|
| 46 |
+
"bd_tail_base"
|
| 47 |
+
],
|
| 48 |
+
[
|
| 49 |
+
"bd_tail_base",
|
| 50 |
+
"bd_tail_tip"
|
| 51 |
+
],
|
| 52 |
+
[
|
| 53 |
+
"hd_bill_base",
|
| 54 |
+
"hd_bill_tip"
|
| 55 |
+
],
|
| 56 |
+
[
|
| 57 |
+
"hd_eye_left",
|
| 58 |
+
"hd_eye_right"
|
| 59 |
+
],
|
| 60 |
+
[
|
| 61 |
+
"hd_eye_left",
|
| 62 |
+
"hd_bill_base"
|
| 63 |
+
],
|
| 64 |
+
[
|
| 65 |
+
"hd_eye_right",
|
| 66 |
+
"hd_bill_base"
|
| 67 |
+
]
|
| 68 |
+
],
|
| 69 |
+
"flip_pairs": [
|
| 70 |
+
[
|
| 71 |
+
"hd_eye_left",
|
| 72 |
+
"hd_eye_right"
|
| 73 |
+
],
|
| 74 |
+
[
|
| 75 |
+
"bd_shoulder_left",
|
| 76 |
+
"bd_shoulder_right"
|
| 77 |
+
]
|
| 78 |
+
],
|
| 79 |
+
"recommended_detector": "crow-detection",
|
| 80 |
+
"inference": {
|
| 81 |
+
"input_size": [
|
| 82 |
+
256,
|
| 83 |
+
256
|
| 84 |
+
],
|
| 85 |
+
"recommended_confidence_threshold": null
|
| 86 |
+
},
|
| 87 |
+
"compatibility": {
|
| 88 |
+
"maap3d": null,
|
| 89 |
+
"python": null,
|
| 90 |
+
"packages": {}
|
| 91 |
+
},
|
| 92 |
+
"training": {
|
| 93 |
+
"description": "Trained using custom crow data.",
|
| 94 |
+
"dataset_url": null,
|
| 95 |
+
"base_model": null,
|
| 96 |
+
"sources": [
|
| 97 |
+
{
|
| 98 |
+
"name": "Custom crow dataset",
|
| 99 |
+
"role": "keypoint training",
|
| 100 |
+
"url": null
|
| 101 |
+
}
|
| 102 |
+
]
|
| 103 |
+
},
|
| 104 |
+
"evaluation": {
|
| 105 |
+
"dataset": null,
|
| 106 |
+
"split": null,
|
| 107 |
+
"num_images": null,
|
| 108 |
+
"metrics": {}
|
| 109 |
+
},
|
| 110 |
+
"license": {
|
| 111 |
+
"identifier": "AGPL-3.0-or-later",
|
| 112 |
+
"url": "https://www.gnu.org/licenses/agpl-3.0.html",
|
| 113 |
+
"scope": "Author-selected default for original MAAP3D model contributions; upstream materials retain their own terms.",
|
| 114 |
+
"policy_file": "../../LICENSE_POLICY.md",
|
| 115 |
+
"upstream_review_status": "pending",
|
| 116 |
+
"complete_artifact_license_verified": false,
|
| 117 |
+
"upstream_notes": [
|
| 118 |
+
"Confirm the exact base checkpoint and permission to redistribute custom-data-derived weights before publication."
|
| 119 |
+
]
|
| 120 |
+
},
|
| 121 |
+
"citation": "If using this model in research or a publication, please cite MAAP3D and identify the model ID and revision used.",
|
| 122 |
+
"provenance": {
|
| 123 |
+
"weights": {
|
| 124 |
+
"original_filename": "CrowOnly_HRNet.pth",
|
| 125 |
+
"sha256": "e734b230a4bbae689e58e0e318872a0d9b1ac9b5d9c3c8312e8d6392a0fed8d8",
|
| 126 |
+
"size_bytes": 115194544
|
| 127 |
+
},
|
| 128 |
+
"config": {
|
| 129 |
+
"original_filename": "CrowOnly_HRNet.py",
|
| 130 |
+
"sha256": "d8e3c71cb1b06aaea8a156dc106aed09e630f6a460907660ad8da7e8aadd2438",
|
| 131 |
+
"size_bytes": 22832
|
| 132 |
+
}
|
| 133 |
+
},
|
| 134 |
+
"pose_estimator_type": "TopdownPoseEstimator",
|
| 135 |
+
"detector_requirement": "required",
|
| 136 |
+
"metadata_sources": {
|
| 137 |
+
"framework": "crow-pose.py:default_scope",
|
| 138 |
+
"architecture": "crow-pose.py:model.backbone",
|
| 139 |
+
"pose_estimator_type": "crow-pose.py:model.type",
|
| 140 |
+
"keypoint_names": "crow-pose.py:test_dataloader.dataset.metainfo.keypoint_info (numeric ID order)",
|
| 141 |
+
"skeleton": "crow-pose.py:test_dataloader.dataset.metainfo.skeleton_info",
|
| 142 |
+
"flip_pairs": "crow-pose.py:test_dataloader.dataset.metainfo.keypoint_info.swap",
|
| 143 |
+
"inference.input_size": "crow-pose.py:codec.input_size",
|
| 144 |
+
"description": "Model author, 2026-11-20",
|
| 145 |
+
"species": "Model author, 2026-11-20; common names retained without inferred scientific taxonomy",
|
| 146 |
+
"training.description": "Model author, 2026-11-20; keypoint training history",
|
| 147 |
+
"limitations": "Model author, 2026-11-20; detector caveats apply to detection models",
|
| 148 |
+
"license": "Author-selected default policy, 2026-11-20; upstream review remains pending",
|
| 149 |
+
"citation": "Model author, 2026-11-20; references in ../../CITATIONS.md"
|
| 150 |
+
},
|
| 151 |
+
"description": "Model trained on crow data.",
|
| 152 |
+
"limitations": [],
|
| 153 |
+
"author_reported_observations": [],
|
| 154 |
+
"config_license": {
|
| 155 |
+
"identifier": "Apache-2.0",
|
| 156 |
+
"scope": "OpenMMLab-derived configuration material; exact source/modification lineage remains to be confirmed.",
|
| 157 |
+
"license_file": "../../LICENSES/Apache-2.0.txt",
|
| 158 |
+
"notices_file": "../../THIRD_PARTY_NOTICES.md"
|
| 159 |
+
},
|
| 160 |
+
"citations": [
|
| 161 |
+
{
|
| 162 |
+
"id": "maap3d",
|
| 163 |
+
"name": "MAAP3D",
|
| 164 |
+
"url": "https://github.com/alexhang212/MAAP3D_Toolbox"
|
| 165 |
+
}
|
| 166 |
+
],
|
| 167 |
+
"citation_policy": "Research citation request; not an additional AGPL license condition."
|
| 168 |
+
}
|
greti/detection/README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Greti detection model
|
| 2 |
+
|
| 3 |
+
**Status: template. No detector checkpoint supplied.**
|
| 4 |
+
|
| 5 |
+
Model ID: `greti-detection`. See [metadata.json](metadata.json) and the
|
| 6 |
+
[model-zoo overview](../../README.md).
|
| 7 |
+
|
| 8 |
+
## Model description
|
| 9 |
+
|
| 10 |
+
Great tit and blue tit model.
|
| 11 |
+
|
| 12 |
+
Great tits and blue tits, as reported by the model author.
|
| 13 |
+
|
| 14 |
+
Descriptions and species coverage are supplied by the model author. They are
|
| 15 |
+
not a new independent evaluation of this checkpoint.
|
| 16 |
+
|
| 17 |
+
This folder records group information and the intended licensing/citation
|
| 18 |
+
policy only. It does not provide a trained detector.
|
| 19 |
+
|
| 20 |
+
## Detector details
|
| 21 |
+
|
| 22 |
+
Detector architecture, class names in numeric ID order, inference image size
|
| 23 |
+
and confidence recommendations have not yet been confirmed.
|
| 24 |
+
|
| 25 |
+
## Training data
|
| 26 |
+
|
| 27 |
+
Detector training data has not been specified.
|
| 28 |
+
|
| 29 |
+
The pose model training history is documented separately in its own folder;
|
| 30 |
+
it is not assumed to be this detector's pretraining history.
|
| 31 |
+
|
| 32 |
+
## Evaluation and limitations
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
Quantitative held-out accuracy, data splits, speed benchmarks and model-backed
|
| 36 |
+
validation results have not been supplied. No numerical results are claimed.
|
| 37 |
+
|
| 38 |
+
## License and attribution
|
| 39 |
+
|
| 40 |
+
The author-selected default for original MAAP3D model contributions is
|
| 41 |
+
**AGPL-3.0-or-later**. See the [license text](../../LICENSE) and
|
| 42 |
+
[licensing policy](../../LICENSE_POLICY.md). This default does not replace
|
| 43 |
+
upstream model, code, configuration or dataset terms. The complete artifact's
|
| 44 |
+
licensing provenance is still under review; this card is not a clearance statement.
|
| 45 |
+
|
| 46 |
+
- No detector checkpoint is supplied; this is a group metadata/template slot only.
|
| 47 |
+
- Confirm the exact detector framework, base checkpoint and upstream grant before publication. Ultralytics states its trained models default to AGPL-3.0; this does not establish an or-later grant for this particular checkpoint.
|
| 48 |
+
|
| 49 |
+
## Citation
|
| 50 |
+
|
| 51 |
+
If using this model in research or a publication, please cite MAAP3D and 3D-SOCS and identify the model ID and revision used.
|
| 52 |
+
|
| 53 |
+
- [MAAP3D](../../CITATIONS.md#maap3d)
|
| 54 |
+
- [3D-SOCS](../../CITATIONS.md#3d-socs)
|
| 55 |
+
|
| 56 |
+
References and BibTeX are in [CITATIONS.md](../../CITATIONS.md) and
|
| 57 |
+
[CITATIONS.bib](../../CITATIONS.bib). Citation is requested as scholarly credit;
|
| 58 |
+
it is not an additional condition added to AGPL.
|
| 59 |
+
|
| 60 |
+
## Remaining release details
|
| 61 |
+
|
| 62 |
+
Record the release/version label, actual base checkpoint, detector class labels
|
| 63 |
+
where applicable, tested MAAP3D/Python/backend versions and an inference example.
|
| 64 |
+
Keep this slot in its current draft/template state until applicable licensing
|
| 65 |
+
provenance, required metadata and model-backed validation are complete.
|
greti/detection/metadata.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"model_id": "greti-detection",
|
| 4 |
+
"status": "template",
|
| 5 |
+
"species": {
|
| 6 |
+
"group": "greti",
|
| 7 |
+
"common_name": "great tits, blue tits",
|
| 8 |
+
"scientific_name": null,
|
| 9 |
+
"covered_common_names": [
|
| 10 |
+
"great tits",
|
| 11 |
+
"blue tits"
|
| 12 |
+
],
|
| 13 |
+
"coverage_note": "Great tits and blue tits, as reported by the model author.",
|
| 14 |
+
"coverage_source": "Model author, 2026-11-20"
|
| 15 |
+
},
|
| 16 |
+
"task": "object-detection",
|
| 17 |
+
"framework": null,
|
| 18 |
+
"architecture": null,
|
| 19 |
+
"model_version": null,
|
| 20 |
+
"files": {
|
| 21 |
+
"weights": null,
|
| 22 |
+
"config": null,
|
| 23 |
+
"additional": []
|
| 24 |
+
},
|
| 25 |
+
"class_names": [],
|
| 26 |
+
"keypoint_names": [],
|
| 27 |
+
"skeleton": [],
|
| 28 |
+
"flip_pairs": [],
|
| 29 |
+
"recommended_detector": null,
|
| 30 |
+
"inference": {
|
| 31 |
+
"input_size": null,
|
| 32 |
+
"recommended_confidence_threshold": null
|
| 33 |
+
},
|
| 34 |
+
"compatibility": {
|
| 35 |
+
"maap3d": null,
|
| 36 |
+
"python": null,
|
| 37 |
+
"packages": {}
|
| 38 |
+
},
|
| 39 |
+
"training": {
|
| 40 |
+
"description": null,
|
| 41 |
+
"dataset_url": null,
|
| 42 |
+
"base_model": null,
|
| 43 |
+
"sources": []
|
| 44 |
+
},
|
| 45 |
+
"evaluation": {
|
| 46 |
+
"dataset": null,
|
| 47 |
+
"split": null,
|
| 48 |
+
"num_images": null,
|
| 49 |
+
"metrics": {}
|
| 50 |
+
},
|
| 51 |
+
"license": {
|
| 52 |
+
"identifier": "AGPL-3.0-or-later",
|
| 53 |
+
"url": "https://www.gnu.org/licenses/agpl-3.0.html",
|
| 54 |
+
"scope": "Author-selected default for original MAAP3D model contributions; upstream materials retain their own terms.",
|
| 55 |
+
"policy_file": "../../LICENSE_POLICY.md",
|
| 56 |
+
"upstream_review_status": "pending",
|
| 57 |
+
"complete_artifact_license_verified": false,
|
| 58 |
+
"upstream_notes": [
|
| 59 |
+
"No detector checkpoint is supplied; this is a group metadata/template slot only.",
|
| 60 |
+
"Confirm the exact detector framework, base checkpoint and upstream grant before publication. Ultralytics states its trained models default to AGPL-3.0; this does not establish an or-later grant for this particular checkpoint."
|
| 61 |
+
]
|
| 62 |
+
},
|
| 63 |
+
"citation": "If using this model in research or a publication, please cite MAAP3D and 3D-SOCS and identify the model ID and revision used.",
|
| 64 |
+
"description": "Great tit and blue tit model.",
|
| 65 |
+
"limitations": [],
|
| 66 |
+
"author_reported_observations": [],
|
| 67 |
+
"metadata_sources": {
|
| 68 |
+
"description": "Model author, 2026-11-20",
|
| 69 |
+
"species": "Model author, 2026-11-20; common names retained without inferred scientific taxonomy",
|
| 70 |
+
"training.description": "Model author, 2026-11-20; author-reported detector-specific or family history; pose training sources not assumed",
|
| 71 |
+
"limitations": "Model author, 2026-11-20; detector caveats apply to detection models",
|
| 72 |
+
"license": "Author-selected default policy, 2026-11-20; upstream review remains pending",
|
| 73 |
+
"citation": "Model author, 2026-11-20; references in ../../CITATIONS.md"
|
| 74 |
+
},
|
| 75 |
+
"citations": [
|
| 76 |
+
{
|
| 77 |
+
"id": "maap3d",
|
| 78 |
+
"name": "MAAP3D",
|
| 79 |
+
"url": "https://github.com/alexhang212/MAAP3D_Toolbox"
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"id": "3d-socs",
|
| 83 |
+
"name": "3D-SOCS",
|
| 84 |
+
"url": "https://doi.org/10.1111/2041-210X.70051"
|
| 85 |
+
}
|
| 86 |
+
],
|
| 87 |
+
"citation_policy": "Research citation request; not an additional AGPL license condition."
|
| 88 |
+
}
|
greti/pose/README.md
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Greti pose model
|
| 2 |
+
|
| 3 |
+
**Status: draft. Files supplied; inference not validated.**
|
| 4 |
+
|
| 5 |
+
Model ID: `greti-pose`. See [metadata.json](metadata.json) and the
|
| 6 |
+
[model-zoo overview](../../README.md).
|
| 7 |
+
|
| 8 |
+
## Model description
|
| 9 |
+
|
| 10 |
+
Great tit and blue tit model.
|
| 11 |
+
|
| 12 |
+
Great tits and blue tits, as reported by the model author.
|
| 13 |
+
|
| 14 |
+
Descriptions and species coverage are supplied by the model author. They are
|
| 15 |
+
not a new independent evaluation of this checkpoint.
|
| 16 |
+
|
| 17 |
+
## Model files
|
| 18 |
+
|
| 19 |
+
| Role | File |
|
| 20 |
+
| --- | --- |
|
| 21 |
+
| Weights | [greti-pose.pth](greti-pose.pth) |
|
| 22 |
+
| Config | [greti-pose.py](greti-pose.py) |
|
| 23 |
+
|
| 24 |
+
Original filenames and SHA-256 hashes are recorded in `metadata.json`.
|
| 25 |
+
Checkpoint and config bytes have not been changed by these documentation updates.
|
| 26 |
+
|
| 27 |
+
## Pose definition
|
| 28 |
+
|
| 29 |
+
- Framework: MMPose
|
| 30 |
+
- Architecture: HRNet-W32
|
| 31 |
+
- Input size: 256 x 256 pixels (width x height)
|
| 32 |
+
- Keypoints: 18; exact output order is in metadata
|
| 33 |
+
- Skeleton links: 0; flip pairs use keypoint names
|
| 34 |
+
|
| 35 |
+
These technical fields were extracted from the supplied config. The config
|
| 36 |
+
retains its original training/evaluation paths and initialization settings;
|
| 37 |
+
those paths are not portable training instructions.
|
| 38 |
+
|
| 39 |
+
This top-down model requires detection boxes. No compatible detector has
|
| 40 |
+
been supplied for this group; select and validate one before release.
|
| 41 |
+
|
| 42 |
+
The config defines no skeleton links. Add desired visualization links using
|
| 43 |
+
the recorded keypoint names if needed.
|
| 44 |
+
|
| 45 |
+
## Training data
|
| 46 |
+
|
| 47 |
+
Trained using the custom dataset presented in the 3D-SOCS paper.
|
| 48 |
+
|
| 49 |
+
- [3D-SOCS custom dataset](https://doi.org/10.17617/3.ZQMOJ3): keypoint training
|
| 50 |
+
|
| 51 |
+
These sources describe the author-reported training history. The exact base
|
| 52 |
+
checkpoint filenames, data versions, sample counts and training recipe remain
|
| 53 |
+
unspecified. A dataset paper is not a checkpoint identifier or a license grant.
|
| 54 |
+
|
| 55 |
+
## Evaluation and limitations
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
Quantitative held-out accuracy, data splits, speed benchmarks and model-backed
|
| 59 |
+
validation results have not been supplied. No numerical results are claimed.
|
| 60 |
+
|
| 61 |
+
## License and attribution
|
| 62 |
+
|
| 63 |
+
The author-selected default for original MAAP3D model contributions is
|
| 64 |
+
**AGPL-3.0-or-later**. See the [license text](../../LICENSE) and
|
| 65 |
+
[licensing policy](../../LICENSE_POLICY.md). This default does not replace
|
| 66 |
+
upstream model, code, configuration or dataset terms. The complete artifact's
|
| 67 |
+
licensing provenance is still under review; this card is not a clearance statement.
|
| 68 |
+
|
| 69 |
+
OpenMMLab-derived configuration material retains Apache-2.0 terms. See
|
| 70 |
+
[third-party notices](../../THIRD_PARTY_NOTICES.md) and the
|
| 71 |
+
[Apache license](../../LICENSES/Apache-2.0.txt).
|
| 72 |
+
|
| 73 |
+
- Confirm the dataset/checkpoint grants applicable to the specific 3D-SOCS training material and any additional custom data before publication.
|
| 74 |
+
|
| 75 |
+
## Citation
|
| 76 |
+
|
| 77 |
+
If using this model in research or a publication, please cite MAAP3D and 3D-SOCS and identify the model ID and revision used.
|
| 78 |
+
|
| 79 |
+
- [MAAP3D](../../CITATIONS.md#maap3d)
|
| 80 |
+
- [3D-SOCS](../../CITATIONS.md#3d-socs)
|
| 81 |
+
|
| 82 |
+
References and BibTeX are in [CITATIONS.md](../../CITATIONS.md) and
|
| 83 |
+
[CITATIONS.bib](../../CITATIONS.bib). Citation is requested as scholarly credit;
|
| 84 |
+
it is not an additional condition added to AGPL.
|
| 85 |
+
|
| 86 |
+
## Remaining release details
|
| 87 |
+
|
| 88 |
+
Record the release/version label, actual base checkpoint, detector class labels
|
| 89 |
+
where applicable, tested MAAP3D/Python/backend versions and an inference example.
|
| 90 |
+
Keep this slot in its current draft/template state until applicable licensing
|
| 91 |
+
provenance, required metadata and model-backed validation are complete.
|
greti/pose/greti-pose.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d47a82b2ce33fcb593e4f32be69516015364c898d0fec1ff14998b7c68a2d39d
|
| 3 |
+
size 115414832
|
greti/pose/gre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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
auto_scale_lr = dict(base_batch_size=512)
|
| 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 |
+
custom_hooks = [
|
| 15 |
+
dict(type='SyncBuffersHook'),
|
| 16 |
+
]
|
| 17 |
+
data_mode = 'topdown'
|
| 18 |
+
data_root = '/media/alexchan/Extreme SSD/SampleDatasets/GretiAnnotations/Annotated_1000'
|
| 19 |
+
dataset_type = 'CocoDataset'
|
| 20 |
+
default_hooks = dict(
|
| 21 |
+
badcase=dict(
|
| 22 |
+
badcase_thr=5,
|
| 23 |
+
enable=False,
|
| 24 |
+
metric_type='loss',
|
| 25 |
+
out_dir='badcase',
|
| 26 |
+
type='BadCaseAnalysisHook'),
|
| 27 |
+
checkpoint=dict(
|
| 28 |
+
interval=10, rule='greater', save_best='PCK', type='CheckpointHook'),
|
| 29 |
+
logger=dict(interval=50, type='LoggerHook'),
|
| 30 |
+
param_scheduler=dict(type='ParamSchedulerHook'),
|
| 31 |
+
sampler_seed=dict(type='DistSamplerSeedHook'),
|
| 32 |
+
timer=dict(type='IterTimerHook'),
|
| 33 |
+
visualization=dict(enable=False, type='PoseVisualizationHook'))
|
| 34 |
+
default_scope = 'mmpose'
|
| 35 |
+
env_cfg = dict(
|
| 36 |
+
cudnn_benchmark=False,
|
| 37 |
+
dist_cfg=dict(backend='nccl'),
|
| 38 |
+
mp_cfg=dict(mp_start_method='fork', opencv_num_threads=0))
|
| 39 |
+
load_from = None
|
| 40 |
+
log_level = 'INFO'
|
| 41 |
+
log_processor = dict(
|
| 42 |
+
by_epoch=True, num_digits=6, type='LogProcessor', window_size=50)
|
| 43 |
+
model = dict(
|
| 44 |
+
backbone=dict(
|
| 45 |
+
extra=dict(
|
| 46 |
+
stage1=dict(
|
| 47 |
+
block='BOTTLENECK',
|
| 48 |
+
num_blocks=(4, ),
|
| 49 |
+
num_branches=1,
|
| 50 |
+
num_channels=(64, ),
|
| 51 |
+
num_modules=1),
|
| 52 |
+
stage2=dict(
|
| 53 |
+
block='BASIC',
|
| 54 |
+
num_blocks=(
|
| 55 |
+
4,
|
| 56 |
+
4,
|
| 57 |
+
),
|
| 58 |
+
num_branches=2,
|
| 59 |
+
num_channels=(
|
| 60 |
+
32,
|
| 61 |
+
64,
|
| 62 |
+
),
|
| 63 |
+
num_modules=1),
|
| 64 |
+
stage3=dict(
|
| 65 |
+
block='BASIC',
|
| 66 |
+
num_blocks=(
|
| 67 |
+
4,
|
| 68 |
+
4,
|
| 69 |
+
4,
|
| 70 |
+
),
|
| 71 |
+
num_branches=3,
|
| 72 |
+
num_channels=(
|
| 73 |
+
32,
|
| 74 |
+
64,
|
| 75 |
+
128,
|
| 76 |
+
),
|
| 77 |
+
num_modules=4),
|
| 78 |
+
stage4=dict(
|
| 79 |
+
block='BASIC',
|
| 80 |
+
num_blocks=(
|
| 81 |
+
4,
|
| 82 |
+
4,
|
| 83 |
+
4,
|
| 84 |
+
4,
|
| 85 |
+
),
|
| 86 |
+
num_branches=4,
|
| 87 |
+
num_channels=(
|
| 88 |
+
32,
|
| 89 |
+
64,
|
| 90 |
+
128,
|
| 91 |
+
256,
|
| 92 |
+
),
|
| 93 |
+
num_modules=3)),
|
| 94 |
+
in_channels=3,
|
| 95 |
+
init_cfg=dict(
|
| 96 |
+
checkpoint=
|
| 97 |
+
'https://download.openmmlab.com/mmpose/pretrain_models/hrnet_w32-36af842e.pth',
|
| 98 |
+
type='Pretrained'),
|
| 99 |
+
type='HRNet'),
|
| 100 |
+
data_preprocessor=dict(
|
| 101 |
+
bgr_to_rgb=True,
|
| 102 |
+
mean=[
|
| 103 |
+
123.675,
|
| 104 |
+
116.28,
|
| 105 |
+
103.53,
|
| 106 |
+
],
|
| 107 |
+
std=[
|
| 108 |
+
58.395,
|
| 109 |
+
57.12,
|
| 110 |
+
57.375,
|
| 111 |
+
],
|
| 112 |
+
type='PoseDataPreprocessor'),
|
| 113 |
+
head=dict(
|
| 114 |
+
decoder=dict(
|
| 115 |
+
heatmap_size=(
|
| 116 |
+
64,
|
| 117 |
+
64,
|
| 118 |
+
),
|
| 119 |
+
input_size=(
|
| 120 |
+
256,
|
| 121 |
+
256,
|
| 122 |
+
),
|
| 123 |
+
sigma=2,
|
| 124 |
+
type='MSRAHeatmap'),
|
| 125 |
+
deconv_out_channels=None,
|
| 126 |
+
in_channels=32,
|
| 127 |
+
loss=dict(type='KeypointMSELoss', use_target_weight=True),
|
| 128 |
+
out_channels=18,
|
| 129 |
+
type='HeatmapHead'),
|
| 130 |
+
test_cfg=dict(flip_mode='heatmap', flip_test=True, shift_heatmap=True),
|
| 131 |
+
type='TopdownPoseEstimator')
|
| 132 |
+
optim_wrapper = dict(optimizer=dict(lr=0.0005, type='AdamW'))
|
| 133 |
+
param_scheduler = [
|
| 134 |
+
dict(
|
| 135 |
+
begin=0, by_epoch=False, end=500, start_factor=0.001, type='LinearLR'),
|
| 136 |
+
dict(
|
| 137 |
+
begin=0,
|
| 138 |
+
by_epoch=True,
|
| 139 |
+
end=210,
|
| 140 |
+
gamma=0.1,
|
| 141 |
+
milestones=[
|
| 142 |
+
170,
|
| 143 |
+
200,
|
| 144 |
+
],
|
| 145 |
+
type='MultiStepLR'),
|
| 146 |
+
]
|
| 147 |
+
resume = False
|
| 148 |
+
test_cfg = dict()
|
| 149 |
+
test_dataloader = dict(
|
| 150 |
+
batch_size=64,
|
| 151 |
+
dataset=dict(
|
| 152 |
+
ann_file=
|
| 153 |
+
'/media/alexchan/Extreme SSD/SampleDatasets/GretiAnnotations/Annotated_1000/SuperGretiDataset_Test_COCO.json',
|
| 154 |
+
bbox_file=None,
|
| 155 |
+
data_mode='topdown',
|
| 156 |
+
data_prefix=dict(img=''),
|
| 157 |
+
data_root=
|
| 158 |
+
'/media/alexchan/Extreme SSD/SampleDatasets/GretiAnnotations/Annotated_1000',
|
| 159 |
+
metainfo=dict(
|
| 160 |
+
dataset_name='coco',
|
| 161 |
+
joint_weights=[
|
| 162 |
+
1.0,
|
| 163 |
+
1.0,
|
| 164 |
+
1.0,
|
| 165 |
+
1.0,
|
| 166 |
+
1.0,
|
| 167 |
+
1.0,
|
| 168 |
+
1.0,
|
| 169 |
+
1.0,
|
| 170 |
+
1.0,
|
| 171 |
+
1.0,
|
| 172 |
+
1.0,
|
| 173 |
+
1.0,
|
| 174 |
+
1.0,
|
| 175 |
+
1.0,
|
| 176 |
+
1.0,
|
| 177 |
+
1.0,
|
| 178 |
+
1.0,
|
| 179 |
+
1.0,
|
| 180 |
+
],
|
| 181 |
+
keypoint_info=dict({
|
| 182 |
+
0:
|
| 183 |
+
dict(
|
| 184 |
+
color=[
|
| 185 |
+
255,
|
| 186 |
+
0,
|
| 187 |
+
0,
|
| 188 |
+
],
|
| 189 |
+
id=0,
|
| 190 |
+
name='bd_bar_left_back',
|
| 191 |
+
swap='bd_bar_right_back'),
|
| 192 |
+
1:
|
| 193 |
+
dict(
|
| 194 |
+
color=[
|
| 195 |
+
255,
|
| 196 |
+
0,
|
| 197 |
+
0,
|
| 198 |
+
],
|
| 199 |
+
id=1,
|
| 200 |
+
name='bd_bar_left_front',
|
| 201 |
+
swap='bd_bar_right_front'),
|
| 202 |
+
10:
|
| 203 |
+
dict(color=[
|
| 204 |
+
255,
|
| 205 |
+
0,
|
| 206 |
+
0,
|
| 207 |
+
], id=10, name='hd_bill_tip', swap=''),
|
| 208 |
+
11:
|
| 209 |
+
dict(
|
| 210 |
+
color=[
|
| 211 |
+
255,
|
| 212 |
+
0,
|
| 213 |
+
0,
|
| 214 |
+
],
|
| 215 |
+
id=11,
|
| 216 |
+
name='hd_cheek_left',
|
| 217 |
+
swap='hd_cheek_right'),
|
| 218 |
+
12:
|
| 219 |
+
dict(
|
| 220 |
+
color=[
|
| 221 |
+
255,
|
| 222 |
+
0,
|
| 223 |
+
0,
|
| 224 |
+
],
|
| 225 |
+
id=12,
|
| 226 |
+
name='hd_cheek_right',
|
| 227 |
+
swap='hd_cheek_left'),
|
| 228 |
+
13:
|
| 229 |
+
dict(
|
| 230 |
+
color=[
|
| 231 |
+
255,
|
| 232 |
+
0,
|
| 233 |
+
0,
|
| 234 |
+
],
|
| 235 |
+
id=13,
|
| 236 |
+
name='hd_eye_left',
|
| 237 |
+
swap='hd_eye_right'),
|
| 238 |
+
14:
|
| 239 |
+
dict(
|
| 240 |
+
color=[
|
| 241 |
+
255,
|
| 242 |
+
0,
|
| 243 |
+
0,
|
| 244 |
+
],
|
| 245 |
+
id=14,
|
| 246 |
+
name='hd_eye_right',
|
| 247 |
+
swap='hd_eye_left'),
|
| 248 |
+
15:
|
| 249 |
+
dict(color=[
|
| 250 |
+
255,
|
| 251 |
+
0,
|
| 252 |
+
0,
|
| 253 |
+
], id=15, name='hd_head_back', swap=''),
|
| 254 |
+
16:
|
| 255 |
+
dict(
|
| 256 |
+
color=[
|
| 257 |
+
255,
|
| 258 |
+
0,
|
| 259 |
+
0,
|
| 260 |
+
],
|
| 261 |
+
id=16,
|
| 262 |
+
name='hd_neck_left',
|
| 263 |
+
swap='hd_neck_right'),
|
| 264 |
+
17:
|
| 265 |
+
dict(
|
| 266 |
+
color=[
|
| 267 |
+
255,
|
| 268 |
+
0,
|
| 269 |
+
0,
|
| 270 |
+
],
|
| 271 |
+
id=17,
|
| 272 |
+
name='hd_neck_right',
|
| 273 |
+
swap='hd_neck_left'),
|
| 274 |
+
2:
|
| 275 |
+
dict(
|
| 276 |
+
color=[
|
| 277 |
+
255,
|
| 278 |
+
0,
|
| 279 |
+
0,
|
| 280 |
+
],
|
| 281 |
+
id=2,
|
| 282 |
+
name='bd_bar_right_back',
|
| 283 |
+
swap='bd_bar_left_back'),
|
| 284 |
+
3:
|
| 285 |
+
dict(
|
| 286 |
+
color=[
|
| 287 |
+
255,
|
| 288 |
+
0,
|
| 289 |
+
0,
|
| 290 |
+
],
|
| 291 |
+
id=3,
|
| 292 |
+
name='bd_bar_right_front',
|
| 293 |
+
swap='bd_bar_left_front'),
|
| 294 |
+
4:
|
| 295 |
+
dict(color=[
|
| 296 |
+
255,
|
| 297 |
+
0,
|
| 298 |
+
0,
|
| 299 |
+
], id=4, name='bd_keel_top', swap=''),
|
| 300 |
+
5:
|
| 301 |
+
dict(
|
| 302 |
+
color=[
|
| 303 |
+
255,
|
| 304 |
+
0,
|
| 305 |
+
0,
|
| 306 |
+
],
|
| 307 |
+
id=5,
|
| 308 |
+
name='bd_shoulder_left',
|
| 309 |
+
swap='bd_shoulder_right'),
|
| 310 |
+
6:
|
| 311 |
+
dict(
|
| 312 |
+
color=[
|
| 313 |
+
255,
|
| 314 |
+
0,
|
| 315 |
+
0,
|
| 316 |
+
],
|
| 317 |
+
id=6,
|
| 318 |
+
name='bd_shoulder_right',
|
| 319 |
+
swap='bd_shoulder_left'),
|
| 320 |
+
7:
|
| 321 |
+
dict(color=[
|
| 322 |
+
255,
|
| 323 |
+
0,
|
| 324 |
+
0,
|
| 325 |
+
], id=7, name='bd_tail_base', swap=''),
|
| 326 |
+
8:
|
| 327 |
+
dict(color=[
|
| 328 |
+
255,
|
| 329 |
+
0,
|
| 330 |
+
0,
|
| 331 |
+
], id=8, name='bd_tail_tip', swap=''),
|
| 332 |
+
9:
|
| 333 |
+
dict(color=[
|
| 334 |
+
255,
|
| 335 |
+
0,
|
| 336 |
+
0,
|
| 337 |
+
], id=9, name='hd_bill_base', swap='')
|
| 338 |
+
}),
|
| 339 |
+
sigmas=[
|
| 340 |
+
0.025,
|
| 341 |
+
0.025,
|
| 342 |
+
0.025,
|
| 343 |
+
0.025,
|
| 344 |
+
0.025,
|
| 345 |
+
0.025,
|
| 346 |
+
0.025,
|
| 347 |
+
0.025,
|
| 348 |
+
0.025,
|
| 349 |
+
0.025,
|
| 350 |
+
0.025,
|
| 351 |
+
0.025,
|
| 352 |
+
0.025,
|
| 353 |
+
0.025,
|
| 354 |
+
0.025,
|
| 355 |
+
0.025,
|
| 356 |
+
0.025,
|
| 357 |
+
0.025,
|
| 358 |
+
],
|
| 359 |
+
skeleton_info=dict()),
|
| 360 |
+
pipeline=[
|
| 361 |
+
dict(type='LoadImage'),
|
| 362 |
+
dict(type='GetBBoxCenterScale'),
|
| 363 |
+
dict(input_size=(
|
| 364 |
+
256,
|
| 365 |
+
256,
|
| 366 |
+
), type='TopdownAffine'),
|
| 367 |
+
dict(type='PackPoseInputs'),
|
| 368 |
+
],
|
| 369 |
+
test_mode=True,
|
| 370 |
+
type='CocoDataset'),
|
| 371 |
+
drop_last=False,
|
| 372 |
+
num_workers=2,
|
| 373 |
+
persistent_workers=True,
|
| 374 |
+
sampler=dict(round_up=False, shuffle=False, type='DefaultSampler'))
|
| 375 |
+
test_evaluator = [
|
| 376 |
+
dict(thr=0.05, type='PCKAccuracy'),
|
| 377 |
+
dict(type='AUC'),
|
| 378 |
+
]
|
| 379 |
+
train_cfg = dict(by_epoch=True, max_epochs=100, val_interval=10)
|
| 380 |
+
train_dataloader = dict(
|
| 381 |
+
batch_size=64,
|
| 382 |
+
dataset=dict(
|
| 383 |
+
ann_file=
|
| 384 |
+
'/media/alexchan/Extreme SSD/SampleDatasets/GretiAnnotations/Annotated_1000/SuperGretiDataset_Train_COCO.json',
|
| 385 |
+
data_mode='topdown',
|
| 386 |
+
data_prefix=dict(img=''),
|
| 387 |
+
data_root=
|
| 388 |
+
'/media/alexchan/Extreme SSD/SampleDatasets/GretiAnnotations/Annotated_1000',
|
| 389 |
+
metainfo=dict(
|
| 390 |
+
dataset_name='coco',
|
| 391 |
+
joint_weights=[
|
| 392 |
+
1.0,
|
| 393 |
+
1.0,
|
| 394 |
+
1.0,
|
| 395 |
+
1.0,
|
| 396 |
+
1.0,
|
| 397 |
+
1.0,
|
| 398 |
+
1.0,
|
| 399 |
+
1.0,
|
| 400 |
+
1.0,
|
| 401 |
+
1.0,
|
| 402 |
+
1.0,
|
| 403 |
+
1.0,
|
| 404 |
+
1.0,
|
| 405 |
+
1.0,
|
| 406 |
+
1.0,
|
| 407 |
+
1.0,
|
| 408 |
+
1.0,
|
| 409 |
+
1.0,
|
| 410 |
+
],
|
| 411 |
+
keypoint_info=dict({
|
| 412 |
+
0:
|
| 413 |
+
dict(
|
| 414 |
+
color=[
|
| 415 |
+
255,
|
| 416 |
+
0,
|
| 417 |
+
0,
|
| 418 |
+
],
|
| 419 |
+
id=0,
|
| 420 |
+
name='bd_bar_left_back',
|
| 421 |
+
swap='bd_bar_right_back'),
|
| 422 |
+
1:
|
| 423 |
+
dict(
|
| 424 |
+
color=[
|
| 425 |
+
255,
|
| 426 |
+
0,
|
| 427 |
+
0,
|
| 428 |
+
],
|
| 429 |
+
id=1,
|
| 430 |
+
name='bd_bar_left_front',
|
| 431 |
+
swap='bd_bar_right_front'),
|
| 432 |
+
10:
|
| 433 |
+
dict(color=[
|
| 434 |
+
255,
|
| 435 |
+
0,
|
| 436 |
+
0,
|
| 437 |
+
], id=10, name='hd_bill_tip', swap=''),
|
| 438 |
+
11:
|
| 439 |
+
dict(
|
| 440 |
+
color=[
|
| 441 |
+
255,
|
| 442 |
+
0,
|
| 443 |
+
0,
|
| 444 |
+
],
|
| 445 |
+
id=11,
|
| 446 |
+
name='hd_cheek_left',
|
| 447 |
+
swap='hd_cheek_right'),
|
| 448 |
+
12:
|
| 449 |
+
dict(
|
| 450 |
+
color=[
|
| 451 |
+
255,
|
| 452 |
+
0,
|
| 453 |
+
0,
|
| 454 |
+
],
|
| 455 |
+
id=12,
|
| 456 |
+
name='hd_cheek_right',
|
| 457 |
+
swap='hd_cheek_left'),
|
| 458 |
+
13:
|
| 459 |
+
dict(
|
| 460 |
+
color=[
|
| 461 |
+
255,
|
| 462 |
+
0,
|
| 463 |
+
0,
|
| 464 |
+
],
|
| 465 |
+
id=13,
|
| 466 |
+
name='hd_eye_left',
|
| 467 |
+
swap='hd_eye_right'),
|
| 468 |
+
14:
|
| 469 |
+
dict(
|
| 470 |
+
color=[
|
| 471 |
+
255,
|
| 472 |
+
0,
|
| 473 |
+
0,
|
| 474 |
+
],
|
| 475 |
+
id=14,
|
| 476 |
+
name='hd_eye_right',
|
| 477 |
+
swap='hd_eye_left'),
|
| 478 |
+
15:
|
| 479 |
+
dict(color=[
|
| 480 |
+
255,
|
| 481 |
+
0,
|
| 482 |
+
0,
|
| 483 |
+
], id=15, name='hd_head_back', swap=''),
|
| 484 |
+
16:
|
| 485 |
+
dict(
|
| 486 |
+
color=[
|
| 487 |
+
255,
|
| 488 |
+
0,
|
| 489 |
+
0,
|
| 490 |
+
],
|
| 491 |
+
id=16,
|
| 492 |
+
name='hd_neck_left',
|
| 493 |
+
swap='hd_neck_right'),
|
| 494 |
+
17:
|
| 495 |
+
dict(
|
| 496 |
+
color=[
|
| 497 |
+
255,
|
| 498 |
+
0,
|
| 499 |
+
0,
|
| 500 |
+
],
|
| 501 |
+
id=17,
|
| 502 |
+
name='hd_neck_right',
|
| 503 |
+
swap='hd_neck_left'),
|
| 504 |
+
2:
|
| 505 |
+
dict(
|
| 506 |
+
color=[
|
| 507 |
+
255,
|
| 508 |
+
0,
|
| 509 |
+
0,
|
| 510 |
+
],
|
| 511 |
+
id=2,
|
| 512 |
+
name='bd_bar_right_back',
|
| 513 |
+
swap='bd_bar_left_back'),
|
| 514 |
+
3:
|
| 515 |
+
dict(
|
| 516 |
+
color=[
|
| 517 |
+
255,
|
| 518 |
+
0,
|
| 519 |
+
0,
|
| 520 |
+
],
|
| 521 |
+
id=3,
|
| 522 |
+
name='bd_bar_right_front',
|
| 523 |
+
swap='bd_bar_left_front'),
|
| 524 |
+
4:
|
| 525 |
+
dict(color=[
|
| 526 |
+
255,
|
| 527 |
+
0,
|
| 528 |
+
0,
|
| 529 |
+
], id=4, name='bd_keel_top', swap=''),
|
| 530 |
+
5:
|
| 531 |
+
dict(
|
| 532 |
+
color=[
|
| 533 |
+
255,
|
| 534 |
+
0,
|
| 535 |
+
0,
|
| 536 |
+
],
|
| 537 |
+
id=5,
|
| 538 |
+
name='bd_shoulder_left',
|
| 539 |
+
swap='bd_shoulder_right'),
|
| 540 |
+
6:
|
| 541 |
+
dict(
|
| 542 |
+
color=[
|
| 543 |
+
255,
|
| 544 |
+
0,
|
| 545 |
+
0,
|
| 546 |
+
],
|
| 547 |
+
id=6,
|
| 548 |
+
name='bd_shoulder_right',
|
| 549 |
+
swap='bd_shoulder_left'),
|
| 550 |
+
7:
|
| 551 |
+
dict(color=[
|
| 552 |
+
255,
|
| 553 |
+
0,
|
| 554 |
+
0,
|
| 555 |
+
], id=7, name='bd_tail_base', swap=''),
|
| 556 |
+
8:
|
| 557 |
+
dict(color=[
|
| 558 |
+
255,
|
| 559 |
+
0,
|
| 560 |
+
0,
|
| 561 |
+
], id=8, name='bd_tail_tip', swap=''),
|
| 562 |
+
9:
|
| 563 |
+
dict(color=[
|
| 564 |
+
255,
|
| 565 |
+
0,
|
| 566 |
+
0,
|
| 567 |
+
], id=9, name='hd_bill_base', swap='')
|
| 568 |
+
}),
|
| 569 |
+
sigmas=[
|
| 570 |
+
0.025,
|
| 571 |
+
0.025,
|
| 572 |
+
0.025,
|
| 573 |
+
0.025,
|
| 574 |
+
0.025,
|
| 575 |
+
0.025,
|
| 576 |
+
0.025,
|
| 577 |
+
0.025,
|
| 578 |
+
0.025,
|
| 579 |
+
0.025,
|
| 580 |
+
0.025,
|
| 581 |
+
0.025,
|
| 582 |
+
0.025,
|
| 583 |
+
0.025,
|
| 584 |
+
0.025,
|
| 585 |
+
0.025,
|
| 586 |
+
0.025,
|
| 587 |
+
0.025,
|
| 588 |
+
],
|
| 589 |
+
skeleton_info=dict()),
|
| 590 |
+
pipeline=[
|
| 591 |
+
dict(type='LoadImage'),
|
| 592 |
+
dict(type='GetBBoxCenterScale'),
|
| 593 |
+
dict(direction='horizontal', type='RandomFlip'),
|
| 594 |
+
dict(type='RandomHalfBody'),
|
| 595 |
+
dict(type='RandomBBoxTransform'),
|
| 596 |
+
dict(input_size=(
|
| 597 |
+
256,
|
| 598 |
+
256,
|
| 599 |
+
), type='TopdownAffine'),
|
| 600 |
+
dict(
|
| 601 |
+
encoder=dict(
|
| 602 |
+
heatmap_size=(
|
| 603 |
+
64,
|
| 604 |
+
64,
|
| 605 |
+
),
|
| 606 |
+
input_size=(
|
| 607 |
+
256,
|
| 608 |
+
256,
|
| 609 |
+
),
|
| 610 |
+
sigma=2,
|
| 611 |
+
type='MSRAHeatmap'),
|
| 612 |
+
type='GenerateTarget'),
|
| 613 |
+
dict(type='PackPoseInputs'),
|
| 614 |
+
],
|
| 615 |
+
type='CocoDataset'),
|
| 616 |
+
num_workers=2,
|
| 617 |
+
persistent_workers=True,
|
| 618 |
+
sampler=dict(shuffle=True, type='DefaultSampler'))
|
| 619 |
+
train_pipeline = [
|
| 620 |
+
dict(type='LoadImage'),
|
| 621 |
+
dict(type='GetBBoxCenterScale'),
|
| 622 |
+
dict(direction='horizontal', type='RandomFlip'),
|
| 623 |
+
dict(type='RandomHalfBody'),
|
| 624 |
+
dict(type='RandomBBoxTransform'),
|
| 625 |
+
dict(input_size=(
|
| 626 |
+
256,
|
| 627 |
+
256,
|
| 628 |
+
), type='TopdownAffine'),
|
| 629 |
+
dict(
|
| 630 |
+
encoder=dict(
|
| 631 |
+
heatmap_size=(
|
| 632 |
+
64,
|
| 633 |
+
64,
|
| 634 |
+
),
|
| 635 |
+
input_size=(
|
| 636 |
+
256,
|
| 637 |
+
256,
|
| 638 |
+
),
|
| 639 |
+
sigma=2,
|
| 640 |
+
type='MSRAHeatmap'),
|
| 641 |
+
type='GenerateTarget'),
|
| 642 |
+
dict(type='PackPoseInputs'),
|
| 643 |
+
]
|
| 644 |
+
val_cfg = dict()
|
| 645 |
+
val_dataloader = dict(
|
| 646 |
+
batch_size=64,
|
| 647 |
+
dataset=dict(
|
| 648 |
+
ann_file=
|
| 649 |
+
'/media/alexchan/Extreme SSD/SampleDatasets/GretiAnnotations/Annotated_1000/SuperGretiDataset_Test_COCO.json',
|
| 650 |
+
bbox_file=None,
|
| 651 |
+
data_mode='topdown',
|
| 652 |
+
data_prefix=dict(img=''),
|
| 653 |
+
data_root=
|
| 654 |
+
'/media/alexchan/Extreme SSD/SampleDatasets/GretiAnnotations/Annotated_1000',
|
| 655 |
+
metainfo=dict(
|
| 656 |
+
dataset_name='coco',
|
| 657 |
+
joint_weights=[
|
| 658 |
+
1.0,
|
| 659 |
+
1.0,
|
| 660 |
+
1.0,
|
| 661 |
+
1.0,
|
| 662 |
+
1.0,
|
| 663 |
+
1.0,
|
| 664 |
+
1.0,
|
| 665 |
+
1.0,
|
| 666 |
+
1.0,
|
| 667 |
+
1.0,
|
| 668 |
+
1.0,
|
| 669 |
+
1.0,
|
| 670 |
+
1.0,
|
| 671 |
+
1.0,
|
| 672 |
+
1.0,
|
| 673 |
+
1.0,
|
| 674 |
+
1.0,
|
| 675 |
+
1.0,
|
| 676 |
+
],
|
| 677 |
+
keypoint_info=dict({
|
| 678 |
+
0:
|
| 679 |
+
dict(
|
| 680 |
+
color=[
|
| 681 |
+
255,
|
| 682 |
+
0,
|
| 683 |
+
0,
|
| 684 |
+
],
|
| 685 |
+
id=0,
|
| 686 |
+
name='bd_bar_left_back',
|
| 687 |
+
swap='bd_bar_right_back'),
|
| 688 |
+
1:
|
| 689 |
+
dict(
|
| 690 |
+
color=[
|
| 691 |
+
255,
|
| 692 |
+
0,
|
| 693 |
+
0,
|
| 694 |
+
],
|
| 695 |
+
id=1,
|
| 696 |
+
name='bd_bar_left_front',
|
| 697 |
+
swap='bd_bar_right_front'),
|
| 698 |
+
10:
|
| 699 |
+
dict(color=[
|
| 700 |
+
255,
|
| 701 |
+
0,
|
| 702 |
+
0,
|
| 703 |
+
], id=10, name='hd_bill_tip', swap=''),
|
| 704 |
+
11:
|
| 705 |
+
dict(
|
| 706 |
+
color=[
|
| 707 |
+
255,
|
| 708 |
+
0,
|
| 709 |
+
0,
|
| 710 |
+
],
|
| 711 |
+
id=11,
|
| 712 |
+
name='hd_cheek_left',
|
| 713 |
+
swap='hd_cheek_right'),
|
| 714 |
+
12:
|
| 715 |
+
dict(
|
| 716 |
+
color=[
|
| 717 |
+
255,
|
| 718 |
+
0,
|
| 719 |
+
0,
|
| 720 |
+
],
|
| 721 |
+
id=12,
|
| 722 |
+
name='hd_cheek_right',
|
| 723 |
+
swap='hd_cheek_left'),
|
| 724 |
+
13:
|
| 725 |
+
dict(
|
| 726 |
+
color=[
|
| 727 |
+
255,
|
| 728 |
+
0,
|
| 729 |
+
0,
|
| 730 |
+
],
|
| 731 |
+
id=13,
|
| 732 |
+
name='hd_eye_left',
|
| 733 |
+
swap='hd_eye_right'),
|
| 734 |
+
14:
|
| 735 |
+
dict(
|
| 736 |
+
color=[
|
| 737 |
+
255,
|
| 738 |
+
0,
|
| 739 |
+
0,
|
| 740 |
+
],
|
| 741 |
+
id=14,
|
| 742 |
+
name='hd_eye_right',
|
| 743 |
+
swap='hd_eye_left'),
|
| 744 |
+
15:
|
| 745 |
+
dict(color=[
|
| 746 |
+
255,
|
| 747 |
+
0,
|
| 748 |
+
0,
|
| 749 |
+
], id=15, name='hd_head_back', swap=''),
|
| 750 |
+
16:
|
| 751 |
+
dict(
|
| 752 |
+
color=[
|
| 753 |
+
255,
|
| 754 |
+
0,
|
| 755 |
+
0,
|
| 756 |
+
],
|
| 757 |
+
id=16,
|
| 758 |
+
name='hd_neck_left',
|
| 759 |
+
swap='hd_neck_right'),
|
| 760 |
+
17:
|
| 761 |
+
dict(
|
| 762 |
+
color=[
|
| 763 |
+
255,
|
| 764 |
+
0,
|
| 765 |
+
0,
|
| 766 |
+
],
|
| 767 |
+
id=17,
|
| 768 |
+
name='hd_neck_right',
|
| 769 |
+
swap='hd_neck_left'),
|
| 770 |
+
2:
|
| 771 |
+
dict(
|
| 772 |
+
color=[
|
| 773 |
+
255,
|
| 774 |
+
0,
|
| 775 |
+
0,
|
| 776 |
+
],
|
| 777 |
+
id=2,
|
| 778 |
+
name='bd_bar_right_back',
|
| 779 |
+
swap='bd_bar_left_back'),
|
| 780 |
+
3:
|
| 781 |
+
dict(
|
| 782 |
+
color=[
|
| 783 |
+
255,
|
| 784 |
+
0,
|
| 785 |
+
0,
|
| 786 |
+
],
|
| 787 |
+
id=3,
|
| 788 |
+
name='bd_bar_right_front',
|
| 789 |
+
swap='bd_bar_left_front'),
|
| 790 |
+
4:
|
| 791 |
+
dict(color=[
|
| 792 |
+
255,
|
| 793 |
+
0,
|
| 794 |
+
0,
|
| 795 |
+
], id=4, name='bd_keel_top', swap=''),
|
| 796 |
+
5:
|
| 797 |
+
dict(
|
| 798 |
+
color=[
|
| 799 |
+
255,
|
| 800 |
+
0,
|
| 801 |
+
0,
|
| 802 |
+
],
|
| 803 |
+
id=5,
|
| 804 |
+
name='bd_shoulder_left',
|
| 805 |
+
swap='bd_shoulder_right'),
|
| 806 |
+
6:
|
| 807 |
+
dict(
|
| 808 |
+
color=[
|
| 809 |
+
255,
|
| 810 |
+
0,
|
| 811 |
+
0,
|
| 812 |
+
],
|
| 813 |
+
id=6,
|
| 814 |
+
name='bd_shoulder_right',
|
| 815 |
+
swap='bd_shoulder_left'),
|
| 816 |
+
7:
|
| 817 |
+
dict(color=[
|
| 818 |
+
255,
|
| 819 |
+
0,
|
| 820 |
+
0,
|
| 821 |
+
], id=7, name='bd_tail_base', swap=''),
|
| 822 |
+
8:
|
| 823 |
+
dict(color=[
|
| 824 |
+
255,
|
| 825 |
+
0,
|
| 826 |
+
0,
|
| 827 |
+
], id=8, name='bd_tail_tip', swap=''),
|
| 828 |
+
9:
|
| 829 |
+
dict(color=[
|
| 830 |
+
255,
|
| 831 |
+
0,
|
| 832 |
+
0,
|
| 833 |
+
], id=9, name='hd_bill_base', swap='')
|
| 834 |
+
}),
|
| 835 |
+
sigmas=[
|
| 836 |
+
0.025,
|
| 837 |
+
0.025,
|
| 838 |
+
0.025,
|
| 839 |
+
0.025,
|
| 840 |
+
0.025,
|
| 841 |
+
0.025,
|
| 842 |
+
0.025,
|
| 843 |
+
0.025,
|
| 844 |
+
0.025,
|
| 845 |
+
0.025,
|
| 846 |
+
0.025,
|
| 847 |
+
0.025,
|
| 848 |
+
0.025,
|
| 849 |
+
0.025,
|
| 850 |
+
0.025,
|
| 851 |
+
0.025,
|
| 852 |
+
0.025,
|
| 853 |
+
0.025,
|
| 854 |
+
],
|
| 855 |
+
skeleton_info=dict()),
|
| 856 |
+
pipeline=[
|
| 857 |
+
dict(type='LoadImage'),
|
| 858 |
+
dict(type='GetBBoxCenterScale'),
|
| 859 |
+
dict(input_size=(
|
| 860 |
+
256,
|
| 861 |
+
256,
|
| 862 |
+
), type='TopdownAffine'),
|
| 863 |
+
dict(type='PackPoseInputs'),
|
| 864 |
+
],
|
| 865 |
+
test_mode=True,
|
| 866 |
+
type='CocoDataset'),
|
| 867 |
+
drop_last=False,
|
| 868 |
+
num_workers=2,
|
| 869 |
+
persistent_workers=True,
|
| 870 |
+
sampler=dict(round_up=False, shuffle=False, type='DefaultSampler'))
|
| 871 |
+
val_evaluator = [
|
| 872 |
+
dict(thr=0.05, type='PCKAccuracy'),
|
| 873 |
+
dict(type='AUC'),
|
| 874 |
+
]
|
| 875 |
+
val_pipeline = [
|
| 876 |
+
dict(type='LoadImage'),
|
| 877 |
+
dict(type='GetBBoxCenterScale'),
|
| 878 |
+
dict(input_size=(
|
| 879 |
+
256,
|
| 880 |
+
256,
|
| 881 |
+
), type='TopdownAffine'),
|
| 882 |
+
dict(type='PackPoseInputs'),
|
| 883 |
+
]
|
| 884 |
+
vis_backends = [
|
| 885 |
+
dict(type='LocalVisBackend'),
|
| 886 |
+
]
|
| 887 |
+
visualizer = dict(
|
| 888 |
+
name='visualizer',
|
| 889 |
+
type='PoseLocalVisualizer',
|
| 890 |
+
vis_backends=[
|
| 891 |
+
dict(type='LocalVisBackend'),
|
| 892 |
+
])
|
| 893 |
+
work_dir = '/media/alexchan/Extreme SSD/SampleDatasets/GretiAnnotations/Annotated_1000/SuperGreti_HRNet'
|
greti/pose/metadata.json
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"model_id": "greti-pose",
|
| 4 |
+
"status": "draft",
|
| 5 |
+
"species": {
|
| 6 |
+
"group": "greti",
|
| 7 |
+
"common_name": "great tits, blue tits",
|
| 8 |
+
"scientific_name": null,
|
| 9 |
+
"covered_common_names": [
|
| 10 |
+
"great tits",
|
| 11 |
+
"blue tits"
|
| 12 |
+
],
|
| 13 |
+
"coverage_note": "Great tits and blue tits, as reported by the model author.",
|
| 14 |
+
"coverage_source": "Model author, 2026-11-20"
|
| 15 |
+
},
|
| 16 |
+
"task": "keypoint-estimation",
|
| 17 |
+
"framework": "MMPose",
|
| 18 |
+
"architecture": "HRNet-W32",
|
| 19 |
+
"model_version": null,
|
| 20 |
+
"files": {
|
| 21 |
+
"weights": "greti-pose.pth",
|
| 22 |
+
"config": "greti-pose.py",
|
| 23 |
+
"additional": []
|
| 24 |
+
},
|
| 25 |
+
"class_names": [],
|
| 26 |
+
"keypoint_names": [
|
| 27 |
+
"bd_bar_left_back",
|
| 28 |
+
"bd_bar_left_front",
|
| 29 |
+
"bd_bar_right_back",
|
| 30 |
+
"bd_bar_right_front",
|
| 31 |
+
"bd_keel_top",
|
| 32 |
+
"bd_shoulder_left",
|
| 33 |
+
"bd_shoulder_right",
|
| 34 |
+
"bd_tail_base",
|
| 35 |
+
"bd_tail_tip",
|
| 36 |
+
"hd_bill_base",
|
| 37 |
+
"hd_bill_tip",
|
| 38 |
+
"hd_cheek_left",
|
| 39 |
+
"hd_cheek_right",
|
| 40 |
+
"hd_eye_left",
|
| 41 |
+
"hd_eye_right",
|
| 42 |
+
"hd_head_back",
|
| 43 |
+
"hd_neck_left",
|
| 44 |
+
"hd_neck_right"
|
| 45 |
+
],
|
| 46 |
+
"skeleton": [],
|
| 47 |
+
"flip_pairs": [
|
| 48 |
+
[
|
| 49 |
+
"bd_bar_left_back",
|
| 50 |
+
"bd_bar_right_back"
|
| 51 |
+
],
|
| 52 |
+
[
|
| 53 |
+
"bd_bar_left_front",
|
| 54 |
+
"bd_bar_right_front"
|
| 55 |
+
],
|
| 56 |
+
[
|
| 57 |
+
"bd_shoulder_left",
|
| 58 |
+
"bd_shoulder_right"
|
| 59 |
+
],
|
| 60 |
+
[
|
| 61 |
+
"hd_cheek_left",
|
| 62 |
+
"hd_cheek_right"
|
| 63 |
+
],
|
| 64 |
+
[
|
| 65 |
+
"hd_eye_left",
|
| 66 |
+
"hd_eye_right"
|
| 67 |
+
],
|
| 68 |
+
[
|
| 69 |
+
"hd_neck_left",
|
| 70 |
+
"hd_neck_right"
|
| 71 |
+
]
|
| 72 |
+
],
|
| 73 |
+
"recommended_detector": null,
|
| 74 |
+
"inference": {
|
| 75 |
+
"input_size": [
|
| 76 |
+
256,
|
| 77 |
+
256
|
| 78 |
+
],
|
| 79 |
+
"recommended_confidence_threshold": null
|
| 80 |
+
},
|
| 81 |
+
"compatibility": {
|
| 82 |
+
"maap3d": null,
|
| 83 |
+
"python": null,
|
| 84 |
+
"packages": {}
|
| 85 |
+
},
|
| 86 |
+
"training": {
|
| 87 |
+
"description": "Trained using the custom dataset presented in the 3D-SOCS paper.",
|
| 88 |
+
"dataset_url": "https://doi.org/10.17617/3.ZQMOJ3",
|
| 89 |
+
"base_model": null,
|
| 90 |
+
"sources": [
|
| 91 |
+
{
|
| 92 |
+
"name": "3D-SOCS custom dataset",
|
| 93 |
+
"role": "keypoint training",
|
| 94 |
+
"url": "https://doi.org/10.17617/3.ZQMOJ3"
|
| 95 |
+
}
|
| 96 |
+
]
|
| 97 |
+
},
|
| 98 |
+
"evaluation": {
|
| 99 |
+
"dataset": null,
|
| 100 |
+
"split": null,
|
| 101 |
+
"num_images": null,
|
| 102 |
+
"metrics": {}
|
| 103 |
+
},
|
| 104 |
+
"license": {
|
| 105 |
+
"identifier": "AGPL-3.0-or-later",
|
| 106 |
+
"url": "https://www.gnu.org/licenses/agpl-3.0.html",
|
| 107 |
+
"scope": "Author-selected default for original MAAP3D model contributions; upstream materials retain their own terms.",
|
| 108 |
+
"policy_file": "../../LICENSE_POLICY.md",
|
| 109 |
+
"upstream_review_status": "pending",
|
| 110 |
+
"complete_artifact_license_verified": false,
|
| 111 |
+
"upstream_notes": [
|
| 112 |
+
"Confirm the dataset/checkpoint grants applicable to the specific 3D-SOCS training material and any additional custom data before publication."
|
| 113 |
+
]
|
| 114 |
+
},
|
| 115 |
+
"citation": "If using this model in research or a publication, please cite MAAP3D and 3D-SOCS and identify the model ID and revision used.",
|
| 116 |
+
"provenance": {
|
| 117 |
+
"weights": {
|
| 118 |
+
"original_filename": "SuperGreti_epoch_100.pth",
|
| 119 |
+
"sha256": "d47a82b2ce33fcb593e4f32be69516015364c898d0fec1ff14998b7c68a2d39d",
|
| 120 |
+
"size_bytes": 115414832
|
| 121 |
+
},
|
| 122 |
+
"config": {
|
| 123 |
+
"original_filename": "hrnet.py",
|
| 124 |
+
"sha256": "bc38f6930e50529404883ef1879e4702148f711e545b3d9a5fe62eff906c4901",
|
| 125 |
+
"size_bytes": 24955
|
| 126 |
+
}
|
| 127 |
+
},
|
| 128 |
+
"pose_estimator_type": "TopdownPoseEstimator",
|
| 129 |
+
"detector_requirement": "required",
|
| 130 |
+
"metadata_sources": {
|
| 131 |
+
"framework": "greti-pose.py:default_scope",
|
| 132 |
+
"architecture": "greti-pose.py:model.backbone",
|
| 133 |
+
"pose_estimator_type": "greti-pose.py:model.type",
|
| 134 |
+
"keypoint_names": "greti-pose.py:test_dataloader.dataset.metainfo.keypoint_info (numeric ID order)",
|
| 135 |
+
"skeleton": "greti-pose.py:test_dataloader.dataset.metainfo.skeleton_info",
|
| 136 |
+
"flip_pairs": "greti-pose.py:test_dataloader.dataset.metainfo.keypoint_info.swap",
|
| 137 |
+
"inference.input_size": "greti-pose.py:codec.input_size",
|
| 138 |
+
"description": "Model author, 2026-11-20",
|
| 139 |
+
"species": "Model author, 2026-11-20; common names retained without inferred scientific taxonomy",
|
| 140 |
+
"training.description": "Model author, 2026-11-20; keypoint training history",
|
| 141 |
+
"limitations": "Model author, 2026-11-20; detector caveats apply to detection models",
|
| 142 |
+
"license": "Author-selected default policy, 2026-11-20; upstream review remains pending",
|
| 143 |
+
"citation": "Model author, 2026-11-20; references in ../../CITATIONS.md"
|
| 144 |
+
},
|
| 145 |
+
"description": "Great tit and blue tit model.",
|
| 146 |
+
"limitations": [],
|
| 147 |
+
"author_reported_observations": [],
|
| 148 |
+
"config_license": {
|
| 149 |
+
"identifier": "Apache-2.0",
|
| 150 |
+
"scope": "OpenMMLab-derived configuration material; exact source/modification lineage remains to be confirmed.",
|
| 151 |
+
"license_file": "../../LICENSES/Apache-2.0.txt",
|
| 152 |
+
"notices_file": "../../THIRD_PARTY_NOTICES.md"
|
| 153 |
+
},
|
| 154 |
+
"citations": [
|
| 155 |
+
{
|
| 156 |
+
"id": "maap3d",
|
| 157 |
+
"name": "MAAP3D",
|
| 158 |
+
"url": "https://github.com/alexhang212/MAAP3D_Toolbox"
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"id": "3d-socs",
|
| 162 |
+
"name": "3D-SOCS",
|
| 163 |
+
"url": "https://doi.org/10.1111/2041-210X.70051"
|
| 164 |
+
}
|
| 165 |
+
],
|
| 166 |
+
"citation_policy": "Research citation request; not an additional AGPL license condition."
|
| 167 |
+
}
|
jays/detection/README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Jays detection model
|
| 2 |
+
|
| 3 |
+
**Status: draft. Files supplied; inference not validated.**
|
| 4 |
+
|
| 5 |
+
Model ID: `jay-detection`. See [metadata.json](metadata.json) and the
|
| 6 |
+
[model-zoo overview](../../README.md).
|
| 7 |
+
|
| 8 |
+
## Model description
|
| 9 |
+
|
| 10 |
+
Siberian jay model family trained on the CHIRP dataset.
|
| 11 |
+
|
| 12 |
+
Siberian jays, as reported by the model author.
|
| 13 |
+
|
| 14 |
+
Descriptions and species coverage are supplied by the model author. They are
|
| 15 |
+
not a new independent evaluation of this checkpoint.
|
| 16 |
+
|
| 17 |
+
## Model files
|
| 18 |
+
|
| 19 |
+
| Role | File |
|
| 20 |
+
| --- | --- |
|
| 21 |
+
| Weights | [jay-detection.pt](jay-detection.pt) |
|
| 22 |
+
|
| 23 |
+
Original filenames and SHA-256 hashes are recorded in `metadata.json`.
|
| 24 |
+
Checkpoint and config bytes have not been changed by these documentation updates.
|
| 25 |
+
|
| 26 |
+
## Detector details
|
| 27 |
+
|
| 28 |
+
Detector architecture, class names in numeric ID order, inference image size
|
| 29 |
+
and confidence recommendations have not yet been confirmed.
|
| 30 |
+
|
| 31 |
+
## Training data
|
| 32 |
+
|
| 33 |
+
The author describes the model family as trained on CHIRP; the detector-specific training recipe was not supplied.
|
| 34 |
+
|
| 35 |
+
The pose model training history is documented separately in its own folder;
|
| 36 |
+
it is not assumed to be this detector's pretraining history.
|
| 37 |
+
|
| 38 |
+
## Evaluation and limitations
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
Quantitative held-out accuracy, data splits, speed benchmarks and model-backed
|
| 42 |
+
validation results have not been supplied. No numerical results are claimed.
|
| 43 |
+
|
| 44 |
+
## License and attribution
|
| 45 |
+
|
| 46 |
+
The author-selected default for original MAAP3D model contributions is
|
| 47 |
+
**AGPL-3.0-or-later**. See the [license text](../../LICENSE) and
|
| 48 |
+
[licensing policy](../../LICENSE_POLICY.md). This default does not replace
|
| 49 |
+
upstream model, code, configuration or dataset terms. The complete artifact's
|
| 50 |
+
licensing provenance is still under review; this card is not a clearance statement.
|
| 51 |
+
|
| 52 |
+
- Confirm the exact detector framework, base checkpoint and upstream grant before publication. Ultralytics states its trained models default to AGPL-3.0; this does not establish an or-later grant for this particular checkpoint.
|
| 53 |
+
|
| 54 |
+
## Citation
|
| 55 |
+
|
| 56 |
+
If using this model in research or a publication, please cite MAAP3D and CHIRP and identify the model ID and revision used.
|
| 57 |
+
|
| 58 |
+
- [MAAP3D](../../CITATIONS.md#maap3d)
|
| 59 |
+
- [CHIRP](../../CITATIONS.md#chirp)
|
| 60 |
+
|
| 61 |
+
References and BibTeX are in [CITATIONS.md](../../CITATIONS.md) and
|
| 62 |
+
[CITATIONS.bib](../../CITATIONS.bib). Citation is requested as scholarly credit;
|
| 63 |
+
it is not an additional condition added to AGPL.
|
| 64 |
+
|
| 65 |
+
## Remaining release details
|
| 66 |
+
|
| 67 |
+
Record the release/version label, actual base checkpoint, detector class labels
|
| 68 |
+
where applicable, tested MAAP3D/Python/backend versions and an inference example.
|
| 69 |
+
Keep this slot in its current draft/template state until applicable licensing
|
| 70 |
+
provenance, required metadata and model-backed validation are complete.
|
jays/detection/jay-detection.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad23762efa02c3051c0d07c4407ef4f4e92f161059ac6e7768f082886d369b53
|
| 3 |
+
size 87614462
|
jays/detection/metadata.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"model_id": "jay-detection",
|
| 4 |
+
"status": "draft",
|
| 5 |
+
"species": {
|
| 6 |
+
"group": "jays",
|
| 7 |
+
"common_name": "Siberian jays",
|
| 8 |
+
"scientific_name": null,
|
| 9 |
+
"covered_common_names": [
|
| 10 |
+
"Siberian jays"
|
| 11 |
+
],
|
| 12 |
+
"coverage_note": "Siberian jays, as reported by the model author.",
|
| 13 |
+
"coverage_source": "Model author, 2026-11-20"
|
| 14 |
+
},
|
| 15 |
+
"task": "object-detection",
|
| 16 |
+
"framework": null,
|
| 17 |
+
"architecture": null,
|
| 18 |
+
"model_version": null,
|
| 19 |
+
"files": {
|
| 20 |
+
"weights": "jay-detection.pt",
|
| 21 |
+
"config": null,
|
| 22 |
+
"additional": []
|
| 23 |
+
},
|
| 24 |
+
"class_names": [],
|
| 25 |
+
"keypoint_names": [],
|
| 26 |
+
"skeleton": [],
|
| 27 |
+
"flip_pairs": [],
|
| 28 |
+
"recommended_detector": null,
|
| 29 |
+
"inference": {
|
| 30 |
+
"input_size": null,
|
| 31 |
+
"recommended_confidence_threshold": null
|
| 32 |
+
},
|
| 33 |
+
"compatibility": {
|
| 34 |
+
"maap3d": null,
|
| 35 |
+
"python": null,
|
| 36 |
+
"packages": {}
|
| 37 |
+
},
|
| 38 |
+
"training": {
|
| 39 |
+
"description": "The author describes the model family as trained on CHIRP; the detector-specific training recipe was not supplied.",
|
| 40 |
+
"dataset_url": null,
|
| 41 |
+
"base_model": null,
|
| 42 |
+
"sources": []
|
| 43 |
+
},
|
| 44 |
+
"evaluation": {
|
| 45 |
+
"dataset": null,
|
| 46 |
+
"split": null,
|
| 47 |
+
"num_images": null,
|
| 48 |
+
"metrics": {}
|
| 49 |
+
},
|
| 50 |
+
"license": {
|
| 51 |
+
"identifier": "AGPL-3.0-or-later",
|
| 52 |
+
"url": "https://www.gnu.org/licenses/agpl-3.0.html",
|
| 53 |
+
"scope": "Author-selected default for original MAAP3D model contributions; upstream materials retain their own terms.",
|
| 54 |
+
"policy_file": "../../LICENSE_POLICY.md",
|
| 55 |
+
"upstream_review_status": "pending",
|
| 56 |
+
"complete_artifact_license_verified": false,
|
| 57 |
+
"upstream_notes": [
|
| 58 |
+
"Confirm the exact detector framework, base checkpoint and upstream grant before publication. Ultralytics states its trained models default to AGPL-3.0; this does not establish an or-later grant for this particular checkpoint."
|
| 59 |
+
]
|
| 60 |
+
},
|
| 61 |
+
"citation": "If using this model in research or a publication, please cite MAAP3D and CHIRP and identify the model ID and revision used.",
|
| 62 |
+
"provenance": {
|
| 63 |
+
"weights": {
|
| 64 |
+
"original_filename": "JayYOLO.pt",
|
| 65 |
+
"sha256": "ad23762efa02c3051c0d07c4407ef4f4e92f161059ac6e7768f082886d369b53",
|
| 66 |
+
"size_bytes": 87614462
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
"description": "Siberian jay model family trained on the CHIRP dataset.",
|
| 70 |
+
"limitations": [],
|
| 71 |
+
"author_reported_observations": [],
|
| 72 |
+
"metadata_sources": {
|
| 73 |
+
"description": "Model author, 2026-11-20",
|
| 74 |
+
"species": "Model author, 2026-11-20; common names retained without inferred scientific taxonomy",
|
| 75 |
+
"training.description": "Model author, 2026-11-20; author-reported detector-specific or family history; pose training sources not assumed",
|
| 76 |
+
"limitations": "Model author, 2026-11-20; detector caveats apply to detection models",
|
| 77 |
+
"license": "Author-selected default policy, 2026-11-20; upstream review remains pending",
|
| 78 |
+
"citation": "Model author, 2026-11-20; references in ../../CITATIONS.md"
|
| 79 |
+
},
|
| 80 |
+
"citations": [
|
| 81 |
+
{
|
| 82 |
+
"id": "maap3d",
|
| 83 |
+
"name": "MAAP3D",
|
| 84 |
+
"url": "https://github.com/alexhang212/MAAP3D_Toolbox"
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"id": "chirp",
|
| 88 |
+
"name": "CHIRP",
|
| 89 |
+
"url": "https://arxiv.org/abs/2603.25524"
|
| 90 |
+
}
|
| 91 |
+
],
|
| 92 |
+
"citation_policy": "Research citation request; not an additional AGPL license condition."
|
| 93 |
+
}
|
jays/pose/README.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Jays pose model
|
| 2 |
+
|
| 3 |
+
**Status: draft. Files supplied; inference not validated.**
|
| 4 |
+
|
| 5 |
+
Model ID: `jay-pose`. See [metadata.json](metadata.json) and the
|
| 6 |
+
[model-zoo overview](../../README.md).
|
| 7 |
+
|
| 8 |
+
## Model description
|
| 9 |
+
|
| 10 |
+
Siberian jay model family trained on the CHIRP dataset.
|
| 11 |
+
|
| 12 |
+
Siberian jays, as reported by the model author.
|
| 13 |
+
|
| 14 |
+
Descriptions and species coverage are supplied by the model author. They are
|
| 15 |
+
not a new independent evaluation of this checkpoint.
|
| 16 |
+
|
| 17 |
+
## Model files
|
| 18 |
+
|
| 19 |
+
| Role | File |
|
| 20 |
+
| --- | --- |
|
| 21 |
+
| Weights | [jay-pose.pth](jay-pose.pth) |
|
| 22 |
+
| Config | [jay-pose.py](jay-pose.py) |
|
| 23 |
+
|
| 24 |
+
Original filenames and SHA-256 hashes are recorded in `metadata.json`.
|
| 25 |
+
Checkpoint and config bytes have not been changed by these documentation updates.
|
| 26 |
+
|
| 27 |
+
## Pose definition
|
| 28 |
+
|
| 29 |
+
- Framework: MMPose
|
| 30 |
+
- Architecture: HRNet-W32
|
| 31 |
+
- Input size: 256 x 256 pixels (width x height)
|
| 32 |
+
- Keypoints: 13; exact output order is in metadata
|
| 33 |
+
- Skeleton links: 14; flip pairs use keypoint names
|
| 34 |
+
|
| 35 |
+
These technical fields were extracted from the supplied config. The config
|
| 36 |
+
retains its original training/evaluation paths and initialization settings;
|
| 37 |
+
those paths are not portable training instructions.
|
| 38 |
+
|
| 39 |
+
Proposed detector: `jay-detection`. Detector/pose pairing
|
| 40 |
+
still needs validation.
|
| 41 |
+
|
| 42 |
+
## Training data
|
| 43 |
+
|
| 44 |
+
Trained using the CHIRP dataset.
|
| 45 |
+
|
| 46 |
+
- [CHIRP](https://arxiv.org/abs/2603.25524): keypoint training
|
| 47 |
+
|
| 48 |
+
These sources describe the author-reported training history. The exact base
|
| 49 |
+
checkpoint filenames, data versions, sample counts and training recipe remain
|
| 50 |
+
unspecified. A dataset paper is not a checkpoint identifier or a license grant.
|
| 51 |
+
|
| 52 |
+
## Evaluation and limitations
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
Quantitative held-out accuracy, data splits, speed benchmarks and model-backed
|
| 56 |
+
validation results have not been supplied. No numerical results are claimed.
|
| 57 |
+
|
| 58 |
+
## License and attribution
|
| 59 |
+
|
| 60 |
+
The author-selected default for original MAAP3D model contributions is
|
| 61 |
+
**AGPL-3.0-or-later**. See the [license text](../../LICENSE) and
|
| 62 |
+
[licensing policy](../../LICENSE_POLICY.md). This default does not replace
|
| 63 |
+
upstream model, code, configuration or dataset terms. The complete artifact's
|
| 64 |
+
licensing provenance is still under review; this card is not a clearance statement.
|
| 65 |
+
|
| 66 |
+
OpenMMLab-derived configuration material retains Apache-2.0 terms. See
|
| 67 |
+
[third-party notices](../../THIRD_PARTY_NOTICES.md) and the
|
| 68 |
+
[Apache license](../../LICENSES/Apache-2.0.txt).
|
| 69 |
+
|
| 70 |
+
- Confirm the exact CHIRP release, base checkpoint and applicable model/data terms before publication.
|
| 71 |
+
|
| 72 |
+
## Citation
|
| 73 |
+
|
| 74 |
+
If using this model in research or a publication, please cite MAAP3D and CHIRP and identify the model ID and revision used.
|
| 75 |
+
|
| 76 |
+
- [MAAP3D](../../CITATIONS.md#maap3d)
|
| 77 |
+
- [CHIRP](../../CITATIONS.md#chirp)
|
| 78 |
+
|
| 79 |
+
References and BibTeX are in [CITATIONS.md](../../CITATIONS.md) and
|
| 80 |
+
[CITATIONS.bib](../../CITATIONS.bib). Citation is requested as scholarly credit;
|
| 81 |
+
it is not an additional condition added to AGPL.
|
| 82 |
+
|
| 83 |
+
## Remaining release details
|
| 84 |
+
|
| 85 |
+
Record the release/version label, actual base checkpoint, detector class labels
|
| 86 |
+
where applicable, tested MAAP3D/Python/backend versions and an inference example.
|
| 87 |
+
Keep this slot in its current draft/template state until applicable licensing
|
| 88 |
+
provenance, required metadata and model-backed validation are complete.
|
jays/pose/jay-pose.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87ecc393d2f525ba14a4b08d4a59848a6488e6ad0f2cc0c65d7bea9047590977
|
| 3 |
+
size 115673712
|
jays/pose/jay-pose.py
ADDED
|
@@ -0,0 +1,1199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
auto_scale_lr = dict(base_batch_size=512)
|
| 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 |
+
custom_hooks = [
|
| 15 |
+
dict(type='SyncBuffersHook'),
|
| 16 |
+
]
|
| 17 |
+
data_mode = 'topdown'
|
| 18 |
+
data_root = '/abyss/home/Datasets/JayDataset/Keypoints/images'
|
| 19 |
+
dataset_type = 'CocoDataset'
|
| 20 |
+
default_hooks = dict(
|
| 21 |
+
badcase=dict(
|
| 22 |
+
badcase_thr=5,
|
| 23 |
+
enable=False,
|
| 24 |
+
metric_type='loss',
|
| 25 |
+
out_dir='badcase',
|
| 26 |
+
type='BadCaseAnalysisHook'),
|
| 27 |
+
checkpoint=dict(
|
| 28 |
+
interval=5, rule='greater', save_best='PCK', type='CheckpointHook'),
|
| 29 |
+
logger=dict(interval=50, type='LoggerHook'),
|
| 30 |
+
param_scheduler=dict(type='ParamSchedulerHook'),
|
| 31 |
+
sampler_seed=dict(type='DistSamplerSeedHook'),
|
| 32 |
+
timer=dict(type='IterTimerHook'),
|
| 33 |
+
visualization=dict(enable=False, type='PoseVisualizationHook'))
|
| 34 |
+
default_scope = 'mmpose'
|
| 35 |
+
env_cfg = dict(
|
| 36 |
+
cudnn_benchmark=False,
|
| 37 |
+
dist_cfg=dict(backend='nccl'),
|
| 38 |
+
mp_cfg=dict(mp_start_method='fork', opencv_num_threads=0))
|
| 39 |
+
load_from = None
|
| 40 |
+
log_level = 'INFO'
|
| 41 |
+
log_processor = dict(
|
| 42 |
+
by_epoch=True, num_digits=6, type='LogProcessor', window_size=50)
|
| 43 |
+
model = dict(
|
| 44 |
+
backbone=dict(
|
| 45 |
+
extra=dict(
|
| 46 |
+
stage1=dict(
|
| 47 |
+
block='BOTTLENECK',
|
| 48 |
+
num_blocks=(4, ),
|
| 49 |
+
num_branches=1,
|
| 50 |
+
num_channels=(64, ),
|
| 51 |
+
num_modules=1),
|
| 52 |
+
stage2=dict(
|
| 53 |
+
block='BASIC',
|
| 54 |
+
num_blocks=(
|
| 55 |
+
4,
|
| 56 |
+
4,
|
| 57 |
+
),
|
| 58 |
+
num_branches=2,
|
| 59 |
+
num_channels=(
|
| 60 |
+
32,
|
| 61 |
+
64,
|
| 62 |
+
),
|
| 63 |
+
num_modules=1),
|
| 64 |
+
stage3=dict(
|
| 65 |
+
block='BASIC',
|
| 66 |
+
num_blocks=(
|
| 67 |
+
4,
|
| 68 |
+
4,
|
| 69 |
+
4,
|
| 70 |
+
),
|
| 71 |
+
num_branches=3,
|
| 72 |
+
num_channels=(
|
| 73 |
+
32,
|
| 74 |
+
64,
|
| 75 |
+
128,
|
| 76 |
+
),
|
| 77 |
+
num_modules=4),
|
| 78 |
+
stage4=dict(
|
| 79 |
+
block='BASIC',
|
| 80 |
+
num_blocks=(
|
| 81 |
+
4,
|
| 82 |
+
4,
|
| 83 |
+
4,
|
| 84 |
+
4,
|
| 85 |
+
),
|
| 86 |
+
num_branches=4,
|
| 87 |
+
num_channels=(
|
| 88 |
+
32,
|
| 89 |
+
64,
|
| 90 |
+
128,
|
| 91 |
+
256,
|
| 92 |
+
),
|
| 93 |
+
num_modules=3)),
|
| 94 |
+
in_channels=3,
|
| 95 |
+
init_cfg=dict(
|
| 96 |
+
checkpoint=
|
| 97 |
+
'https://download.openmmlab.com/mmpose/pretrain_models/hrnet_w32-36af842e.pth',
|
| 98 |
+
type='Pretrained'),
|
| 99 |
+
type='HRNet'),
|
| 100 |
+
data_preprocessor=dict(
|
| 101 |
+
bgr_to_rgb=True,
|
| 102 |
+
mean=[
|
| 103 |
+
123.675,
|
| 104 |
+
116.28,
|
| 105 |
+
103.53,
|
| 106 |
+
],
|
| 107 |
+
std=[
|
| 108 |
+
58.395,
|
| 109 |
+
57.12,
|
| 110 |
+
57.375,
|
| 111 |
+
],
|
| 112 |
+
type='PoseDataPreprocessor'),
|
| 113 |
+
head=dict(
|
| 114 |
+
decoder=dict(
|
| 115 |
+
heatmap_size=(
|
| 116 |
+
64,
|
| 117 |
+
64,
|
| 118 |
+
),
|
| 119 |
+
input_size=(
|
| 120 |
+
256,
|
| 121 |
+
256,
|
| 122 |
+
),
|
| 123 |
+
sigma=2,
|
| 124 |
+
type='MSRAHeatmap'),
|
| 125 |
+
deconv_out_channels=None,
|
| 126 |
+
in_channels=32,
|
| 127 |
+
loss=dict(type='KeypointMSELoss', use_target_weight=True),
|
| 128 |
+
out_channels=13,
|
| 129 |
+
type='HeatmapHead'),
|
| 130 |
+
test_cfg=dict(flip_mode='heatmap', flip_test=True, shift_heatmap=True),
|
| 131 |
+
type='TopdownPoseEstimator')
|
| 132 |
+
optim_wrapper = dict(optimizer=dict(lr=0.0005, type='AdamW'))
|
| 133 |
+
param_scheduler = [
|
| 134 |
+
dict(
|
| 135 |
+
begin=0, by_epoch=False, end=500, start_factor=0.001, type='LinearLR'),
|
| 136 |
+
dict(
|
| 137 |
+
begin=0,
|
| 138 |
+
by_epoch=True,
|
| 139 |
+
end=210,
|
| 140 |
+
gamma=0.1,
|
| 141 |
+
milestones=[
|
| 142 |
+
170,
|
| 143 |
+
200,
|
| 144 |
+
],
|
| 145 |
+
type='MultiStepLR'),
|
| 146 |
+
]
|
| 147 |
+
resume = False
|
| 148 |
+
test_cfg = dict()
|
| 149 |
+
test_dataloader = dict(
|
| 150 |
+
batch_size=16,
|
| 151 |
+
dataset=dict(
|
| 152 |
+
ann_file=
|
| 153 |
+
'/abyss/home/Datasets/JayDataset/Keypoints/Keypoints2D/train.json',
|
| 154 |
+
bbox_file=None,
|
| 155 |
+
data_mode='topdown',
|
| 156 |
+
data_prefix=dict(img=''),
|
| 157 |
+
data_root='/abyss/home/Datasets/JayDataset/Keypoints/images',
|
| 158 |
+
metainfo=dict(
|
| 159 |
+
dataset_name='coco',
|
| 160 |
+
joint_weights=[
|
| 161 |
+
1.0,
|
| 162 |
+
1.0,
|
| 163 |
+
1.0,
|
| 164 |
+
1.0,
|
| 165 |
+
1.0,
|
| 166 |
+
1.0,
|
| 167 |
+
1.0,
|
| 168 |
+
1.0,
|
| 169 |
+
1.0,
|
| 170 |
+
1.0,
|
| 171 |
+
1.0,
|
| 172 |
+
1.0,
|
| 173 |
+
1.0,
|
| 174 |
+
],
|
| 175 |
+
keypoint_info=dict({
|
| 176 |
+
0:
|
| 177 |
+
dict(color=[
|
| 178 |
+
255,
|
| 179 |
+
0,
|
| 180 |
+
0,
|
| 181 |
+
], id=0, name='hd_bill_tip', swap=''),
|
| 182 |
+
1:
|
| 183 |
+
dict(
|
| 184 |
+
color=[
|
| 185 |
+
255,
|
| 186 |
+
0,
|
| 187 |
+
0,
|
| 188 |
+
],
|
| 189 |
+
id=1,
|
| 190 |
+
name='hd_bill_tiplower',
|
| 191 |
+
swap=''),
|
| 192 |
+
10:
|
| 193 |
+
dict(
|
| 194 |
+
color=[
|
| 195 |
+
255,
|
| 196 |
+
0,
|
| 197 |
+
0,
|
| 198 |
+
],
|
| 199 |
+
id=10,
|
| 200 |
+
name='bd_feet_right',
|
| 201 |
+
swap='bd_feet_left'),
|
| 202 |
+
11:
|
| 203 |
+
dict(color=[
|
| 204 |
+
255,
|
| 205 |
+
0,
|
| 206 |
+
0,
|
| 207 |
+
], id=11, name='bd_tail_base', swap=''),
|
| 208 |
+
12:
|
| 209 |
+
dict(color=[
|
| 210 |
+
255,
|
| 211 |
+
0,
|
| 212 |
+
0,
|
| 213 |
+
], id=12, name='bd_tail_tip', swap=''),
|
| 214 |
+
2:
|
| 215 |
+
dict(
|
| 216 |
+
color=[
|
| 217 |
+
255,
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
],
|
| 221 |
+
id=2,
|
| 222 |
+
name='hd_eye_left',
|
| 223 |
+
swap='hd_eye_right'),
|
| 224 |
+
3:
|
| 225 |
+
dict(
|
| 226 |
+
color=[
|
| 227 |
+
255,
|
| 228 |
+
0,
|
| 229 |
+
0,
|
| 230 |
+
],
|
| 231 |
+
id=3,
|
| 232 |
+
name='hd_eye_right',
|
| 233 |
+
swap='hd_eye_left'),
|
| 234 |
+
4:
|
| 235 |
+
dict(color=[
|
| 236 |
+
255,
|
| 237 |
+
0,
|
| 238 |
+
0,
|
| 239 |
+
], id=4, name='hd_bill_base', swap=''),
|
| 240 |
+
5:
|
| 241 |
+
dict(
|
| 242 |
+
color=[
|
| 243 |
+
255,
|
| 244 |
+
0,
|
| 245 |
+
0,
|
| 246 |
+
],
|
| 247 |
+
id=5,
|
| 248 |
+
name='bd_shoulder_left',
|
| 249 |
+
swap='bd_shoulder_right'),
|
| 250 |
+
6:
|
| 251 |
+
dict(
|
| 252 |
+
color=[
|
| 253 |
+
255,
|
| 254 |
+
0,
|
| 255 |
+
0,
|
| 256 |
+
],
|
| 257 |
+
id=6,
|
| 258 |
+
name='bd_shoulder_right',
|
| 259 |
+
swap='bd_shoulder_left'),
|
| 260 |
+
7:
|
| 261 |
+
dict(
|
| 262 |
+
color=[
|
| 263 |
+
255,
|
| 264 |
+
0,
|
| 265 |
+
0,
|
| 266 |
+
],
|
| 267 |
+
id=7,
|
| 268 |
+
name='bd_ankle_left',
|
| 269 |
+
swap='bd_ankle_right'),
|
| 270 |
+
8:
|
| 271 |
+
dict(
|
| 272 |
+
color=[
|
| 273 |
+
255,
|
| 274 |
+
0,
|
| 275 |
+
0,
|
| 276 |
+
],
|
| 277 |
+
id=8,
|
| 278 |
+
name='bd_ankle_right',
|
| 279 |
+
swap='bd_ankle_left'),
|
| 280 |
+
9:
|
| 281 |
+
dict(
|
| 282 |
+
color=[
|
| 283 |
+
255,
|
| 284 |
+
0,
|
| 285 |
+
0,
|
| 286 |
+
],
|
| 287 |
+
id=9,
|
| 288 |
+
name='bd_feet_left',
|
| 289 |
+
swap='bd_feet_right')
|
| 290 |
+
}),
|
| 291 |
+
sigmas=[
|
| 292 |
+
0.025,
|
| 293 |
+
0.025,
|
| 294 |
+
0.025,
|
| 295 |
+
0.025,
|
| 296 |
+
0.025,
|
| 297 |
+
0.025,
|
| 298 |
+
0.025,
|
| 299 |
+
0.025,
|
| 300 |
+
0.025,
|
| 301 |
+
0.025,
|
| 302 |
+
0.025,
|
| 303 |
+
0.025,
|
| 304 |
+
0.025,
|
| 305 |
+
],
|
| 306 |
+
skeleton_info=dict({
|
| 307 |
+
0:
|
| 308 |
+
dict(
|
| 309 |
+
color=[
|
| 310 |
+
255,
|
| 311 |
+
0,
|
| 312 |
+
0,
|
| 313 |
+
],
|
| 314 |
+
link=(
|
| 315 |
+
'hd_bill_tip',
|
| 316 |
+
'hd_bill_base',
|
| 317 |
+
)),
|
| 318 |
+
1:
|
| 319 |
+
dict(
|
| 320 |
+
color=[
|
| 321 |
+
255,
|
| 322 |
+
0,
|
| 323 |
+
0,
|
| 324 |
+
],
|
| 325 |
+
link=(
|
| 326 |
+
'hd_bill_base',
|
| 327 |
+
'hd_eye_left',
|
| 328 |
+
)),
|
| 329 |
+
10:
|
| 330 |
+
dict(
|
| 331 |
+
color=[
|
| 332 |
+
255,
|
| 333 |
+
0,
|
| 334 |
+
0,
|
| 335 |
+
],
|
| 336 |
+
link=(
|
| 337 |
+
'bd_ankle_right',
|
| 338 |
+
'bd_tail_base',
|
| 339 |
+
)),
|
| 340 |
+
11:
|
| 341 |
+
dict(
|
| 342 |
+
color=[
|
| 343 |
+
255,
|
| 344 |
+
0,
|
| 345 |
+
0,
|
| 346 |
+
],
|
| 347 |
+
link=(
|
| 348 |
+
'bd_shoulder_left',
|
| 349 |
+
'bd_tail_base',
|
| 350 |
+
)),
|
| 351 |
+
12:
|
| 352 |
+
dict(
|
| 353 |
+
color=[
|
| 354 |
+
255,
|
| 355 |
+
0,
|
| 356 |
+
0,
|
| 357 |
+
],
|
| 358 |
+
link=(
|
| 359 |
+
'bd_shoulder_right',
|
| 360 |
+
'bd_tail_base',
|
| 361 |
+
)),
|
| 362 |
+
13:
|
| 363 |
+
dict(
|
| 364 |
+
color=[
|
| 365 |
+
255,
|
| 366 |
+
0,
|
| 367 |
+
0,
|
| 368 |
+
],
|
| 369 |
+
link=(
|
| 370 |
+
'bd_tail_base',
|
| 371 |
+
'bd_tail_tip',
|
| 372 |
+
)),
|
| 373 |
+
2:
|
| 374 |
+
dict(
|
| 375 |
+
color=[
|
| 376 |
+
255,
|
| 377 |
+
0,
|
| 378 |
+
0,
|
| 379 |
+
],
|
| 380 |
+
link=(
|
| 381 |
+
'hd_bill_base',
|
| 382 |
+
'hd_eye_right',
|
| 383 |
+
)),
|
| 384 |
+
3:
|
| 385 |
+
dict(
|
| 386 |
+
color=[
|
| 387 |
+
255,
|
| 388 |
+
0,
|
| 389 |
+
0,
|
| 390 |
+
],
|
| 391 |
+
link=(
|
| 392 |
+
'hd_eye_left',
|
| 393 |
+
'hd_eye_right',
|
| 394 |
+
)),
|
| 395 |
+
4:
|
| 396 |
+
dict(
|
| 397 |
+
color=[
|
| 398 |
+
255,
|
| 399 |
+
0,
|
| 400 |
+
0,
|
| 401 |
+
],
|
| 402 |
+
link=(
|
| 403 |
+
'bd_shoulder_left',
|
| 404 |
+
'bd_shoulder_right',
|
| 405 |
+
)),
|
| 406 |
+
5:
|
| 407 |
+
dict(
|
| 408 |
+
color=[
|
| 409 |
+
255,
|
| 410 |
+
0,
|
| 411 |
+
0,
|
| 412 |
+
],
|
| 413 |
+
link=(
|
| 414 |
+
'bd_shoulder_left',
|
| 415 |
+
'bd_ankle_left',
|
| 416 |
+
)),
|
| 417 |
+
6:
|
| 418 |
+
dict(
|
| 419 |
+
color=[
|
| 420 |
+
255,
|
| 421 |
+
0,
|
| 422 |
+
0,
|
| 423 |
+
],
|
| 424 |
+
link=(
|
| 425 |
+
'bd_shoulder_right',
|
| 426 |
+
'bd_ankle_right',
|
| 427 |
+
)),
|
| 428 |
+
7:
|
| 429 |
+
dict(
|
| 430 |
+
color=[
|
| 431 |
+
255,
|
| 432 |
+
0,
|
| 433 |
+
0,
|
| 434 |
+
],
|
| 435 |
+
link=(
|
| 436 |
+
'bd_ankle_left',
|
| 437 |
+
'bd_feet_left',
|
| 438 |
+
)),
|
| 439 |
+
8:
|
| 440 |
+
dict(
|
| 441 |
+
color=[
|
| 442 |
+
255,
|
| 443 |
+
0,
|
| 444 |
+
0,
|
| 445 |
+
],
|
| 446 |
+
link=(
|
| 447 |
+
'bd_ankle_right',
|
| 448 |
+
'bd_feet_right',
|
| 449 |
+
)),
|
| 450 |
+
9:
|
| 451 |
+
dict(
|
| 452 |
+
color=[
|
| 453 |
+
255,
|
| 454 |
+
0,
|
| 455 |
+
0,
|
| 456 |
+
],
|
| 457 |
+
link=(
|
| 458 |
+
'bd_ankle_left',
|
| 459 |
+
'bd_tail_base',
|
| 460 |
+
))
|
| 461 |
+
})),
|
| 462 |
+
pipeline=[
|
| 463 |
+
dict(type='LoadImage'),
|
| 464 |
+
dict(type='GetBBoxCenterScale'),
|
| 465 |
+
dict(input_size=(
|
| 466 |
+
256,
|
| 467 |
+
256,
|
| 468 |
+
), type='TopdownAffine'),
|
| 469 |
+
dict(type='PackPoseInputs'),
|
| 470 |
+
],
|
| 471 |
+
test_mode=True,
|
| 472 |
+
type='CocoDataset'),
|
| 473 |
+
drop_last=False,
|
| 474 |
+
num_workers=0,
|
| 475 |
+
persistent_workers=False,
|
| 476 |
+
sampler=dict(round_up=False, shuffle=False, type='DefaultSampler'))
|
| 477 |
+
test_evaluator = [
|
| 478 |
+
dict(thr=0.05, type='PCKAccuracy'),
|
| 479 |
+
dict(type='AUC'),
|
| 480 |
+
]
|
| 481 |
+
train_cfg = dict(by_epoch=True, max_epochs=100, val_interval=5)
|
| 482 |
+
train_dataloader = dict(
|
| 483 |
+
batch_size=16,
|
| 484 |
+
dataset=dict(
|
| 485 |
+
ann_file=
|
| 486 |
+
'/abyss/home/Datasets/JayDataset/Keypoints/Keypoints2D/train.json',
|
| 487 |
+
data_mode='topdown',
|
| 488 |
+
data_prefix=dict(img=''),
|
| 489 |
+
data_root='/abyss/home/Datasets/JayDataset/Keypoints/images',
|
| 490 |
+
metainfo=dict(
|
| 491 |
+
dataset_name='coco',
|
| 492 |
+
joint_weights=[
|
| 493 |
+
1.0,
|
| 494 |
+
1.0,
|
| 495 |
+
1.0,
|
| 496 |
+
1.0,
|
| 497 |
+
1.0,
|
| 498 |
+
1.0,
|
| 499 |
+
1.0,
|
| 500 |
+
1.0,
|
| 501 |
+
1.0,
|
| 502 |
+
1.0,
|
| 503 |
+
1.0,
|
| 504 |
+
1.0,
|
| 505 |
+
1.0,
|
| 506 |
+
],
|
| 507 |
+
keypoint_info=dict({
|
| 508 |
+
0:
|
| 509 |
+
dict(color=[
|
| 510 |
+
255,
|
| 511 |
+
0,
|
| 512 |
+
0,
|
| 513 |
+
], id=0, name='hd_bill_tip', swap=''),
|
| 514 |
+
1:
|
| 515 |
+
dict(
|
| 516 |
+
color=[
|
| 517 |
+
255,
|
| 518 |
+
0,
|
| 519 |
+
0,
|
| 520 |
+
],
|
| 521 |
+
id=1,
|
| 522 |
+
name='hd_bill_tiplower',
|
| 523 |
+
swap=''),
|
| 524 |
+
10:
|
| 525 |
+
dict(
|
| 526 |
+
color=[
|
| 527 |
+
255,
|
| 528 |
+
0,
|
| 529 |
+
0,
|
| 530 |
+
],
|
| 531 |
+
id=10,
|
| 532 |
+
name='bd_feet_right',
|
| 533 |
+
swap='bd_feet_left'),
|
| 534 |
+
11:
|
| 535 |
+
dict(color=[
|
| 536 |
+
255,
|
| 537 |
+
0,
|
| 538 |
+
0,
|
| 539 |
+
], id=11, name='bd_tail_base', swap=''),
|
| 540 |
+
12:
|
| 541 |
+
dict(color=[
|
| 542 |
+
255,
|
| 543 |
+
0,
|
| 544 |
+
0,
|
| 545 |
+
], id=12, name='bd_tail_tip', swap=''),
|
| 546 |
+
2:
|
| 547 |
+
dict(
|
| 548 |
+
color=[
|
| 549 |
+
255,
|
| 550 |
+
0,
|
| 551 |
+
0,
|
| 552 |
+
],
|
| 553 |
+
id=2,
|
| 554 |
+
name='hd_eye_left',
|
| 555 |
+
swap='hd_eye_right'),
|
| 556 |
+
3:
|
| 557 |
+
dict(
|
| 558 |
+
color=[
|
| 559 |
+
255,
|
| 560 |
+
0,
|
| 561 |
+
0,
|
| 562 |
+
],
|
| 563 |
+
id=3,
|
| 564 |
+
name='hd_eye_right',
|
| 565 |
+
swap='hd_eye_left'),
|
| 566 |
+
4:
|
| 567 |
+
dict(color=[
|
| 568 |
+
255,
|
| 569 |
+
0,
|
| 570 |
+
0,
|
| 571 |
+
], id=4, name='hd_bill_base', swap=''),
|
| 572 |
+
5:
|
| 573 |
+
dict(
|
| 574 |
+
color=[
|
| 575 |
+
255,
|
| 576 |
+
0,
|
| 577 |
+
0,
|
| 578 |
+
],
|
| 579 |
+
id=5,
|
| 580 |
+
name='bd_shoulder_left',
|
| 581 |
+
swap='bd_shoulder_right'),
|
| 582 |
+
6:
|
| 583 |
+
dict(
|
| 584 |
+
color=[
|
| 585 |
+
255,
|
| 586 |
+
0,
|
| 587 |
+
0,
|
| 588 |
+
],
|
| 589 |
+
id=6,
|
| 590 |
+
name='bd_shoulder_right',
|
| 591 |
+
swap='bd_shoulder_left'),
|
| 592 |
+
7:
|
| 593 |
+
dict(
|
| 594 |
+
color=[
|
| 595 |
+
255,
|
| 596 |
+
0,
|
| 597 |
+
0,
|
| 598 |
+
],
|
| 599 |
+
id=7,
|
| 600 |
+
name='bd_ankle_left',
|
| 601 |
+
swap='bd_ankle_right'),
|
| 602 |
+
8:
|
| 603 |
+
dict(
|
| 604 |
+
color=[
|
| 605 |
+
255,
|
| 606 |
+
0,
|
| 607 |
+
0,
|
| 608 |
+
],
|
| 609 |
+
id=8,
|
| 610 |
+
name='bd_ankle_right',
|
| 611 |
+
swap='bd_ankle_left'),
|
| 612 |
+
9:
|
| 613 |
+
dict(
|
| 614 |
+
color=[
|
| 615 |
+
255,
|
| 616 |
+
0,
|
| 617 |
+
0,
|
| 618 |
+
],
|
| 619 |
+
id=9,
|
| 620 |
+
name='bd_feet_left',
|
| 621 |
+
swap='bd_feet_right')
|
| 622 |
+
}),
|
| 623 |
+
sigmas=[
|
| 624 |
+
0.025,
|
| 625 |
+
0.025,
|
| 626 |
+
0.025,
|
| 627 |
+
0.025,
|
| 628 |
+
0.025,
|
| 629 |
+
0.025,
|
| 630 |
+
0.025,
|
| 631 |
+
0.025,
|
| 632 |
+
0.025,
|
| 633 |
+
0.025,
|
| 634 |
+
0.025,
|
| 635 |
+
0.025,
|
| 636 |
+
0.025,
|
| 637 |
+
],
|
| 638 |
+
skeleton_info=dict({
|
| 639 |
+
0:
|
| 640 |
+
dict(
|
| 641 |
+
color=[
|
| 642 |
+
255,
|
| 643 |
+
0,
|
| 644 |
+
0,
|
| 645 |
+
],
|
| 646 |
+
link=(
|
| 647 |
+
'hd_bill_tip',
|
| 648 |
+
'hd_bill_base',
|
| 649 |
+
)),
|
| 650 |
+
1:
|
| 651 |
+
dict(
|
| 652 |
+
color=[
|
| 653 |
+
255,
|
| 654 |
+
0,
|
| 655 |
+
0,
|
| 656 |
+
],
|
| 657 |
+
link=(
|
| 658 |
+
'hd_bill_base',
|
| 659 |
+
'hd_eye_left',
|
| 660 |
+
)),
|
| 661 |
+
10:
|
| 662 |
+
dict(
|
| 663 |
+
color=[
|
| 664 |
+
255,
|
| 665 |
+
0,
|
| 666 |
+
0,
|
| 667 |
+
],
|
| 668 |
+
link=(
|
| 669 |
+
'bd_ankle_right',
|
| 670 |
+
'bd_tail_base',
|
| 671 |
+
)),
|
| 672 |
+
11:
|
| 673 |
+
dict(
|
| 674 |
+
color=[
|
| 675 |
+
255,
|
| 676 |
+
0,
|
| 677 |
+
0,
|
| 678 |
+
],
|
| 679 |
+
link=(
|
| 680 |
+
'bd_shoulder_left',
|
| 681 |
+
'bd_tail_base',
|
| 682 |
+
)),
|
| 683 |
+
12:
|
| 684 |
+
dict(
|
| 685 |
+
color=[
|
| 686 |
+
255,
|
| 687 |
+
0,
|
| 688 |
+
0,
|
| 689 |
+
],
|
| 690 |
+
link=(
|
| 691 |
+
'bd_shoulder_right',
|
| 692 |
+
'bd_tail_base',
|
| 693 |
+
)),
|
| 694 |
+
13:
|
| 695 |
+
dict(
|
| 696 |
+
color=[
|
| 697 |
+
255,
|
| 698 |
+
0,
|
| 699 |
+
0,
|
| 700 |
+
],
|
| 701 |
+
link=(
|
| 702 |
+
'bd_tail_base',
|
| 703 |
+
'bd_tail_tip',
|
| 704 |
+
)),
|
| 705 |
+
2:
|
| 706 |
+
dict(
|
| 707 |
+
color=[
|
| 708 |
+
255,
|
| 709 |
+
0,
|
| 710 |
+
0,
|
| 711 |
+
],
|
| 712 |
+
link=(
|
| 713 |
+
'hd_bill_base',
|
| 714 |
+
'hd_eye_right',
|
| 715 |
+
)),
|
| 716 |
+
3:
|
| 717 |
+
dict(
|
| 718 |
+
color=[
|
| 719 |
+
255,
|
| 720 |
+
0,
|
| 721 |
+
0,
|
| 722 |
+
],
|
| 723 |
+
link=(
|
| 724 |
+
'hd_eye_left',
|
| 725 |
+
'hd_eye_right',
|
| 726 |
+
)),
|
| 727 |
+
4:
|
| 728 |
+
dict(
|
| 729 |
+
color=[
|
| 730 |
+
255,
|
| 731 |
+
0,
|
| 732 |
+
0,
|
| 733 |
+
],
|
| 734 |
+
link=(
|
| 735 |
+
'bd_shoulder_left',
|
| 736 |
+
'bd_shoulder_right',
|
| 737 |
+
)),
|
| 738 |
+
5:
|
| 739 |
+
dict(
|
| 740 |
+
color=[
|
| 741 |
+
255,
|
| 742 |
+
0,
|
| 743 |
+
0,
|
| 744 |
+
],
|
| 745 |
+
link=(
|
| 746 |
+
'bd_shoulder_left',
|
| 747 |
+
'bd_ankle_left',
|
| 748 |
+
)),
|
| 749 |
+
6:
|
| 750 |
+
dict(
|
| 751 |
+
color=[
|
| 752 |
+
255,
|
| 753 |
+
0,
|
| 754 |
+
0,
|
| 755 |
+
],
|
| 756 |
+
link=(
|
| 757 |
+
'bd_shoulder_right',
|
| 758 |
+
'bd_ankle_right',
|
| 759 |
+
)),
|
| 760 |
+
7:
|
| 761 |
+
dict(
|
| 762 |
+
color=[
|
| 763 |
+
255,
|
| 764 |
+
0,
|
| 765 |
+
0,
|
| 766 |
+
],
|
| 767 |
+
link=(
|
| 768 |
+
'bd_ankle_left',
|
| 769 |
+
'bd_feet_left',
|
| 770 |
+
)),
|
| 771 |
+
8:
|
| 772 |
+
dict(
|
| 773 |
+
color=[
|
| 774 |
+
255,
|
| 775 |
+
0,
|
| 776 |
+
0,
|
| 777 |
+
],
|
| 778 |
+
link=(
|
| 779 |
+
'bd_ankle_right',
|
| 780 |
+
'bd_feet_right',
|
| 781 |
+
)),
|
| 782 |
+
9:
|
| 783 |
+
dict(
|
| 784 |
+
color=[
|
| 785 |
+
255,
|
| 786 |
+
0,
|
| 787 |
+
0,
|
| 788 |
+
],
|
| 789 |
+
link=(
|
| 790 |
+
'bd_ankle_left',
|
| 791 |
+
'bd_tail_base',
|
| 792 |
+
))
|
| 793 |
+
})),
|
| 794 |
+
pipeline=[
|
| 795 |
+
dict(type='LoadImage'),
|
| 796 |
+
dict(type='GetBBoxCenterScale'),
|
| 797 |
+
dict(direction='horizontal', type='RandomFlip'),
|
| 798 |
+
dict(type='RandomHalfBody'),
|
| 799 |
+
dict(type='RandomBBoxTransform'),
|
| 800 |
+
dict(input_size=(
|
| 801 |
+
256,
|
| 802 |
+
256,
|
| 803 |
+
), type='TopdownAffine'),
|
| 804 |
+
dict(
|
| 805 |
+
encoder=dict(
|
| 806 |
+
heatmap_size=(
|
| 807 |
+
64,
|
| 808 |
+
64,
|
| 809 |
+
),
|
| 810 |
+
input_size=(
|
| 811 |
+
256,
|
| 812 |
+
256,
|
| 813 |
+
),
|
| 814 |
+
sigma=2,
|
| 815 |
+
type='MSRAHeatmap'),
|
| 816 |
+
type='GenerateTarget'),
|
| 817 |
+
dict(type='PackPoseInputs'),
|
| 818 |
+
],
|
| 819 |
+
type='CocoDataset'),
|
| 820 |
+
num_workers=0,
|
| 821 |
+
persistent_workers=False,
|
| 822 |
+
sampler=dict(shuffle=True, type='DefaultSampler'))
|
| 823 |
+
train_pipeline = [
|
| 824 |
+
dict(type='LoadImage'),
|
| 825 |
+
dict(type='GetBBoxCenterScale'),
|
| 826 |
+
dict(direction='horizontal', type='RandomFlip'),
|
| 827 |
+
dict(type='RandomHalfBody'),
|
| 828 |
+
dict(type='RandomBBoxTransform'),
|
| 829 |
+
dict(input_size=(
|
| 830 |
+
256,
|
| 831 |
+
256,
|
| 832 |
+
), type='TopdownAffine'),
|
| 833 |
+
dict(
|
| 834 |
+
encoder=dict(
|
| 835 |
+
heatmap_size=(
|
| 836 |
+
64,
|
| 837 |
+
64,
|
| 838 |
+
),
|
| 839 |
+
input_size=(
|
| 840 |
+
256,
|
| 841 |
+
256,
|
| 842 |
+
),
|
| 843 |
+
sigma=2,
|
| 844 |
+
type='MSRAHeatmap'),
|
| 845 |
+
type='GenerateTarget'),
|
| 846 |
+
dict(type='PackPoseInputs'),
|
| 847 |
+
]
|
| 848 |
+
val_cfg = dict()
|
| 849 |
+
val_dataloader = dict(
|
| 850 |
+
batch_size=16,
|
| 851 |
+
dataset=dict(
|
| 852 |
+
ann_file=
|
| 853 |
+
'/abyss/home/Datasets/JayDataset/Keypoints/Keypoints2D/train.json',
|
| 854 |
+
bbox_file=None,
|
| 855 |
+
data_mode='topdown',
|
| 856 |
+
data_prefix=dict(img=''),
|
| 857 |
+
data_root='/abyss/home/Datasets/JayDataset/Keypoints/images',
|
| 858 |
+
metainfo=dict(
|
| 859 |
+
dataset_name='coco',
|
| 860 |
+
joint_weights=[
|
| 861 |
+
1.0,
|
| 862 |
+
1.0,
|
| 863 |
+
1.0,
|
| 864 |
+
1.0,
|
| 865 |
+
1.0,
|
| 866 |
+
1.0,
|
| 867 |
+
1.0,
|
| 868 |
+
1.0,
|
| 869 |
+
1.0,
|
| 870 |
+
1.0,
|
| 871 |
+
1.0,
|
| 872 |
+
1.0,
|
| 873 |
+
1.0,
|
| 874 |
+
],
|
| 875 |
+
keypoint_info=dict({
|
| 876 |
+
0:
|
| 877 |
+
dict(color=[
|
| 878 |
+
255,
|
| 879 |
+
0,
|
| 880 |
+
0,
|
| 881 |
+
], id=0, name='hd_bill_tip', swap=''),
|
| 882 |
+
1:
|
| 883 |
+
dict(
|
| 884 |
+
color=[
|
| 885 |
+
255,
|
| 886 |
+
0,
|
| 887 |
+
0,
|
| 888 |
+
],
|
| 889 |
+
id=1,
|
| 890 |
+
name='hd_bill_tiplower',
|
| 891 |
+
swap=''),
|
| 892 |
+
10:
|
| 893 |
+
dict(
|
| 894 |
+
color=[
|
| 895 |
+
255,
|
| 896 |
+
0,
|
| 897 |
+
0,
|
| 898 |
+
],
|
| 899 |
+
id=10,
|
| 900 |
+
name='bd_feet_right',
|
| 901 |
+
swap='bd_feet_left'),
|
| 902 |
+
11:
|
| 903 |
+
dict(color=[
|
| 904 |
+
255,
|
| 905 |
+
0,
|
| 906 |
+
0,
|
| 907 |
+
], id=11, name='bd_tail_base', swap=''),
|
| 908 |
+
12:
|
| 909 |
+
dict(color=[
|
| 910 |
+
255,
|
| 911 |
+
0,
|
| 912 |
+
0,
|
| 913 |
+
], id=12, name='bd_tail_tip', swap=''),
|
| 914 |
+
2:
|
| 915 |
+
dict(
|
| 916 |
+
color=[
|
| 917 |
+
255,
|
| 918 |
+
0,
|
| 919 |
+
0,
|
| 920 |
+
],
|
| 921 |
+
id=2,
|
| 922 |
+
name='hd_eye_left',
|
| 923 |
+
swap='hd_eye_right'),
|
| 924 |
+
3:
|
| 925 |
+
dict(
|
| 926 |
+
color=[
|
| 927 |
+
255,
|
| 928 |
+
0,
|
| 929 |
+
0,
|
| 930 |
+
],
|
| 931 |
+
id=3,
|
| 932 |
+
name='hd_eye_right',
|
| 933 |
+
swap='hd_eye_left'),
|
| 934 |
+
4:
|
| 935 |
+
dict(color=[
|
| 936 |
+
255,
|
| 937 |
+
0,
|
| 938 |
+
0,
|
| 939 |
+
], id=4, name='hd_bill_base', swap=''),
|
| 940 |
+
5:
|
| 941 |
+
dict(
|
| 942 |
+
color=[
|
| 943 |
+
255,
|
| 944 |
+
0,
|
| 945 |
+
0,
|
| 946 |
+
],
|
| 947 |
+
id=5,
|
| 948 |
+
name='bd_shoulder_left',
|
| 949 |
+
swap='bd_shoulder_right'),
|
| 950 |
+
6:
|
| 951 |
+
dict(
|
| 952 |
+
color=[
|
| 953 |
+
255,
|
| 954 |
+
0,
|
| 955 |
+
0,
|
| 956 |
+
],
|
| 957 |
+
id=6,
|
| 958 |
+
name='bd_shoulder_right',
|
| 959 |
+
swap='bd_shoulder_left'),
|
| 960 |
+
7:
|
| 961 |
+
dict(
|
| 962 |
+
color=[
|
| 963 |
+
255,
|
| 964 |
+
0,
|
| 965 |
+
0,
|
| 966 |
+
],
|
| 967 |
+
id=7,
|
| 968 |
+
name='bd_ankle_left',
|
| 969 |
+
swap='bd_ankle_right'),
|
| 970 |
+
8:
|
| 971 |
+
dict(
|
| 972 |
+
color=[
|
| 973 |
+
255,
|
| 974 |
+
0,
|
| 975 |
+
0,
|
| 976 |
+
],
|
| 977 |
+
id=8,
|
| 978 |
+
name='bd_ankle_right',
|
| 979 |
+
swap='bd_ankle_left'),
|
| 980 |
+
9:
|
| 981 |
+
dict(
|
| 982 |
+
color=[
|
| 983 |
+
255,
|
| 984 |
+
0,
|
| 985 |
+
0,
|
| 986 |
+
],
|
| 987 |
+
id=9,
|
| 988 |
+
name='bd_feet_left',
|
| 989 |
+
swap='bd_feet_right')
|
| 990 |
+
}),
|
| 991 |
+
sigmas=[
|
| 992 |
+
0.025,
|
| 993 |
+
0.025,
|
| 994 |
+
0.025,
|
| 995 |
+
0.025,
|
| 996 |
+
0.025,
|
| 997 |
+
0.025,
|
| 998 |
+
0.025,
|
| 999 |
+
0.025,
|
| 1000 |
+
0.025,
|
| 1001 |
+
0.025,
|
| 1002 |
+
0.025,
|
| 1003 |
+
0.025,
|
| 1004 |
+
0.025,
|
| 1005 |
+
],
|
| 1006 |
+
skeleton_info=dict({
|
| 1007 |
+
0:
|
| 1008 |
+
dict(
|
| 1009 |
+
color=[
|
| 1010 |
+
255,
|
| 1011 |
+
0,
|
| 1012 |
+
0,
|
| 1013 |
+
],
|
| 1014 |
+
link=(
|
| 1015 |
+
'hd_bill_tip',
|
| 1016 |
+
'hd_bill_base',
|
| 1017 |
+
)),
|
| 1018 |
+
1:
|
| 1019 |
+
dict(
|
| 1020 |
+
color=[
|
| 1021 |
+
255,
|
| 1022 |
+
0,
|
| 1023 |
+
0,
|
| 1024 |
+
],
|
| 1025 |
+
link=(
|
| 1026 |
+
'hd_bill_base',
|
| 1027 |
+
'hd_eye_left',
|
| 1028 |
+
)),
|
| 1029 |
+
10:
|
| 1030 |
+
dict(
|
| 1031 |
+
color=[
|
| 1032 |
+
255,
|
| 1033 |
+
0,
|
| 1034 |
+
0,
|
| 1035 |
+
],
|
| 1036 |
+
link=(
|
| 1037 |
+
'bd_ankle_right',
|
| 1038 |
+
'bd_tail_base',
|
| 1039 |
+
)),
|
| 1040 |
+
11:
|
| 1041 |
+
dict(
|
| 1042 |
+
color=[
|
| 1043 |
+
255,
|
| 1044 |
+
0,
|
| 1045 |
+
0,
|
| 1046 |
+
],
|
| 1047 |
+
link=(
|
| 1048 |
+
'bd_shoulder_left',
|
| 1049 |
+
'bd_tail_base',
|
| 1050 |
+
)),
|
| 1051 |
+
12:
|
| 1052 |
+
dict(
|
| 1053 |
+
color=[
|
| 1054 |
+
255,
|
| 1055 |
+
0,
|
| 1056 |
+
0,
|
| 1057 |
+
],
|
| 1058 |
+
link=(
|
| 1059 |
+
'bd_shoulder_right',
|
| 1060 |
+
'bd_tail_base',
|
| 1061 |
+
)),
|
| 1062 |
+
13:
|
| 1063 |
+
dict(
|
| 1064 |
+
color=[
|
| 1065 |
+
255,
|
| 1066 |
+
0,
|
| 1067 |
+
0,
|
| 1068 |
+
],
|
| 1069 |
+
link=(
|
| 1070 |
+
'bd_tail_base',
|
| 1071 |
+
'bd_tail_tip',
|
| 1072 |
+
)),
|
| 1073 |
+
2:
|
| 1074 |
+
dict(
|
| 1075 |
+
color=[
|
| 1076 |
+
255,
|
| 1077 |
+
0,
|
| 1078 |
+
0,
|
| 1079 |
+
],
|
| 1080 |
+
link=(
|
| 1081 |
+
'hd_bill_base',
|
| 1082 |
+
'hd_eye_right',
|
| 1083 |
+
)),
|
| 1084 |
+
3:
|
| 1085 |
+
dict(
|
| 1086 |
+
color=[
|
| 1087 |
+
255,
|
| 1088 |
+
0,
|
| 1089 |
+
0,
|
| 1090 |
+
],
|
| 1091 |
+
link=(
|
| 1092 |
+
'hd_eye_left',
|
| 1093 |
+
'hd_eye_right',
|
| 1094 |
+
)),
|
| 1095 |
+
4:
|
| 1096 |
+
dict(
|
| 1097 |
+
color=[
|
| 1098 |
+
255,
|
| 1099 |
+
0,
|
| 1100 |
+
0,
|
| 1101 |
+
],
|
| 1102 |
+
link=(
|
| 1103 |
+
'bd_shoulder_left',
|
| 1104 |
+
'bd_shoulder_right',
|
| 1105 |
+
)),
|
| 1106 |
+
5:
|
| 1107 |
+
dict(
|
| 1108 |
+
color=[
|
| 1109 |
+
255,
|
| 1110 |
+
0,
|
| 1111 |
+
0,
|
| 1112 |
+
],
|
| 1113 |
+
link=(
|
| 1114 |
+
'bd_shoulder_left',
|
| 1115 |
+
'bd_ankle_left',
|
| 1116 |
+
)),
|
| 1117 |
+
6:
|
| 1118 |
+
dict(
|
| 1119 |
+
color=[
|
| 1120 |
+
255,
|
| 1121 |
+
0,
|
| 1122 |
+
0,
|
| 1123 |
+
],
|
| 1124 |
+
link=(
|
| 1125 |
+
'bd_shoulder_right',
|
| 1126 |
+
'bd_ankle_right',
|
| 1127 |
+
)),
|
| 1128 |
+
7:
|
| 1129 |
+
dict(
|
| 1130 |
+
color=[
|
| 1131 |
+
255,
|
| 1132 |
+
0,
|
| 1133 |
+
0,
|
| 1134 |
+
],
|
| 1135 |
+
link=(
|
| 1136 |
+
'bd_ankle_left',
|
| 1137 |
+
'bd_feet_left',
|
| 1138 |
+
)),
|
| 1139 |
+
8:
|
| 1140 |
+
dict(
|
| 1141 |
+
color=[
|
| 1142 |
+
255,
|
| 1143 |
+
0,
|
| 1144 |
+
0,
|
| 1145 |
+
],
|
| 1146 |
+
link=(
|
| 1147 |
+
'bd_ankle_right',
|
| 1148 |
+
'bd_feet_right',
|
| 1149 |
+
)),
|
| 1150 |
+
9:
|
| 1151 |
+
dict(
|
| 1152 |
+
color=[
|
| 1153 |
+
255,
|
| 1154 |
+
0,
|
| 1155 |
+
0,
|
| 1156 |
+
],
|
| 1157 |
+
link=(
|
| 1158 |
+
'bd_ankle_left',
|
| 1159 |
+
'bd_tail_base',
|
| 1160 |
+
))
|
| 1161 |
+
})),
|
| 1162 |
+
pipeline=[
|
| 1163 |
+
dict(type='LoadImage'),
|
| 1164 |
+
dict(type='GetBBoxCenterScale'),
|
| 1165 |
+
dict(input_size=(
|
| 1166 |
+
256,
|
| 1167 |
+
256,
|
| 1168 |
+
), type='TopdownAffine'),
|
| 1169 |
+
dict(type='PackPoseInputs'),
|
| 1170 |
+
],
|
| 1171 |
+
test_mode=True,
|
| 1172 |
+
type='CocoDataset'),
|
| 1173 |
+
drop_last=False,
|
| 1174 |
+
num_workers=0,
|
| 1175 |
+
persistent_workers=False,
|
| 1176 |
+
sampler=dict(round_up=False, shuffle=False, type='DefaultSampler'))
|
| 1177 |
+
val_evaluator = [
|
| 1178 |
+
dict(thr=0.05, type='PCKAccuracy'),
|
| 1179 |
+
dict(type='AUC'),
|
| 1180 |
+
]
|
| 1181 |
+
val_pipeline = [
|
| 1182 |
+
dict(type='LoadImage'),
|
| 1183 |
+
dict(type='GetBBoxCenterScale'),
|
| 1184 |
+
dict(input_size=(
|
| 1185 |
+
256,
|
| 1186 |
+
256,
|
| 1187 |
+
), type='TopdownAffine'),
|
| 1188 |
+
dict(type='PackPoseInputs'),
|
| 1189 |
+
]
|
| 1190 |
+
vis_backends = [
|
| 1191 |
+
dict(type='LocalVisBackend'),
|
| 1192 |
+
]
|
| 1193 |
+
visualizer = dict(
|
| 1194 |
+
name='visualizer',
|
| 1195 |
+
type='PoseLocalVisualizer',
|
| 1196 |
+
vis_backends=[
|
| 1197 |
+
dict(type='LocalVisBackend'),
|
| 1198 |
+
])
|
| 1199 |
+
work_dir = '/abyss/home/Datasets/JayDataset/Keypoints/Weights/hrnet'
|
jays/pose/metadata.json
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"model_id": "jay-pose",
|
| 4 |
+
"status": "draft",
|
| 5 |
+
"species": {
|
| 6 |
+
"group": "jays",
|
| 7 |
+
"common_name": "Siberian jays",
|
| 8 |
+
"scientific_name": null,
|
| 9 |
+
"covered_common_names": [
|
| 10 |
+
"Siberian jays"
|
| 11 |
+
],
|
| 12 |
+
"coverage_note": "Siberian jays, as reported by the model author.",
|
| 13 |
+
"coverage_source": "Model author, 2026-11-20"
|
| 14 |
+
},
|
| 15 |
+
"task": "keypoint-estimation",
|
| 16 |
+
"framework": "MMPose",
|
| 17 |
+
"architecture": "HRNet-W32",
|
| 18 |
+
"model_version": null,
|
| 19 |
+
"files": {
|
| 20 |
+
"weights": "jay-pose.pth",
|
| 21 |
+
"config": "jay-pose.py",
|
| 22 |
+
"additional": []
|
| 23 |
+
},
|
| 24 |
+
"class_names": [],
|
| 25 |
+
"keypoint_names": [
|
| 26 |
+
"hd_bill_tip",
|
| 27 |
+
"hd_bill_tiplower",
|
| 28 |
+
"hd_eye_left",
|
| 29 |
+
"hd_eye_right",
|
| 30 |
+
"hd_bill_base",
|
| 31 |
+
"bd_shoulder_left",
|
| 32 |
+
"bd_shoulder_right",
|
| 33 |
+
"bd_ankle_left",
|
| 34 |
+
"bd_ankle_right",
|
| 35 |
+
"bd_feet_left",
|
| 36 |
+
"bd_feet_right",
|
| 37 |
+
"bd_tail_base",
|
| 38 |
+
"bd_tail_tip"
|
| 39 |
+
],
|
| 40 |
+
"skeleton": [
|
| 41 |
+
[
|
| 42 |
+
"hd_bill_tip",
|
| 43 |
+
"hd_bill_base"
|
| 44 |
+
],
|
| 45 |
+
[
|
| 46 |
+
"hd_bill_base",
|
| 47 |
+
"hd_eye_left"
|
| 48 |
+
],
|
| 49 |
+
[
|
| 50 |
+
"hd_bill_base",
|
| 51 |
+
"hd_eye_right"
|
| 52 |
+
],
|
| 53 |
+
[
|
| 54 |
+
"hd_eye_left",
|
| 55 |
+
"hd_eye_right"
|
| 56 |
+
],
|
| 57 |
+
[
|
| 58 |
+
"bd_shoulder_left",
|
| 59 |
+
"bd_shoulder_right"
|
| 60 |
+
],
|
| 61 |
+
[
|
| 62 |
+
"bd_shoulder_left",
|
| 63 |
+
"bd_ankle_left"
|
| 64 |
+
],
|
| 65 |
+
[
|
| 66 |
+
"bd_shoulder_right",
|
| 67 |
+
"bd_ankle_right"
|
| 68 |
+
],
|
| 69 |
+
[
|
| 70 |
+
"bd_ankle_left",
|
| 71 |
+
"bd_feet_left"
|
| 72 |
+
],
|
| 73 |
+
[
|
| 74 |
+
"bd_ankle_right",
|
| 75 |
+
"bd_feet_right"
|
| 76 |
+
],
|
| 77 |
+
[
|
| 78 |
+
"bd_ankle_left",
|
| 79 |
+
"bd_tail_base"
|
| 80 |
+
],
|
| 81 |
+
[
|
| 82 |
+
"bd_ankle_right",
|
| 83 |
+
"bd_tail_base"
|
| 84 |
+
],
|
| 85 |
+
[
|
| 86 |
+
"bd_shoulder_left",
|
| 87 |
+
"bd_tail_base"
|
| 88 |
+
],
|
| 89 |
+
[
|
| 90 |
+
"bd_shoulder_right",
|
| 91 |
+
"bd_tail_base"
|
| 92 |
+
],
|
| 93 |
+
[
|
| 94 |
+
"bd_tail_base",
|
| 95 |
+
"bd_tail_tip"
|
| 96 |
+
]
|
| 97 |
+
],
|
| 98 |
+
"flip_pairs": [
|
| 99 |
+
[
|
| 100 |
+
"hd_eye_left",
|
| 101 |
+
"hd_eye_right"
|
| 102 |
+
],
|
| 103 |
+
[
|
| 104 |
+
"bd_shoulder_left",
|
| 105 |
+
"bd_shoulder_right"
|
| 106 |
+
],
|
| 107 |
+
[
|
| 108 |
+
"bd_ankle_left",
|
| 109 |
+
"bd_ankle_right"
|
| 110 |
+
],
|
| 111 |
+
[
|
| 112 |
+
"bd_feet_left",
|
| 113 |
+
"bd_feet_right"
|
| 114 |
+
]
|
| 115 |
+
],
|
| 116 |
+
"recommended_detector": "jay-detection",
|
| 117 |
+
"inference": {
|
| 118 |
+
"input_size": [
|
| 119 |
+
256,
|
| 120 |
+
256
|
| 121 |
+
],
|
| 122 |
+
"recommended_confidence_threshold": null
|
| 123 |
+
},
|
| 124 |
+
"compatibility": {
|
| 125 |
+
"maap3d": null,
|
| 126 |
+
"python": null,
|
| 127 |
+
"packages": {}
|
| 128 |
+
},
|
| 129 |
+
"training": {
|
| 130 |
+
"description": "Trained using the CHIRP dataset.",
|
| 131 |
+
"dataset_url": "https://arxiv.org/abs/2603.25524",
|
| 132 |
+
"base_model": null,
|
| 133 |
+
"sources": [
|
| 134 |
+
{
|
| 135 |
+
"name": "CHIRP",
|
| 136 |
+
"role": "keypoint training",
|
| 137 |
+
"url": "https://arxiv.org/abs/2603.25524"
|
| 138 |
+
}
|
| 139 |
+
]
|
| 140 |
+
},
|
| 141 |
+
"evaluation": {
|
| 142 |
+
"dataset": null,
|
| 143 |
+
"split": null,
|
| 144 |
+
"num_images": null,
|
| 145 |
+
"metrics": {}
|
| 146 |
+
},
|
| 147 |
+
"license": {
|
| 148 |
+
"identifier": "AGPL-3.0-or-later",
|
| 149 |
+
"url": "https://www.gnu.org/licenses/agpl-3.0.html",
|
| 150 |
+
"scope": "Author-selected default for original MAAP3D model contributions; upstream materials retain their own terms.",
|
| 151 |
+
"policy_file": "../../LICENSE_POLICY.md",
|
| 152 |
+
"upstream_review_status": "pending",
|
| 153 |
+
"complete_artifact_license_verified": false,
|
| 154 |
+
"upstream_notes": [
|
| 155 |
+
"Confirm the exact CHIRP release, base checkpoint and applicable model/data terms before publication."
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"citation": "If using this model in research or a publication, please cite MAAP3D and CHIRP and identify the model ID and revision used.",
|
| 159 |
+
"provenance": {
|
| 160 |
+
"weights": {
|
| 161 |
+
"original_filename": "best_PCK_epoch_90.pth",
|
| 162 |
+
"sha256": "87ecc393d2f525ba14a4b08d4a59848a6488e6ad0f2cc0c65d7bea9047590977",
|
| 163 |
+
"size_bytes": 115673712
|
| 164 |
+
},
|
| 165 |
+
"config": {
|
| 166 |
+
"original_filename": "hrnet.py",
|
| 167 |
+
"sha256": "236d92c43d43ea1098f02b7485a543b3792868871568a8671fd01231cd57eac9",
|
| 168 |
+
"size_bytes": 33227
|
| 169 |
+
}
|
| 170 |
+
},
|
| 171 |
+
"pose_estimator_type": "TopdownPoseEstimator",
|
| 172 |
+
"detector_requirement": "required",
|
| 173 |
+
"metadata_sources": {
|
| 174 |
+
"framework": "jay-pose.py:default_scope",
|
| 175 |
+
"architecture": "jay-pose.py:model.backbone",
|
| 176 |
+
"pose_estimator_type": "jay-pose.py:model.type",
|
| 177 |
+
"keypoint_names": "jay-pose.py:test_dataloader.dataset.metainfo.keypoint_info (numeric ID order)",
|
| 178 |
+
"skeleton": "jay-pose.py:test_dataloader.dataset.metainfo.skeleton_info",
|
| 179 |
+
"flip_pairs": "jay-pose.py:test_dataloader.dataset.metainfo.keypoint_info.swap",
|
| 180 |
+
"inference.input_size": "jay-pose.py:codec.input_size",
|
| 181 |
+
"description": "Model author, 2026-11-20",
|
| 182 |
+
"species": "Model author, 2026-11-20; common names retained without inferred scientific taxonomy",
|
| 183 |
+
"training.description": "Model author, 2026-11-20; keypoint training history",
|
| 184 |
+
"limitations": "Model author, 2026-11-20; detector caveats apply to detection models",
|
| 185 |
+
"license": "Author-selected default policy, 2026-11-20; upstream review remains pending",
|
| 186 |
+
"citation": "Model author, 2026-11-20; references in ../../CITATIONS.md"
|
| 187 |
+
},
|
| 188 |
+
"description": "Siberian jay model family trained on the CHIRP dataset.",
|
| 189 |
+
"limitations": [],
|
| 190 |
+
"author_reported_observations": [],
|
| 191 |
+
"config_license": {
|
| 192 |
+
"identifier": "Apache-2.0",
|
| 193 |
+
"scope": "OpenMMLab-derived configuration material; exact source/modification lineage remains to be confirmed.",
|
| 194 |
+
"license_file": "../../LICENSES/Apache-2.0.txt",
|
| 195 |
+
"notices_file": "../../THIRD_PARTY_NOTICES.md"
|
| 196 |
+
},
|
| 197 |
+
"citations": [
|
| 198 |
+
{
|
| 199 |
+
"id": "maap3d",
|
| 200 |
+
"name": "MAAP3D",
|
| 201 |
+
"url": "https://github.com/alexhang212/MAAP3D_Toolbox"
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"id": "chirp",
|
| 205 |
+
"name": "CHIRP",
|
| 206 |
+
"url": "https://arxiv.org/abs/2603.25524"
|
| 207 |
+
}
|
| 208 |
+
],
|
| 209 |
+
"citation_policy": "Research citation request; not an additional AGPL license condition."
|
| 210 |
+
}
|
pigeons/detection/README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Pigeons detection model
|
| 2 |
+
|
| 3 |
+
**Status: draft. Files supplied; inference not validated.**
|
| 4 |
+
|
| 5 |
+
Model ID: `pigeon-detection`. See [metadata.json](metadata.json) and the
|
| 6 |
+
[model-zoo overview](../../README.md).
|
| 7 |
+
|
| 8 |
+
## Model description
|
| 9 |
+
|
| 10 |
+
Pigeon model family trained on the 3D-POP dataset.
|
| 11 |
+
|
| 12 |
+
Pigeons, as reported by the model author; scientific name/breed not supplied.
|
| 13 |
+
|
| 14 |
+
Descriptions and species coverage are supplied by the model author. They are
|
| 15 |
+
not a new independent evaluation of this checkpoint.
|
| 16 |
+
|
| 17 |
+
## Model files
|
| 18 |
+
|
| 19 |
+
| Role | File |
|
| 20 |
+
| --- | --- |
|
| 21 |
+
| Weights | [pigeon-detection.pt](pigeon-detection.pt) |
|
| 22 |
+
|
| 23 |
+
Original filenames and SHA-256 hashes are recorded in `metadata.json`.
|
| 24 |
+
Checkpoint and config bytes have not been changed by these documentation updates.
|
| 25 |
+
|
| 26 |
+
## Detector details
|
| 27 |
+
|
| 28 |
+
Detector architecture, class names in numeric ID order, inference image size
|
| 29 |
+
and confidence recommendations have not yet been confirmed.
|
| 30 |
+
|
| 31 |
+
## Training data
|
| 32 |
+
|
| 33 |
+
The author describes the model family as trained on 3D-POP; the detector-specific training recipe was not supplied.
|
| 34 |
+
|
| 35 |
+
The pose model training history is documented separately in its own folder;
|
| 36 |
+
it is not assumed to be this detector's pretraining history.
|
| 37 |
+
|
| 38 |
+
## Evaluation and limitations
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
Quantitative held-out accuracy, data splits, speed benchmarks and model-backed
|
| 42 |
+
validation results have not been supplied. No numerical results are claimed.
|
| 43 |
+
|
| 44 |
+
## License and attribution
|
| 45 |
+
|
| 46 |
+
The author-selected default for original MAAP3D model contributions is
|
| 47 |
+
**AGPL-3.0-or-later**. See the [license text](../../LICENSE) and
|
| 48 |
+
[licensing policy](../../LICENSE_POLICY.md). This default does not replace
|
| 49 |
+
upstream model, code, configuration or dataset terms. The complete artifact's
|
| 50 |
+
licensing provenance is still under review; this card is not a clearance statement.
|
| 51 |
+
|
| 52 |
+
- Confirm the exact detector framework, base checkpoint and upstream grant before publication. Ultralytics states its trained models default to AGPL-3.0; this does not establish an or-later grant for this particular checkpoint.
|
| 53 |
+
|
| 54 |
+
## Citation
|
| 55 |
+
|
| 56 |
+
If using this model in research or a publication, please cite MAAP3D and 3D-POP and identify the model ID and revision used.
|
| 57 |
+
|
| 58 |
+
- [MAAP3D](../../CITATIONS.md#maap3d)
|
| 59 |
+
- [3D-POP](../../CITATIONS.md#3d-pop)
|
| 60 |
+
|
| 61 |
+
References and BibTeX are in [CITATIONS.md](../../CITATIONS.md) and
|
| 62 |
+
[CITATIONS.bib](../../CITATIONS.bib). Citation is requested as scholarly credit;
|
| 63 |
+
it is not an additional condition added to AGPL.
|
| 64 |
+
|
| 65 |
+
## Remaining release details
|
| 66 |
+
|
| 67 |
+
Record the release/version label, actual base checkpoint, detector class labels
|
| 68 |
+
where applicable, tested MAAP3D/Python/backend versions and an inference example.
|
| 69 |
+
Keep this slot in its current draft/template state until applicable licensing
|
| 70 |
+
provenance, required metadata and model-backed validation are complete.
|
pigeons/detection/metadata.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"model_id": "pigeon-detection",
|
| 4 |
+
"status": "draft",
|
| 5 |
+
"species": {
|
| 6 |
+
"group": "pigeons",
|
| 7 |
+
"common_name": "pigeons",
|
| 8 |
+
"scientific_name": null,
|
| 9 |
+
"covered_common_names": [
|
| 10 |
+
"pigeons"
|
| 11 |
+
],
|
| 12 |
+
"coverage_note": "Pigeons, as reported by the model author; scientific name/breed not supplied.",
|
| 13 |
+
"coverage_source": "Model author, 2026-11-20"
|
| 14 |
+
},
|
| 15 |
+
"task": "object-detection",
|
| 16 |
+
"framework": null,
|
| 17 |
+
"architecture": null,
|
| 18 |
+
"model_version": null,
|
| 19 |
+
"files": {
|
| 20 |
+
"weights": "pigeon-detection.pt",
|
| 21 |
+
"config": null,
|
| 22 |
+
"additional": []
|
| 23 |
+
},
|
| 24 |
+
"class_names": [],
|
| 25 |
+
"keypoint_names": [],
|
| 26 |
+
"skeleton": [],
|
| 27 |
+
"flip_pairs": [],
|
| 28 |
+
"recommended_detector": null,
|
| 29 |
+
"inference": {
|
| 30 |
+
"input_size": null,
|
| 31 |
+
"recommended_confidence_threshold": null
|
| 32 |
+
},
|
| 33 |
+
"compatibility": {
|
| 34 |
+
"maap3d": null,
|
| 35 |
+
"python": null,
|
| 36 |
+
"packages": {}
|
| 37 |
+
},
|
| 38 |
+
"training": {
|
| 39 |
+
"description": "The author describes the model family as trained on 3D-POP; the detector-specific training recipe was not supplied.",
|
| 40 |
+
"dataset_url": null,
|
| 41 |
+
"base_model": null,
|
| 42 |
+
"sources": []
|
| 43 |
+
},
|
| 44 |
+
"evaluation": {
|
| 45 |
+
"dataset": null,
|
| 46 |
+
"split": null,
|
| 47 |
+
"num_images": null,
|
| 48 |
+
"metrics": {}
|
| 49 |
+
},
|
| 50 |
+
"license": {
|
| 51 |
+
"identifier": "AGPL-3.0-or-later",
|
| 52 |
+
"url": "https://www.gnu.org/licenses/agpl-3.0.html",
|
| 53 |
+
"scope": "Author-selected default for original MAAP3D model contributions; upstream materials retain their own terms.",
|
| 54 |
+
"policy_file": "../../LICENSE_POLICY.md",
|
| 55 |
+
"upstream_review_status": "pending",
|
| 56 |
+
"complete_artifact_license_verified": false,
|
| 57 |
+
"upstream_notes": [
|
| 58 |
+
"Confirm the exact detector framework, base checkpoint and upstream grant before publication. Ultralytics states its trained models default to AGPL-3.0; this does not establish an or-later grant for this particular checkpoint."
|
| 59 |
+
]
|
| 60 |
+
},
|
| 61 |
+
"citation": "If using this model in research or a publication, please cite MAAP3D and 3D-POP and identify the model ID and revision used.",
|
| 62 |
+
"provenance": {
|
| 63 |
+
"weights": {
|
| 64 |
+
"original_filename": "PigeonBarnBest.pt",
|
| 65 |
+
"sha256": "561bf6d5f00ce77ae57c24399d99e08139acb5aa313336868005604bfc50f9be",
|
| 66 |
+
"size_bytes": 53000864
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
"description": "Pigeon model family trained on the 3D-POP dataset.",
|
| 70 |
+
"limitations": [],
|
| 71 |
+
"author_reported_observations": [],
|
| 72 |
+
"metadata_sources": {
|
| 73 |
+
"description": "Model author, 2026-11-20",
|
| 74 |
+
"species": "Model author, 2026-11-20; common names retained without inferred scientific taxonomy",
|
| 75 |
+
"training.description": "Model author, 2026-11-20; author-reported detector-specific or family history; pose training sources not assumed",
|
| 76 |
+
"limitations": "Model author, 2026-11-20; detector caveats apply to detection models",
|
| 77 |
+
"license": "Author-selected default policy, 2026-11-20; upstream review remains pending",
|
| 78 |
+
"citation": "Model author, 2026-11-20; references in ../../CITATIONS.md"
|
| 79 |
+
},
|
| 80 |
+
"citations": [
|
| 81 |
+
{
|
| 82 |
+
"id": "maap3d",
|
| 83 |
+
"name": "MAAP3D",
|
| 84 |
+
"url": "https://github.com/alexhang212/MAAP3D_Toolbox"
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"id": "3d-pop",
|
| 88 |
+
"name": "3D-POP",
|
| 89 |
+
"url": "https://openaccess.thecvf.com/content/CVPR2023/html/Naik_3D-POP_-_An_Automated_Annotation_Approach_to_Facilitate_Markerless_2D-3D_CVPR_2023_paper.html"
|
| 90 |
+
}
|
| 91 |
+
],
|
| 92 |
+
"citation_policy": "Research citation request; not an additional AGPL license condition."
|
| 93 |
+
}
|
pigeons/detection/pigeon-detection.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:561bf6d5f00ce77ae57c24399d99e08139acb5aa313336868005604bfc50f9be
|
| 3 |
+
size 53000864
|
pigeons/pose/README.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Pigeons pose model
|
| 2 |
+
|
| 3 |
+
**Status: draft. Files supplied; inference not validated.**
|
| 4 |
+
|
| 5 |
+
Model ID: `pigeon-pose`. See [metadata.json](metadata.json) and the
|
| 6 |
+
[model-zoo overview](../../README.md).
|
| 7 |
+
|
| 8 |
+
## Model description
|
| 9 |
+
|
| 10 |
+
Pigeon model family trained on the 3D-POP dataset.
|
| 11 |
+
|
| 12 |
+
Pigeons, as reported by the model author; scientific name/breed not supplied.
|
| 13 |
+
|
| 14 |
+
Descriptions and species coverage are supplied by the model author. They are
|
| 15 |
+
not a new independent evaluation of this checkpoint.
|
| 16 |
+
|
| 17 |
+
## Model files
|
| 18 |
+
|
| 19 |
+
| Role | File |
|
| 20 |
+
| --- | --- |
|
| 21 |
+
| Weights | [pigeon-pose.pth](pigeon-pose.pth) |
|
| 22 |
+
| Config | [pigeon-pose.py](pigeon-pose.py) |
|
| 23 |
+
|
| 24 |
+
Original filenames and SHA-256 hashes are recorded in `metadata.json`.
|
| 25 |
+
Checkpoint and config bytes have not been changed by these documentation updates.
|
| 26 |
+
|
| 27 |
+
## Pose definition
|
| 28 |
+
|
| 29 |
+
- Framework: MMPose
|
| 30 |
+
- Architecture: HRNet-W32
|
| 31 |
+
- Input size: 256 x 256 pixels (width x height)
|
| 32 |
+
- Keypoints: 9; exact output order is in metadata
|
| 33 |
+
- Skeleton links: 11; flip pairs use keypoint names
|
| 34 |
+
|
| 35 |
+
These technical fields were extracted from the supplied config. The config
|
| 36 |
+
retains its original training/evaluation paths and initialization settings;
|
| 37 |
+
those paths are not portable training instructions.
|
| 38 |
+
|
| 39 |
+
Proposed detector: `pigeon-detection`. Detector/pose pairing
|
| 40 |
+
still needs validation.
|
| 41 |
+
|
| 42 |
+
## Training data
|
| 43 |
+
|
| 44 |
+
Trained using the 3D-POP dataset.
|
| 45 |
+
|
| 46 |
+
- [3D-POP](https://github.com/alexhang212/Dataset-3DPOP): keypoint training
|
| 47 |
+
|
| 48 |
+
These sources describe the author-reported training history. The exact base
|
| 49 |
+
checkpoint filenames, data versions, sample counts and training recipe remain
|
| 50 |
+
unspecified. A dataset paper is not a checkpoint identifier or a license grant.
|
| 51 |
+
|
| 52 |
+
## Evaluation and limitations
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
Quantitative held-out accuracy, data splits, speed benchmarks and model-backed
|
| 56 |
+
validation results have not been supplied. No numerical results are claimed.
|
| 57 |
+
|
| 58 |
+
## License and attribution
|
| 59 |
+
|
| 60 |
+
The author-selected default for original MAAP3D model contributions is
|
| 61 |
+
**AGPL-3.0-or-later**. See the [license text](../../LICENSE) and
|
| 62 |
+
[licensing policy](../../LICENSE_POLICY.md). This default does not replace
|
| 63 |
+
upstream model, code, configuration or dataset terms. The complete artifact's
|
| 64 |
+
licensing provenance is still under review; this card is not a clearance statement.
|
| 65 |
+
|
| 66 |
+
OpenMMLab-derived configuration material retains Apache-2.0 terms. See
|
| 67 |
+
[third-party notices](../../THIRD_PARTY_NOTICES.md) and the
|
| 68 |
+
[Apache license](../../LICENSES/Apache-2.0.txt).
|
| 69 |
+
|
| 70 |
+
- Confirm the exact 3D-POP release, base checkpoint and applicable model/data terms before publication.
|
| 71 |
+
|
| 72 |
+
## Citation
|
| 73 |
+
|
| 74 |
+
If using this model in research or a publication, please cite MAAP3D and 3D-POP and identify the model ID and revision used.
|
| 75 |
+
|
| 76 |
+
- [MAAP3D](../../CITATIONS.md#maap3d)
|
| 77 |
+
- [3D-POP](../../CITATIONS.md#3d-pop)
|
| 78 |
+
|
| 79 |
+
References and BibTeX are in [CITATIONS.md](../../CITATIONS.md) and
|
| 80 |
+
[CITATIONS.bib](../../CITATIONS.bib). Citation is requested as scholarly credit;
|
| 81 |
+
it is not an additional condition added to AGPL.
|
| 82 |
+
|
| 83 |
+
## Remaining release details
|
| 84 |
+
|
| 85 |
+
Record the release/version label, actual base checkpoint, detector class labels
|
| 86 |
+
where applicable, tested MAAP3D/Python/backend versions and an inference example.
|
| 87 |
+
Keep this slot in its current draft/template state until applicable licensing
|
| 88 |
+
provenance, required metadata and model-backed validation are complete.
|
pigeons/pose/metadata.json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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"model_id": "pigeon-pose",
|
| 4 |
+
"status": "draft",
|
| 5 |
+
"species": {
|
| 6 |
+
"group": "pigeons",
|
| 7 |
+
"common_name": "pigeons",
|
| 8 |
+
"scientific_name": null,
|
| 9 |
+
"covered_common_names": [
|
| 10 |
+
"pigeons"
|
| 11 |
+
],
|
| 12 |
+
"coverage_note": "Pigeons, as reported by the model author; scientific name/breed not supplied.",
|
| 13 |
+
"coverage_source": "Model author, 2026-11-20"
|
| 14 |
+
},
|
| 15 |
+
"task": "keypoint-estimation",
|
| 16 |
+
"framework": "MMPose",
|
| 17 |
+
"architecture": "HRNet-W32",
|
| 18 |
+
"model_version": null,
|
| 19 |
+
"files": {
|
| 20 |
+
"weights": "pigeon-pose.pth",
|
| 21 |
+
"config": "pigeon-pose.py",
|
| 22 |
+
"additional": []
|
| 23 |
+
},
|
| 24 |
+
"class_names": [],
|
| 25 |
+
"keypoint_names": [
|
| 26 |
+
"hd_beak",
|
| 27 |
+
"hd_nose",
|
| 28 |
+
"hd_leftEye",
|
| 29 |
+
"hd_rightEye",
|
| 30 |
+
"bp_topKeel",
|
| 31 |
+
"bp_bottomKeel",
|
| 32 |
+
"bp_leftShoulder",
|
| 33 |
+
"bp_rightShoulder",
|
| 34 |
+
"bp_tail"
|
| 35 |
+
],
|
| 36 |
+
"skeleton": [
|
| 37 |
+
[
|
| 38 |
+
"hd_beak",
|
| 39 |
+
"hd_nose"
|
| 40 |
+
],
|
| 41 |
+
[
|
| 42 |
+
"hd_leftEye",
|
| 43 |
+
"hd_nose"
|
| 44 |
+
],
|
| 45 |
+
[
|
| 46 |
+
"hd_rightEye",
|
| 47 |
+
"hd_nose"
|
| 48 |
+
],
|
| 49 |
+
[
|
| 50 |
+
"hd_leftEye",
|
| 51 |
+
"hd_rightEye"
|
| 52 |
+
],
|
| 53 |
+
[
|
| 54 |
+
"bp_leftShoulder",
|
| 55 |
+
"bp_rightShoulder"
|
| 56 |
+
],
|
| 57 |
+
[
|
| 58 |
+
"bp_leftShoulder",
|
| 59 |
+
"bp_topKeel"
|
| 60 |
+
],
|
| 61 |
+
[
|
| 62 |
+
"bp_rightShoulder",
|
| 63 |
+
"bp_topKeel"
|
| 64 |
+
],
|
| 65 |
+
[
|
| 66 |
+
"bp_topKeel",
|
| 67 |
+
"bp_bottomKeel"
|
| 68 |
+
],
|
| 69 |
+
[
|
| 70 |
+
"bp_leftShoulder",
|
| 71 |
+
"bp_tail"
|
| 72 |
+
],
|
| 73 |
+
[
|
| 74 |
+
"bp_rightShoulder",
|
| 75 |
+
"bp_tail"
|
| 76 |
+
],
|
| 77 |
+
[
|
| 78 |
+
"bp_tail",
|
| 79 |
+
"bp_bottomKeel"
|
| 80 |
+
]
|
| 81 |
+
],
|
| 82 |
+
"flip_pairs": [
|
| 83 |
+
[
|
| 84 |
+
"hd_leftEye",
|
| 85 |
+
"hd_rightEye"
|
| 86 |
+
],
|
| 87 |
+
[
|
| 88 |
+
"bp_leftShoulder",
|
| 89 |
+
"bp_rightShoulder"
|
| 90 |
+
]
|
| 91 |
+
],
|
| 92 |
+
"recommended_detector": "pigeon-detection",
|
| 93 |
+
"inference": {
|
| 94 |
+
"input_size": [
|
| 95 |
+
256,
|
| 96 |
+
256
|
| 97 |
+
],
|
| 98 |
+
"recommended_confidence_threshold": null
|
| 99 |
+
},
|
| 100 |
+
"compatibility": {
|
| 101 |
+
"maap3d": null,
|
| 102 |
+
"python": null,
|
| 103 |
+
"packages": {}
|
| 104 |
+
},
|
| 105 |
+
"training": {
|
| 106 |
+
"description": "Trained using the 3D-POP dataset.",
|
| 107 |
+
"dataset_url": "https://github.com/alexhang212/Dataset-3DPOP",
|
| 108 |
+
"base_model": null,
|
| 109 |
+
"sources": [
|
| 110 |
+
{
|
| 111 |
+
"name": "3D-POP",
|
| 112 |
+
"role": "keypoint training",
|
| 113 |
+
"url": "https://github.com/alexhang212/Dataset-3DPOP"
|
| 114 |
+
}
|
| 115 |
+
]
|
| 116 |
+
},
|
| 117 |
+
"evaluation": {
|
| 118 |
+
"dataset": null,
|
| 119 |
+
"split": null,
|
| 120 |
+
"num_images": null,
|
| 121 |
+
"metrics": {}
|
| 122 |
+
},
|
| 123 |
+
"license": {
|
| 124 |
+
"identifier": "AGPL-3.0-or-later",
|
| 125 |
+
"url": "https://www.gnu.org/licenses/agpl-3.0.html",
|
| 126 |
+
"scope": "Author-selected default for original MAAP3D model contributions; upstream materials retain their own terms.",
|
| 127 |
+
"policy_file": "../../LICENSE_POLICY.md",
|
| 128 |
+
"upstream_review_status": "pending",
|
| 129 |
+
"complete_artifact_license_verified": false,
|
| 130 |
+
"upstream_notes": [
|
| 131 |
+
"Confirm the exact 3D-POP release, base checkpoint and applicable model/data terms before publication."
|
| 132 |
+
]
|
| 133 |
+
},
|
| 134 |
+
"citation": "If using this model in research or a publication, please cite MAAP3D and 3D-POP and identify the model ID and revision used.",
|
| 135 |
+
"provenance": {
|
| 136 |
+
"weights": {
|
| 137 |
+
"original_filename": "best_PCK_epoch_100.pth",
|
| 138 |
+
"sha256": "3de41fd568419db6d821671f0404bf530ea6ac107e7d0566c94c13c4da88d99e",
|
| 139 |
+
"size_bytes": 117412016
|
| 140 |
+
},
|
| 141 |
+
"config": {
|
| 142 |
+
"original_filename": "hrnet.py",
|
| 143 |
+
"sha256": "2a43ee7caab1bdd42463b8ab3a664988e2939bd5fe7787d307094a44ba3d0cdc",
|
| 144 |
+
"size_bytes": 25038
|
| 145 |
+
}
|
| 146 |
+
},
|
| 147 |
+
"pose_estimator_type": "TopdownPoseEstimator",
|
| 148 |
+
"detector_requirement": "required",
|
| 149 |
+
"metadata_sources": {
|
| 150 |
+
"framework": "pigeon-pose.py:default_scope",
|
| 151 |
+
"architecture": "pigeon-pose.py:model.backbone",
|
| 152 |
+
"pose_estimator_type": "pigeon-pose.py:model.type",
|
| 153 |
+
"keypoint_names": "pigeon-pose.py:test_dataloader.dataset.metainfo.keypoint_info (numeric ID order)",
|
| 154 |
+
"skeleton": "pigeon-pose.py:test_dataloader.dataset.metainfo.skeleton_info",
|
| 155 |
+
"flip_pairs": "pigeon-pose.py:test_dataloader.dataset.metainfo.keypoint_info.swap",
|
| 156 |
+
"inference.input_size": "pigeon-pose.py:codec.input_size",
|
| 157 |
+
"description": "Model author, 2026-11-20",
|
| 158 |
+
"species": "Model author, 2026-11-20; common names retained without inferred scientific taxonomy",
|
| 159 |
+
"training.description": "Model author, 2026-11-20; keypoint training history",
|
| 160 |
+
"limitations": "Model author, 2026-11-20; detector caveats apply to detection models",
|
| 161 |
+
"license": "Author-selected default policy, 2026-11-20; upstream review remains pending",
|
| 162 |
+
"citation": "Model author, 2026-11-20; references in ../../CITATIONS.md"
|
| 163 |
+
},
|
| 164 |
+
"description": "Pigeon model family trained on the 3D-POP dataset.",
|
| 165 |
+
"limitations": [],
|
| 166 |
+
"author_reported_observations": [],
|
| 167 |
+
"config_license": {
|
| 168 |
+
"identifier": "Apache-2.0",
|
| 169 |
+
"scope": "OpenMMLab-derived configuration material; exact source/modification lineage remains to be confirmed.",
|
| 170 |
+
"license_file": "../../LICENSES/Apache-2.0.txt",
|
| 171 |
+
"notices_file": "../../THIRD_PARTY_NOTICES.md"
|
| 172 |
+
},
|
| 173 |
+
"citations": [
|
| 174 |
+
{
|
| 175 |
+
"id": "maap3d",
|
| 176 |
+
"name": "MAAP3D",
|
| 177 |
+
"url": "https://github.com/alexhang212/MAAP3D_Toolbox"
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"id": "3d-pop",
|
| 181 |
+
"name": "3D-POP",
|
| 182 |
+
"url": "https://openaccess.thecvf.com/content/CVPR2023/html/Naik_3D-POP_-_An_Automated_Annotation_Approach_to_Facilitate_Markerless_2D-3D_CVPR_2023_paper.html"
|
| 183 |
+
}
|
| 184 |
+
],
|
| 185 |
+
"citation_policy": "Research citation request; not an additional AGPL license condition."
|
| 186 |
+
}
|
pigeons/pose/pigeon-pose.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3de41fd568419db6d821671f0404bf530ea6ac107e7d0566c94c13c4da88d99e
|
| 3 |
+
size 117412016
|
pigeons/pose/pigeon-pose.py
ADDED
|
@@ -0,0 +1,914 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
auto_scale_lr = dict(base_batch_size=512)
|
| 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 |
+
custom_hooks = [
|
| 15 |
+
dict(type='SyncBuffersHook'),
|
| 16 |
+
]
|
| 17 |
+
data_mode = 'topdown'
|
| 18 |
+
data_root = '/abyss/home/Datasets/PigeonBenchmark/N6000'
|
| 19 |
+
dataset_type = 'CocoDataset'
|
| 20 |
+
default_hooks = dict(
|
| 21 |
+
badcase=dict(
|
| 22 |
+
badcase_thr=5,
|
| 23 |
+
enable=False,
|
| 24 |
+
metric_type='loss',
|
| 25 |
+
out_dir='badcase',
|
| 26 |
+
type='BadCaseAnalysisHook'),
|
| 27 |
+
checkpoint=dict(
|
| 28 |
+
interval=2, rule='greater', save_best='PCK', type='CheckpointHook'),
|
| 29 |
+
logger=dict(interval=50, type='LoggerHook'),
|
| 30 |
+
param_scheduler=dict(type='ParamSchedulerHook'),
|
| 31 |
+
sampler_seed=dict(type='DistSamplerSeedHook'),
|
| 32 |
+
timer=dict(type='IterTimerHook'),
|
| 33 |
+
visualization=dict(enable=False, type='PoseVisualizationHook'))
|
| 34 |
+
default_scope = 'mmpose'
|
| 35 |
+
env_cfg = dict(
|
| 36 |
+
cudnn_benchmark=False,
|
| 37 |
+
dist_cfg=dict(backend='nccl'),
|
| 38 |
+
mp_cfg=dict(mp_start_method='fork', opencv_num_threads=0))
|
| 39 |
+
load_from = None
|
| 40 |
+
log_level = 'INFO'
|
| 41 |
+
log_processor = dict(
|
| 42 |
+
by_epoch=True, num_digits=6, type='LogProcessor', window_size=50)
|
| 43 |
+
model = dict(
|
| 44 |
+
backbone=dict(
|
| 45 |
+
extra=dict(
|
| 46 |
+
stage1=dict(
|
| 47 |
+
block='BOTTLENECK',
|
| 48 |
+
num_blocks=(4, ),
|
| 49 |
+
num_branches=1,
|
| 50 |
+
num_channels=(64, ),
|
| 51 |
+
num_modules=1),
|
| 52 |
+
stage2=dict(
|
| 53 |
+
block='BASIC',
|
| 54 |
+
num_blocks=(
|
| 55 |
+
4,
|
| 56 |
+
4,
|
| 57 |
+
),
|
| 58 |
+
num_branches=2,
|
| 59 |
+
num_channels=(
|
| 60 |
+
32,
|
| 61 |
+
64,
|
| 62 |
+
),
|
| 63 |
+
num_modules=1),
|
| 64 |
+
stage3=dict(
|
| 65 |
+
block='BASIC',
|
| 66 |
+
num_blocks=(
|
| 67 |
+
4,
|
| 68 |
+
4,
|
| 69 |
+
4,
|
| 70 |
+
),
|
| 71 |
+
num_branches=3,
|
| 72 |
+
num_channels=(
|
| 73 |
+
32,
|
| 74 |
+
64,
|
| 75 |
+
128,
|
| 76 |
+
),
|
| 77 |
+
num_modules=4),
|
| 78 |
+
stage4=dict(
|
| 79 |
+
block='BASIC',
|
| 80 |
+
num_blocks=(
|
| 81 |
+
4,
|
| 82 |
+
4,
|
| 83 |
+
4,
|
| 84 |
+
4,
|
| 85 |
+
),
|
| 86 |
+
num_branches=4,
|
| 87 |
+
num_channels=(
|
| 88 |
+
32,
|
| 89 |
+
64,
|
| 90 |
+
128,
|
| 91 |
+
256,
|
| 92 |
+
),
|
| 93 |
+
num_modules=3)),
|
| 94 |
+
in_channels=3,
|
| 95 |
+
init_cfg=dict(
|
| 96 |
+
checkpoint=
|
| 97 |
+
'https://download.openmmlab.com/mmpose/pretrain_models/hrnet_w32-36af842e.pth',
|
| 98 |
+
type='Pretrained'),
|
| 99 |
+
type='HRNet'),
|
| 100 |
+
data_preprocessor=dict(
|
| 101 |
+
bgr_to_rgb=True,
|
| 102 |
+
mean=[
|
| 103 |
+
123.675,
|
| 104 |
+
116.28,
|
| 105 |
+
103.53,
|
| 106 |
+
],
|
| 107 |
+
std=[
|
| 108 |
+
58.395,
|
| 109 |
+
57.12,
|
| 110 |
+
57.375,
|
| 111 |
+
],
|
| 112 |
+
type='PoseDataPreprocessor'),
|
| 113 |
+
head=dict(
|
| 114 |
+
decoder=dict(
|
| 115 |
+
heatmap_size=(
|
| 116 |
+
64,
|
| 117 |
+
64,
|
| 118 |
+
),
|
| 119 |
+
input_size=(
|
| 120 |
+
256,
|
| 121 |
+
256,
|
| 122 |
+
),
|
| 123 |
+
sigma=2,
|
| 124 |
+
type='MSRAHeatmap'),
|
| 125 |
+
deconv_out_channels=None,
|
| 126 |
+
in_channels=32,
|
| 127 |
+
loss=dict(type='KeypointMSELoss', use_target_weight=True),
|
| 128 |
+
out_channels=9,
|
| 129 |
+
type='HeatmapHead'),
|
| 130 |
+
test_cfg=dict(flip_mode='heatmap', flip_test=True, shift_heatmap=True),
|
| 131 |
+
type='TopdownPoseEstimator')
|
| 132 |
+
optim_wrapper = dict(optimizer=dict(lr=0.0005, type='AdamW'))
|
| 133 |
+
param_scheduler = [
|
| 134 |
+
dict(
|
| 135 |
+
begin=0, by_epoch=False, end=500, start_factor=0.001, type='LinearLR'),
|
| 136 |
+
dict(
|
| 137 |
+
begin=0,
|
| 138 |
+
by_epoch=True,
|
| 139 |
+
end=210,
|
| 140 |
+
gamma=0.1,
|
| 141 |
+
milestones=[
|
| 142 |
+
170,
|
| 143 |
+
200,
|
| 144 |
+
],
|
| 145 |
+
type='MultiStepLR'),
|
| 146 |
+
]
|
| 147 |
+
resume = False
|
| 148 |
+
test_cfg = dict()
|
| 149 |
+
test_dataloader = dict(
|
| 150 |
+
batch_size=128,
|
| 151 |
+
dataset=dict(
|
| 152 |
+
ann_file=
|
| 153 |
+
'/abyss/home/Datasets/PigeonBenchmark/N6000/MAAP3D_Annotation/COCO_Val_N6000.json',
|
| 154 |
+
bbox_file=None,
|
| 155 |
+
data_mode='topdown',
|
| 156 |
+
data_prefix=dict(img=''),
|
| 157 |
+
data_root='/abyss/home/Datasets/PigeonBenchmark/N6000',
|
| 158 |
+
metainfo=dict(
|
| 159 |
+
dataset_name='coco',
|
| 160 |
+
joint_weights=[
|
| 161 |
+
1.0,
|
| 162 |
+
1.0,
|
| 163 |
+
1.0,
|
| 164 |
+
1.0,
|
| 165 |
+
1.0,
|
| 166 |
+
1.0,
|
| 167 |
+
1.0,
|
| 168 |
+
1.0,
|
| 169 |
+
1.0,
|
| 170 |
+
],
|
| 171 |
+
keypoint_info=dict({
|
| 172 |
+
0:
|
| 173 |
+
dict(color=[
|
| 174 |
+
255,
|
| 175 |
+
0,
|
| 176 |
+
0,
|
| 177 |
+
], id=0, name='hd_beak', swap=''),
|
| 178 |
+
1:
|
| 179 |
+
dict(color=[
|
| 180 |
+
255,
|
| 181 |
+
0,
|
| 182 |
+
0,
|
| 183 |
+
], id=1, name='hd_nose', swap=''),
|
| 184 |
+
2:
|
| 185 |
+
dict(
|
| 186 |
+
color=[
|
| 187 |
+
255,
|
| 188 |
+
0,
|
| 189 |
+
0,
|
| 190 |
+
],
|
| 191 |
+
id=2,
|
| 192 |
+
name='hd_leftEye',
|
| 193 |
+
swap='hd_rightEye'),
|
| 194 |
+
3:
|
| 195 |
+
dict(
|
| 196 |
+
color=[
|
| 197 |
+
255,
|
| 198 |
+
0,
|
| 199 |
+
0,
|
| 200 |
+
],
|
| 201 |
+
id=3,
|
| 202 |
+
name='hd_rightEye',
|
| 203 |
+
swap='hd_leftEye'),
|
| 204 |
+
4:
|
| 205 |
+
dict(color=[
|
| 206 |
+
255,
|
| 207 |
+
0,
|
| 208 |
+
0,
|
| 209 |
+
], id=4, name='bp_topKeel', swap=''),
|
| 210 |
+
5:
|
| 211 |
+
dict(color=[
|
| 212 |
+
255,
|
| 213 |
+
0,
|
| 214 |
+
0,
|
| 215 |
+
], id=5, name='bp_bottomKeel', swap=''),
|
| 216 |
+
6:
|
| 217 |
+
dict(
|
| 218 |
+
color=[
|
| 219 |
+
255,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
],
|
| 223 |
+
id=6,
|
| 224 |
+
name='bp_leftShoulder',
|
| 225 |
+
swap='bp_rightShoulder'),
|
| 226 |
+
7:
|
| 227 |
+
dict(
|
| 228 |
+
color=[
|
| 229 |
+
255,
|
| 230 |
+
0,
|
| 231 |
+
0,
|
| 232 |
+
],
|
| 233 |
+
id=7,
|
| 234 |
+
name='bp_rightShoulder',
|
| 235 |
+
swap='bp_leftShoulder'),
|
| 236 |
+
8:
|
| 237 |
+
dict(color=[
|
| 238 |
+
255,
|
| 239 |
+
0,
|
| 240 |
+
0,
|
| 241 |
+
], id=8, name='bp_tail', swap='')
|
| 242 |
+
}),
|
| 243 |
+
sigmas=[
|
| 244 |
+
0.025,
|
| 245 |
+
0.025,
|
| 246 |
+
0.025,
|
| 247 |
+
0.025,
|
| 248 |
+
0.025,
|
| 249 |
+
0.025,
|
| 250 |
+
0.025,
|
| 251 |
+
0.025,
|
| 252 |
+
0.025,
|
| 253 |
+
],
|
| 254 |
+
skeleton_info=dict({
|
| 255 |
+
0:
|
| 256 |
+
dict(color=[
|
| 257 |
+
255,
|
| 258 |
+
0,
|
| 259 |
+
0,
|
| 260 |
+
], link=(
|
| 261 |
+
'hd_beak',
|
| 262 |
+
'hd_nose',
|
| 263 |
+
)),
|
| 264 |
+
1:
|
| 265 |
+
dict(color=[
|
| 266 |
+
255,
|
| 267 |
+
0,
|
| 268 |
+
0,
|
| 269 |
+
], link=(
|
| 270 |
+
'hd_leftEye',
|
| 271 |
+
'hd_nose',
|
| 272 |
+
)),
|
| 273 |
+
10:
|
| 274 |
+
dict(color=[
|
| 275 |
+
255,
|
| 276 |
+
0,
|
| 277 |
+
0,
|
| 278 |
+
], link=(
|
| 279 |
+
'bp_tail',
|
| 280 |
+
'bp_bottomKeel',
|
| 281 |
+
)),
|
| 282 |
+
2:
|
| 283 |
+
dict(color=[
|
| 284 |
+
255,
|
| 285 |
+
0,
|
| 286 |
+
0,
|
| 287 |
+
], link=(
|
| 288 |
+
'hd_rightEye',
|
| 289 |
+
'hd_nose',
|
| 290 |
+
)),
|
| 291 |
+
3:
|
| 292 |
+
dict(
|
| 293 |
+
color=[
|
| 294 |
+
255,
|
| 295 |
+
0,
|
| 296 |
+
0,
|
| 297 |
+
], link=(
|
| 298 |
+
'hd_leftEye',
|
| 299 |
+
'hd_rightEye',
|
| 300 |
+
)),
|
| 301 |
+
4:
|
| 302 |
+
dict(
|
| 303 |
+
color=[
|
| 304 |
+
255,
|
| 305 |
+
0,
|
| 306 |
+
0,
|
| 307 |
+
],
|
| 308 |
+
link=(
|
| 309 |
+
'bp_leftShoulder',
|
| 310 |
+
'bp_rightShoulder',
|
| 311 |
+
)),
|
| 312 |
+
5:
|
| 313 |
+
dict(
|
| 314 |
+
color=[
|
| 315 |
+
255,
|
| 316 |
+
0,
|
| 317 |
+
0,
|
| 318 |
+
],
|
| 319 |
+
link=(
|
| 320 |
+
'bp_leftShoulder',
|
| 321 |
+
'bp_topKeel',
|
| 322 |
+
)),
|
| 323 |
+
6:
|
| 324 |
+
dict(
|
| 325 |
+
color=[
|
| 326 |
+
255,
|
| 327 |
+
0,
|
| 328 |
+
0,
|
| 329 |
+
],
|
| 330 |
+
link=(
|
| 331 |
+
'bp_rightShoulder',
|
| 332 |
+
'bp_topKeel',
|
| 333 |
+
)),
|
| 334 |
+
7:
|
| 335 |
+
dict(
|
| 336 |
+
color=[
|
| 337 |
+
255,
|
| 338 |
+
0,
|
| 339 |
+
0,
|
| 340 |
+
],
|
| 341 |
+
link=(
|
| 342 |
+
'bp_topKeel',
|
| 343 |
+
'bp_bottomKeel',
|
| 344 |
+
)),
|
| 345 |
+
8:
|
| 346 |
+
dict(
|
| 347 |
+
color=[
|
| 348 |
+
255,
|
| 349 |
+
0,
|
| 350 |
+
0,
|
| 351 |
+
], link=(
|
| 352 |
+
'bp_leftShoulder',
|
| 353 |
+
'bp_tail',
|
| 354 |
+
)),
|
| 355 |
+
9:
|
| 356 |
+
dict(
|
| 357 |
+
color=[
|
| 358 |
+
255,
|
| 359 |
+
0,
|
| 360 |
+
0,
|
| 361 |
+
],
|
| 362 |
+
link=(
|
| 363 |
+
'bp_rightShoulder',
|
| 364 |
+
'bp_tail',
|
| 365 |
+
))
|
| 366 |
+
})),
|
| 367 |
+
pipeline=[
|
| 368 |
+
dict(type='LoadImage'),
|
| 369 |
+
dict(type='GetBBoxCenterScale'),
|
| 370 |
+
dict(input_size=(
|
| 371 |
+
256,
|
| 372 |
+
256,
|
| 373 |
+
), type='TopdownAffine'),
|
| 374 |
+
dict(type='PackPoseInputs'),
|
| 375 |
+
],
|
| 376 |
+
test_mode=True,
|
| 377 |
+
type='CocoDataset'),
|
| 378 |
+
drop_last=False,
|
| 379 |
+
num_workers=0,
|
| 380 |
+
persistent_workers=False,
|
| 381 |
+
sampler=dict(round_up=False, shuffle=False, type='DefaultSampler'))
|
| 382 |
+
test_evaluator = [
|
| 383 |
+
dict(thr=0.05, type='PCKAccuracy'),
|
| 384 |
+
dict(type='AUC'),
|
| 385 |
+
]
|
| 386 |
+
train_cfg = dict(by_epoch=True, max_epochs=100, val_interval=2)
|
| 387 |
+
train_dataloader = dict(
|
| 388 |
+
batch_size=128,
|
| 389 |
+
dataset=dict(
|
| 390 |
+
ann_file=
|
| 391 |
+
'/abyss/home/Datasets/PigeonBenchmark/N6000/MAAP3D_Annotation/COCO_Train_N6000.json',
|
| 392 |
+
data_mode='topdown',
|
| 393 |
+
data_prefix=dict(img=''),
|
| 394 |
+
data_root='/abyss/home/Datasets/PigeonBenchmark/N6000',
|
| 395 |
+
metainfo=dict(
|
| 396 |
+
dataset_name='coco',
|
| 397 |
+
joint_weights=[
|
| 398 |
+
1.0,
|
| 399 |
+
1.0,
|
| 400 |
+
1.0,
|
| 401 |
+
1.0,
|
| 402 |
+
1.0,
|
| 403 |
+
1.0,
|
| 404 |
+
1.0,
|
| 405 |
+
1.0,
|
| 406 |
+
1.0,
|
| 407 |
+
],
|
| 408 |
+
keypoint_info=dict({
|
| 409 |
+
0:
|
| 410 |
+
dict(color=[
|
| 411 |
+
255,
|
| 412 |
+
0,
|
| 413 |
+
0,
|
| 414 |
+
], id=0, name='hd_beak', swap=''),
|
| 415 |
+
1:
|
| 416 |
+
dict(color=[
|
| 417 |
+
255,
|
| 418 |
+
0,
|
| 419 |
+
0,
|
| 420 |
+
], id=1, name='hd_nose', swap=''),
|
| 421 |
+
2:
|
| 422 |
+
dict(
|
| 423 |
+
color=[
|
| 424 |
+
255,
|
| 425 |
+
0,
|
| 426 |
+
0,
|
| 427 |
+
],
|
| 428 |
+
id=2,
|
| 429 |
+
name='hd_leftEye',
|
| 430 |
+
swap='hd_rightEye'),
|
| 431 |
+
3:
|
| 432 |
+
dict(
|
| 433 |
+
color=[
|
| 434 |
+
255,
|
| 435 |
+
0,
|
| 436 |
+
0,
|
| 437 |
+
],
|
| 438 |
+
id=3,
|
| 439 |
+
name='hd_rightEye',
|
| 440 |
+
swap='hd_leftEye'),
|
| 441 |
+
4:
|
| 442 |
+
dict(color=[
|
| 443 |
+
255,
|
| 444 |
+
0,
|
| 445 |
+
0,
|
| 446 |
+
], id=4, name='bp_topKeel', swap=''),
|
| 447 |
+
5:
|
| 448 |
+
dict(color=[
|
| 449 |
+
255,
|
| 450 |
+
0,
|
| 451 |
+
0,
|
| 452 |
+
], id=5, name='bp_bottomKeel', swap=''),
|
| 453 |
+
6:
|
| 454 |
+
dict(
|
| 455 |
+
color=[
|
| 456 |
+
255,
|
| 457 |
+
0,
|
| 458 |
+
0,
|
| 459 |
+
],
|
| 460 |
+
id=6,
|
| 461 |
+
name='bp_leftShoulder',
|
| 462 |
+
swap='bp_rightShoulder'),
|
| 463 |
+
7:
|
| 464 |
+
dict(
|
| 465 |
+
color=[
|
| 466 |
+
255,
|
| 467 |
+
0,
|
| 468 |
+
0,
|
| 469 |
+
],
|
| 470 |
+
id=7,
|
| 471 |
+
name='bp_rightShoulder',
|
| 472 |
+
swap='bp_leftShoulder'),
|
| 473 |
+
8:
|
| 474 |
+
dict(color=[
|
| 475 |
+
255,
|
| 476 |
+
0,
|
| 477 |
+
0,
|
| 478 |
+
], id=8, name='bp_tail', swap='')
|
| 479 |
+
}),
|
| 480 |
+
sigmas=[
|
| 481 |
+
0.025,
|
| 482 |
+
0.025,
|
| 483 |
+
0.025,
|
| 484 |
+
0.025,
|
| 485 |
+
0.025,
|
| 486 |
+
0.025,
|
| 487 |
+
0.025,
|
| 488 |
+
0.025,
|
| 489 |
+
0.025,
|
| 490 |
+
],
|
| 491 |
+
skeleton_info=dict({
|
| 492 |
+
0:
|
| 493 |
+
dict(color=[
|
| 494 |
+
255,
|
| 495 |
+
0,
|
| 496 |
+
0,
|
| 497 |
+
], link=(
|
| 498 |
+
'hd_beak',
|
| 499 |
+
'hd_nose',
|
| 500 |
+
)),
|
| 501 |
+
1:
|
| 502 |
+
dict(color=[
|
| 503 |
+
255,
|
| 504 |
+
0,
|
| 505 |
+
0,
|
| 506 |
+
], link=(
|
| 507 |
+
'hd_leftEye',
|
| 508 |
+
'hd_nose',
|
| 509 |
+
)),
|
| 510 |
+
10:
|
| 511 |
+
dict(color=[
|
| 512 |
+
255,
|
| 513 |
+
0,
|
| 514 |
+
0,
|
| 515 |
+
], link=(
|
| 516 |
+
'bp_tail',
|
| 517 |
+
'bp_bottomKeel',
|
| 518 |
+
)),
|
| 519 |
+
2:
|
| 520 |
+
dict(color=[
|
| 521 |
+
255,
|
| 522 |
+
0,
|
| 523 |
+
0,
|
| 524 |
+
], link=(
|
| 525 |
+
'hd_rightEye',
|
| 526 |
+
'hd_nose',
|
| 527 |
+
)),
|
| 528 |
+
3:
|
| 529 |
+
dict(
|
| 530 |
+
color=[
|
| 531 |
+
255,
|
| 532 |
+
0,
|
| 533 |
+
0,
|
| 534 |
+
], link=(
|
| 535 |
+
'hd_leftEye',
|
| 536 |
+
'hd_rightEye',
|
| 537 |
+
)),
|
| 538 |
+
4:
|
| 539 |
+
dict(
|
| 540 |
+
color=[
|
| 541 |
+
255,
|
| 542 |
+
0,
|
| 543 |
+
0,
|
| 544 |
+
],
|
| 545 |
+
link=(
|
| 546 |
+
'bp_leftShoulder',
|
| 547 |
+
'bp_rightShoulder',
|
| 548 |
+
)),
|
| 549 |
+
5:
|
| 550 |
+
dict(
|
| 551 |
+
color=[
|
| 552 |
+
255,
|
| 553 |
+
0,
|
| 554 |
+
0,
|
| 555 |
+
],
|
| 556 |
+
link=(
|
| 557 |
+
'bp_leftShoulder',
|
| 558 |
+
'bp_topKeel',
|
| 559 |
+
)),
|
| 560 |
+
6:
|
| 561 |
+
dict(
|
| 562 |
+
color=[
|
| 563 |
+
255,
|
| 564 |
+
0,
|
| 565 |
+
0,
|
| 566 |
+
],
|
| 567 |
+
link=(
|
| 568 |
+
'bp_rightShoulder',
|
| 569 |
+
'bp_topKeel',
|
| 570 |
+
)),
|
| 571 |
+
7:
|
| 572 |
+
dict(
|
| 573 |
+
color=[
|
| 574 |
+
255,
|
| 575 |
+
0,
|
| 576 |
+
0,
|
| 577 |
+
],
|
| 578 |
+
link=(
|
| 579 |
+
'bp_topKeel',
|
| 580 |
+
'bp_bottomKeel',
|
| 581 |
+
)),
|
| 582 |
+
8:
|
| 583 |
+
dict(
|
| 584 |
+
color=[
|
| 585 |
+
255,
|
| 586 |
+
0,
|
| 587 |
+
0,
|
| 588 |
+
], link=(
|
| 589 |
+
'bp_leftShoulder',
|
| 590 |
+
'bp_tail',
|
| 591 |
+
)),
|
| 592 |
+
9:
|
| 593 |
+
dict(
|
| 594 |
+
color=[
|
| 595 |
+
255,
|
| 596 |
+
0,
|
| 597 |
+
0,
|
| 598 |
+
],
|
| 599 |
+
link=(
|
| 600 |
+
'bp_rightShoulder',
|
| 601 |
+
'bp_tail',
|
| 602 |
+
))
|
| 603 |
+
})),
|
| 604 |
+
pipeline=[
|
| 605 |
+
dict(type='LoadImage'),
|
| 606 |
+
dict(type='GetBBoxCenterScale'),
|
| 607 |
+
dict(direction='horizontal', type='RandomFlip'),
|
| 608 |
+
dict(type='RandomHalfBody'),
|
| 609 |
+
dict(type='RandomBBoxTransform'),
|
| 610 |
+
dict(input_size=(
|
| 611 |
+
256,
|
| 612 |
+
256,
|
| 613 |
+
), type='TopdownAffine'),
|
| 614 |
+
dict(
|
| 615 |
+
encoder=dict(
|
| 616 |
+
heatmap_size=(
|
| 617 |
+
64,
|
| 618 |
+
64,
|
| 619 |
+
),
|
| 620 |
+
input_size=(
|
| 621 |
+
256,
|
| 622 |
+
256,
|
| 623 |
+
),
|
| 624 |
+
sigma=2,
|
| 625 |
+
type='MSRAHeatmap'),
|
| 626 |
+
type='GenerateTarget'),
|
| 627 |
+
dict(type='PackPoseInputs'),
|
| 628 |
+
],
|
| 629 |
+
type='CocoDataset'),
|
| 630 |
+
num_workers=0,
|
| 631 |
+
persistent_workers=False,
|
| 632 |
+
sampler=dict(shuffle=True, type='DefaultSampler'))
|
| 633 |
+
train_pipeline = [
|
| 634 |
+
dict(type='LoadImage'),
|
| 635 |
+
dict(type='GetBBoxCenterScale'),
|
| 636 |
+
dict(direction='horizontal', type='RandomFlip'),
|
| 637 |
+
dict(type='RandomHalfBody'),
|
| 638 |
+
dict(type='RandomBBoxTransform'),
|
| 639 |
+
dict(input_size=(
|
| 640 |
+
256,
|
| 641 |
+
256,
|
| 642 |
+
), type='TopdownAffine'),
|
| 643 |
+
dict(
|
| 644 |
+
encoder=dict(
|
| 645 |
+
heatmap_size=(
|
| 646 |
+
64,
|
| 647 |
+
64,
|
| 648 |
+
),
|
| 649 |
+
input_size=(
|
| 650 |
+
256,
|
| 651 |
+
256,
|
| 652 |
+
),
|
| 653 |
+
sigma=2,
|
| 654 |
+
type='MSRAHeatmap'),
|
| 655 |
+
type='GenerateTarget'),
|
| 656 |
+
dict(type='PackPoseInputs'),
|
| 657 |
+
]
|
| 658 |
+
val_cfg = dict()
|
| 659 |
+
val_dataloader = dict(
|
| 660 |
+
batch_size=128,
|
| 661 |
+
dataset=dict(
|
| 662 |
+
ann_file=
|
| 663 |
+
'/abyss/home/Datasets/PigeonBenchmark/N6000/MAAP3D_Annotation/COCO_Val_N6000.json',
|
| 664 |
+
bbox_file=None,
|
| 665 |
+
data_mode='topdown',
|
| 666 |
+
data_prefix=dict(img=''),
|
| 667 |
+
data_root='/abyss/home/Datasets/PigeonBenchmark/N6000',
|
| 668 |
+
metainfo=dict(
|
| 669 |
+
dataset_name='coco',
|
| 670 |
+
joint_weights=[
|
| 671 |
+
1.0,
|
| 672 |
+
1.0,
|
| 673 |
+
1.0,
|
| 674 |
+
1.0,
|
| 675 |
+
1.0,
|
| 676 |
+
1.0,
|
| 677 |
+
1.0,
|
| 678 |
+
1.0,
|
| 679 |
+
1.0,
|
| 680 |
+
],
|
| 681 |
+
keypoint_info=dict({
|
| 682 |
+
0:
|
| 683 |
+
dict(color=[
|
| 684 |
+
255,
|
| 685 |
+
0,
|
| 686 |
+
0,
|
| 687 |
+
], id=0, name='hd_beak', swap=''),
|
| 688 |
+
1:
|
| 689 |
+
dict(color=[
|
| 690 |
+
255,
|
| 691 |
+
0,
|
| 692 |
+
0,
|
| 693 |
+
], id=1, name='hd_nose', swap=''),
|
| 694 |
+
2:
|
| 695 |
+
dict(
|
| 696 |
+
color=[
|
| 697 |
+
255,
|
| 698 |
+
0,
|
| 699 |
+
0,
|
| 700 |
+
],
|
| 701 |
+
id=2,
|
| 702 |
+
name='hd_leftEye',
|
| 703 |
+
swap='hd_rightEye'),
|
| 704 |
+
3:
|
| 705 |
+
dict(
|
| 706 |
+
color=[
|
| 707 |
+
255,
|
| 708 |
+
0,
|
| 709 |
+
0,
|
| 710 |
+
],
|
| 711 |
+
id=3,
|
| 712 |
+
name='hd_rightEye',
|
| 713 |
+
swap='hd_leftEye'),
|
| 714 |
+
4:
|
| 715 |
+
dict(color=[
|
| 716 |
+
255,
|
| 717 |
+
0,
|
| 718 |
+
0,
|
| 719 |
+
], id=4, name='bp_topKeel', swap=''),
|
| 720 |
+
5:
|
| 721 |
+
dict(color=[
|
| 722 |
+
255,
|
| 723 |
+
0,
|
| 724 |
+
0,
|
| 725 |
+
], id=5, name='bp_bottomKeel', swap=''),
|
| 726 |
+
6:
|
| 727 |
+
dict(
|
| 728 |
+
color=[
|
| 729 |
+
255,
|
| 730 |
+
0,
|
| 731 |
+
0,
|
| 732 |
+
],
|
| 733 |
+
id=6,
|
| 734 |
+
name='bp_leftShoulder',
|
| 735 |
+
swap='bp_rightShoulder'),
|
| 736 |
+
7:
|
| 737 |
+
dict(
|
| 738 |
+
color=[
|
| 739 |
+
255,
|
| 740 |
+
0,
|
| 741 |
+
0,
|
| 742 |
+
],
|
| 743 |
+
id=7,
|
| 744 |
+
name='bp_rightShoulder',
|
| 745 |
+
swap='bp_leftShoulder'),
|
| 746 |
+
8:
|
| 747 |
+
dict(color=[
|
| 748 |
+
255,
|
| 749 |
+
0,
|
| 750 |
+
0,
|
| 751 |
+
], id=8, name='bp_tail', swap='')
|
| 752 |
+
}),
|
| 753 |
+
sigmas=[
|
| 754 |
+
0.025,
|
| 755 |
+
0.025,
|
| 756 |
+
0.025,
|
| 757 |
+
0.025,
|
| 758 |
+
0.025,
|
| 759 |
+
0.025,
|
| 760 |
+
0.025,
|
| 761 |
+
0.025,
|
| 762 |
+
0.025,
|
| 763 |
+
],
|
| 764 |
+
skeleton_info=dict({
|
| 765 |
+
0:
|
| 766 |
+
dict(color=[
|
| 767 |
+
255,
|
| 768 |
+
0,
|
| 769 |
+
0,
|
| 770 |
+
], link=(
|
| 771 |
+
'hd_beak',
|
| 772 |
+
'hd_nose',
|
| 773 |
+
)),
|
| 774 |
+
1:
|
| 775 |
+
dict(color=[
|
| 776 |
+
255,
|
| 777 |
+
0,
|
| 778 |
+
0,
|
| 779 |
+
], link=(
|
| 780 |
+
'hd_leftEye',
|
| 781 |
+
'hd_nose',
|
| 782 |
+
)),
|
| 783 |
+
10:
|
| 784 |
+
dict(color=[
|
| 785 |
+
255,
|
| 786 |
+
0,
|
| 787 |
+
0,
|
| 788 |
+
], link=(
|
| 789 |
+
'bp_tail',
|
| 790 |
+
'bp_bottomKeel',
|
| 791 |
+
)),
|
| 792 |
+
2:
|
| 793 |
+
dict(color=[
|
| 794 |
+
255,
|
| 795 |
+
0,
|
| 796 |
+
0,
|
| 797 |
+
], link=(
|
| 798 |
+
'hd_rightEye',
|
| 799 |
+
'hd_nose',
|
| 800 |
+
)),
|
| 801 |
+
3:
|
| 802 |
+
dict(
|
| 803 |
+
color=[
|
| 804 |
+
255,
|
| 805 |
+
0,
|
| 806 |
+
0,
|
| 807 |
+
], link=(
|
| 808 |
+
'hd_leftEye',
|
| 809 |
+
'hd_rightEye',
|
| 810 |
+
)),
|
| 811 |
+
4:
|
| 812 |
+
dict(
|
| 813 |
+
color=[
|
| 814 |
+
255,
|
| 815 |
+
0,
|
| 816 |
+
0,
|
| 817 |
+
],
|
| 818 |
+
link=(
|
| 819 |
+
'bp_leftShoulder',
|
| 820 |
+
'bp_rightShoulder',
|
| 821 |
+
)),
|
| 822 |
+
5:
|
| 823 |
+
dict(
|
| 824 |
+
color=[
|
| 825 |
+
255,
|
| 826 |
+
0,
|
| 827 |
+
0,
|
| 828 |
+
],
|
| 829 |
+
link=(
|
| 830 |
+
'bp_leftShoulder',
|
| 831 |
+
'bp_topKeel',
|
| 832 |
+
)),
|
| 833 |
+
6:
|
| 834 |
+
dict(
|
| 835 |
+
color=[
|
| 836 |
+
255,
|
| 837 |
+
0,
|
| 838 |
+
0,
|
| 839 |
+
],
|
| 840 |
+
link=(
|
| 841 |
+
'bp_rightShoulder',
|
| 842 |
+
'bp_topKeel',
|
| 843 |
+
)),
|
| 844 |
+
7:
|
| 845 |
+
dict(
|
| 846 |
+
color=[
|
| 847 |
+
255,
|
| 848 |
+
0,
|
| 849 |
+
0,
|
| 850 |
+
],
|
| 851 |
+
link=(
|
| 852 |
+
'bp_topKeel',
|
| 853 |
+
'bp_bottomKeel',
|
| 854 |
+
)),
|
| 855 |
+
8:
|
| 856 |
+
dict(
|
| 857 |
+
color=[
|
| 858 |
+
255,
|
| 859 |
+
0,
|
| 860 |
+
0,
|
| 861 |
+
], link=(
|
| 862 |
+
'bp_leftShoulder',
|
| 863 |
+
'bp_tail',
|
| 864 |
+
)),
|
| 865 |
+
9:
|
| 866 |
+
dict(
|
| 867 |
+
color=[
|
| 868 |
+
255,
|
| 869 |
+
0,
|
| 870 |
+
0,
|
| 871 |
+
],
|
| 872 |
+
link=(
|
| 873 |
+
'bp_rightShoulder',
|
| 874 |
+
'bp_tail',
|
| 875 |
+
))
|
| 876 |
+
})),
|
| 877 |
+
pipeline=[
|
| 878 |
+
dict(type='LoadImage'),
|
| 879 |
+
dict(type='GetBBoxCenterScale'),
|
| 880 |
+
dict(input_size=(
|
| 881 |
+
256,
|
| 882 |
+
256,
|
| 883 |
+
), type='TopdownAffine'),
|
| 884 |
+
dict(type='PackPoseInputs'),
|
| 885 |
+
],
|
| 886 |
+
test_mode=True,
|
| 887 |
+
type='CocoDataset'),
|
| 888 |
+
drop_last=False,
|
| 889 |
+
num_workers=0,
|
| 890 |
+
persistent_workers=False,
|
| 891 |
+
sampler=dict(round_up=False, shuffle=False, type='DefaultSampler'))
|
| 892 |
+
val_evaluator = [
|
| 893 |
+
dict(thr=0.05, type='PCKAccuracy'),
|
| 894 |
+
dict(type='AUC'),
|
| 895 |
+
]
|
| 896 |
+
val_pipeline = [
|
| 897 |
+
dict(type='LoadImage'),
|
| 898 |
+
dict(type='GetBBoxCenterScale'),
|
| 899 |
+
dict(input_size=(
|
| 900 |
+
256,
|
| 901 |
+
256,
|
| 902 |
+
), type='TopdownAffine'),
|
| 903 |
+
dict(type='PackPoseInputs'),
|
| 904 |
+
]
|
| 905 |
+
vis_backends = [
|
| 906 |
+
dict(type='LocalVisBackend'),
|
| 907 |
+
]
|
| 908 |
+
visualizer = dict(
|
| 909 |
+
name='visualizer',
|
| 910 |
+
type='PoseLocalVisualizer',
|
| 911 |
+
vis_backends=[
|
| 912 |
+
dict(type='LocalVisBackend'),
|
| 913 |
+
])
|
| 914 |
+
work_dir = '/abyss/home/Datasets/PigeonBenchmark/N6000/MMPoseModels/hrnet_N6000'
|