mmpose/tests/test_utils
Yining Li 63d7696c19
[Refactor] Add topdown pose estimator and keypoint codecs (#1493)
* add BasePoseEstimator class

* add base topdown modules

* add heatmap head

* handle compatibility to old version state dict

* add codec interface and registry

* add docstrings

* add codecs

* codec use [N,K,C]/[K,C,H,W] as keypoints/heatmaps shape

* refactor pipeline and heatmap head based on codec

* raise error if gt_instances is missing

* Rename classfication_loss.py to classification_loss.py

fix a typo: classfication -> classification

* organize tests/

* add unittest

* remove deprecated unittest

* add codec unittest

* resolve comments

* update docstrings

* organize tests

* add error test in ut

* add test_legacy

* reorganize tests/

* fix unittest

Co-authored-by: Tau <674106399@qq.com>
2022-07-20 21:03:13 +08:00
..
test_setup_env.py [Refactor] Add topdown pose estimator and keypoint codecs (#1493) 2022-07-20 21:03:13 +08:00