mjq11302010044 / TATT

A Text Attention Network for Spatial Deformation Robust Scene Text Image Super-resolution (CVPR2022)
MIT License
167 stars 17 forks source link

IndexError: too many index for tensor of dimension 4 #10

Open foxbeing7 opened 2 years ago

foxbeing7 commented 2 years ago

Thanks for sharing ! when I testing with code vis = true. The error came up about : too many index for tensor of dimension 4 . I checked the size of the input , its (16, 1 , 32 , 100), what should i do next ?

foxbeing7 commented 2 years ago

I can't saving the result of images when recognizer is ASTER. in recognizer_builder.py line 79 . x = input_dict['images'], Too many index for tensor of dimension 4. I printed the input_dict its 4 dimension tensor. how to solve it ?

1093586578 commented 1 year ago

im having the same issue here, does anyone have any clue about it? really appreciate it

Uxasxie commented 1 year ago

im having the same issue here, does anyone have any clue about it? really appreciate it

Did u solve it?I met the same problem.Please help me