Multi-Type-TD-TSR
Multi-Type-TD-TSR copied to clipboard
list index out of range error
Hi, I was trying to run the model on the below image:
in Colab with following command:
!python /content/Multi_Type_TD_TSR/scripts/tsr.py --folder=/content/images --type="partially_color_inv" --img_output=/content/img_output --xml_output=/content/xml_output
But I was getting the below error:
Traceback (most recent call last): File "/content/Multi_Type_TD_TSR/scripts/tsr.py", line 30, in <module> boxes, img_processed = type_dict[args.type].recognize_structure(img) File "/content/Multi_Type_TD_TSR/scripts/TSR/table_structure_recognition_all.py", line 208, in recognize_structure center = [int(row[index][j][0] + row[index][j][2] / 2) for j in range(len(row[index]))] IndexError: list index out of range
Not sure though I have provided the correct value of 'type' flag over here.
I have a same problem,could u solve it
sir ,i solved this problem ,that is your wrong 'type'
i also have the same problem, could u tell me what is the wrong 'type'