-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URGENT!!! TEDS score different from the one reported in the paper. #14575
Comments
Which version of PaddleOCR are you using? You can try switching to other versions such as 2.8 or 2.7. |
Then I tried with Note: I canceled the ocr.pickle and structure.pickle before every run. |
@GreatV , @jzhang533 , @wencan Could someone helps me to solve this issue ? I want to be sure that I am doing wrong and it is not a problem from Paddle's script ? |
As I mentioned in my note, three comments above, I canceled all the cached files before every run. |
Discussed in #14574
Originally posted by dimitri009 January 21, 2025
I already asked this but I didnt received any response.
As a report for a work I wanted to test the TEDS of various models but the TEDS score of SLANet on PubTabNet is different from the one reported in the documentations.
I downloaded SLANet from here and tested with PubTabNet but I ended with a TEDS of 0.468942475598164
code:
python3 ppstructure/table/eval_table.py --det_model_dir=output2/en_ppocr_mobile_v2.0_table_det_infer --rec_model_dir=output2/en_ppocr_mobile_v2.0_table_rec_infer --table_model_dir=output2/en_ppstructure_mobile_v2.0_SLANet_infer --image_dir=/data/Datasets/pubtabnet/pubtabnet/val_/ --rec_char_dict_path=ppocr/utils/dict/table_dict.txt --table_char_dict_path=ppocr/utils/dict/table_structure_dict.txt --det_limit_side_len=736 --det_limit_type=min --rec_image_shape=3,32,320 --gt_path=output2/gt_.txt
I would like to know if someone has tested the TEDS score and how he did it please it is urgent.
I checked image per image to see if the problem was my dataset it seems my dataset is ok, it just that the performance does not match the one in the paper.
as example here for the first image in dataset
`pred1 = '
true1 = '
from ppstructure.table.table_metric import TEDS
teds = TEDS()
score = teds.evaluate(pred1, true1)
print('TEDS score:', score)`
TEDS score: 0.3615999999999999
And I did the same for the firsts three images: [0.3615999999999999, 0.4781577297371583, 0.5670696970573337]
The text was updated successfully, but these errors were encountered: