ESTextSpotter icon indicating copy to clipboard operation
ESTextSpotter copied to clipboard

Return empty OrderedDict() when testing

Open Michel-liu opened this issue 2 years ago • 4 comments

Hi~ Thanks for your work. When I try to evaluate the performance of the pretrain ckpt, I got the empty OrderedDict() as follows, image

I have tried the following evaluation commands, bash scripts/test.sh config/ESTS/ESTS_5scale_pretrain.py ./datasets 0 ./pretrain.pth totaltext_val, bash scripts/test.sh config/ESTS/ESTS_5scale_pretrain.py ./datasets 1 ./pretrain.pth totaltext_val, bash scripts/test.sh config/ESTS/ESTS_5scale_tt_finetune.py ./datasets 0 ./pretrain.pth totaltext_val and bash scripts/test.sh config/ESTS/ESTS_5scale_tt_finetune.py ./datasets 0 ./pretrain.pth totaltext_val, all failed.

Michel-liu avatar Dec 24 '23 02:12 Michel-liu

Hi, is the path for the GT and lexicon correct?

mxin262 avatar Dec 27 '23 08:12 mxin262

Hi~ My directory structure is as follows: image image

I didn't modify the paths for GT or lexicon settings. I just put the totaltext dataset in ./datasets and ran the evaluation code. image

How can I link the GT or lexicon path with the evaluation code? Thanks!

Michel-liu avatar Dec 27 '23 09:12 Michel-liu

Hi~, I update the evaluation. You can fix this by updating the this file.

mxin262 avatar Dec 28 '23 04:12 mxin262

Has this problem been solved? I also encountered the same problem

ASmalFish avatar Aug 26 '24 13:08 ASmalFish