mmpose icon indicating copy to clipboard operation
mmpose copied to clipboard

KeyError: 'MultiDatasetEvaluator is not in the mmpose::metric registry.

Open MingHanLee opened this issue 1 year ago • 3 comments

Prerequisite

  • [X] I have searched Issues and Discussions but cannot get the expected help.
  • [X] The bug has not been fixed in the latest version(https://github.com/open-mmlab/mmpose).

Environment

python -c "from mmpose.utils import collect_env; print(collect_env())" image

Reproduces the problem - code sample

Hello, I used my custom dataset using the H36M keypoints definition to evaluate the pre-trained DEKR. Therefore, I tried to use KeypointConverter to achieve this. I already installed the newest MMPose and MMEngine, but the error occurred, as shown below.

Here is my configuration file. image

Reproduces the problem - command or script

python tools/test.py

Reproduces the problem - error message

image

Additional information

No response

MingHanLee avatar Jan 05 '24 12:01 MingHanLee

Thanks for bringing this problem to our attention. We will investigate it soon. As you are using only one dataset for evaluation, you can try to set the content in 'metrics' to 'val_evaluator'.

Ben-Louis avatar Jan 19 '24 07:01 Ben-Louis

@MingHanLee I met the same question,can you solve it now?

arcfun avatar Jul 25 '24 18:07 arcfun