mmpose icon indicating copy to clipboard operation
mmpose copied to clipboard

code bug

Open ericzw opened this issue 2 years ago • 1 comments

image

in line 99: img_path = data_batch[0]['data_sample'].get('img_path')

I find that data_batch is a dict, including #dict_keys(['inputs', 'data_samples']).

ericzw avatar Jan 11 '23 15:01 ericzw

Thank you very much for your kind reminder. This bug has been fixed in branch dev-1.x (https://github.com/open-mmlab/mmpose/pull/1800) but not in branch 1.x. You can modify the code following https://github.com/open-mmlab/mmpose/pull/1800 to fix the problem. Moreover, it would be much appreciated if you could raise a PR to fix this bug in branch 1.x

Ben-Louis avatar Jan 11 '23 15:01 Ben-Louis