mlpc-ucsd / TESTR

(CVPR 2022) Text Spotting Transformers
Apache License 2.0
179 stars 22 forks source link

Shape is invalid for input size #2

Closed hao3830 closed 2 years ago

hao3830 commented 2 years ago

Hi everyone I'm facing with this problem when I try to run train_net.py: image

What is testr.num_ctrl_points? why it is 16? I hope to get some suggestions. Thank you a lot.

zx1239856 commented 2 years ago

Please carefully follow the guidelines and don't mix the Bezier and polygonal annotations. We use 8 control points for Bezier and 16 for polygons, and the number is fixed, as mentioned in the main paper.