TeViT icon indicating copy to clipboard operation
TeViT copied to clipboard

'DataContainer' object is not iterable

Open assia855 opened this issue 2 years ago • 4 comments

Hello, Thank you for publishing this awesome work. I'm struggling with this error while testing tevit on one image.

result = inference_detector(model, img) File "/mmdetection/tevit/mmdet/apis/inference.py", line 137, in inference_detector data['img_metas'] = [img_metas.data[0] for img_metas in data['img_metas']] TypeError: 'DataContainer' object is not iterable

Thanks in advance.

assia855 avatar Jan 06 '23 14:01 assia855

I got the same error, did you fix that?

yiiiichennn-w avatar Jan 20 '23 06:01 yiiiichennn-w

@yiiiichennn-w no I couldn't

assia855 avatar Jan 20 '23 10:01 assia855

Same error by here

ignpaub avatar Aug 11 '23 11:08 ignpaub

I got the same error, did you fix that?

sym330 avatar Jan 04 '24 13:01 sym330