Where can cfg.data.test be used to test a model? #1663
Unanswered
julianzille
asked this question in
Q&A
Replies: 1 comment
-
Thanks for using MMPose. Only |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone. I am busy using mmpose for an animal pose-estimation project (largely following AP10K config/annotation) format.
I have a dataset split into train, val and test in my config file. I can track where the train and val datasets are used with
train_model(model, datasets, cfg, distributed=False, validate=True, meta=dict())
But I cannot see if/where the test dataset (cfg.data.test) is used anywhere... am I correct that its intended use is by functions in mmpose/apis/test.py? If so, I have been trying to test the model with cfg.data.test using single_gpu_test and multi_gpu_test as follows:
This yields an assertion error:
I am not entirely sure what 'img' and 'img_metas' are or how they work, but img.size(0) == 32 and len(img_metas) == 1.
Am I making an obvious error? Is this the correct approach?
Beta Was this translation helpful? Give feedback.
All reactions