aster icon indicating copy to clipboard operation
aster copied to clipboard

Testing speed is slow

Open RuijieJ opened this issue 4 years ago • 1 comments

The testing speed reported in the paper is 20ms/image. I modified demo.py and did recognition on the ICDAR 2003 dataset, and print the average recognition time. The following is the modified code (the red boxes indicate my modifications):

image

I used a single NVIDIA Tesla V100 GPU to do the recognition. I ignore the time comsumption of reading image, so the recognition time has nothing to do with the disk. And the output is:

Avg time = 693.183ms

which is larger than 20ms. I wonder is there something wrong with my modification? I would be appreciated if my question can be answered.

RuijieJ avatar Jun 01 '20 06:06 RuijieJ

As mentioned by #67 and #42 , the model restoring step is very slow (~10min). I wonder is there any connection between model restoring speed and recognition speed.

RuijieJ avatar Jun 01 '20 08:06 RuijieJ