mmpose
                                
                                
                                
                                    mmpose copied to clipboard
                            
                            
                            
                        code bug
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']).
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