mxin262 / ESTextSpotter

(ICCV 2023) ESTextSpotter: Towards Better Scene Text Spotting with Explicit Synergy in Transformer
72 stars 7 forks source link

Return empty OrderedDict() when testing #10

Open Michel-liu opened 10 months ago

Michel-liu commented 10 months ago

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.

mxin262 commented 10 months ago

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

Michel-liu commented 10 months ago

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!

mxin262 commented 10 months ago

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

ASmalFish commented 2 months ago

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