Open kulkarnikeerti opened 2 years ago
Hi,
I get error in this line as ValueError: too many dimensions 'str'. I tried to search for the error, the reason I found is that the tensors can only have numerical data. But the image_id is a string. Can someone help me with this? Or am I doing something wrong? https://github.com/facebookresearch/detr/blob/091a817eca74b8b97e35e4531c1c39f89fbe38eb/datasets/coco_panoptic.py#L52
ValueError: too many dimensions 'str'
image_id
Hi,
I get error in this line as
ValueError: too many dimensions 'str'
. I tried to search for the error, the reason I found is that the tensors can only have numerical data. But theimage_id
is a string. Can someone help me with this? Or am I doing something wrong? https://github.com/facebookresearch/detr/blob/091a817eca74b8b97e35e4531c1c39f89fbe38eb/datasets/coco_panoptic.py#L52