Traceback (most recent call last):


 "tools/test.py", line 220, in <module>

main()


 "tools/test.py", line 197, in main

args.gpu_collect)


 "/home/SENSETIME/zhangshilong/Desktop/openmmlab_prs/debug_ddp/mmdetection/mmdet/apis/test.py", line 98, in multi_gpu_test

result = model(return_loss=False, rescale=True, **data)


 "/home/SENSETIME/zhangshilong/Desktop/openmmlab_prs/debug_ddp/mmdetection/torch/nn/modules/module.py", line 889, in _call_impl

result = self.forward(*input, **kwargs)


 "/home/SENSETIME/zhangshilong/Desktop/openmmlab_prs/debug_ddp/mmdetection/torch/nn/parallel/distributed.py", line 706, in forward

output = self.module(*inputs[0], **kwargs[0])


 "/home/SENSETIME/zhangshilong/Desktop/openmmlab_prs/debug_ddp/mmdetection/torch/nn/modules/module.py", line 889, in _call_impl

result = self.forward(*input, **kwargs)


 "/home/SENSETIME/zhangshilong/Desktop/openmmlab_prs/debug_ddp/mmdetection/mmcv/runner/fp16_utils.py", line 84, in new_func

return old_func(*args, **kwargs)


 "/home/SENSETIME/zhangshilong/Desktop/openmmlab_prs/debug_ddp/mmdetection/mmdet/models/detectors/base.py", line 183, in forward

return self.forward_test(img, img_metas, **kwargs)


 "/home/SENSETIME/zhangshilong/Desktop/openmmlab_prs/debug_ddp/mmdetection/mmdet/models/detectors/base.py", line 150, in forward_test

img_meta[img_id]['batch_input_shape'] = tuple(img.size()[-2:])
TypeError: 'DataContainer' object is not subscriptable

Traceback (most recent call last):


 "tst.py", line 8, in <module>

BaseCursorResult(context, CursorFetchStrategy() , None).lastrowid


 "/Users/jtzero/.local/share/virtualenvs/persistor-YNkITIws/lib/python3.8/site-packages/sqlalchemy/engine/cursor.py", line 1648, in lastrowid

self.cursor_strategy.handle_exception(self, e)
TypeError: handle_exception() missing 1 required positional argument: 'err'
