-
Notifications
You must be signed in to change notification settings - Fork 59
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
why so slow? #50
Comments
It seems too many boxes before NMS. May I ask which dataset you used? |
The image mentioned before is my own test image. And the model used is from your readme.md. |
And I found the cost time is not stable, maybe 10s this time or 3s next time. |
That's strange. The NMS consumes little time, I think you should check your GPU first, it maybe run with CPU. You can also debug the detection branch first with EAST. |
(fots) root@test-desktop:~/like/fots/FOTS_TF# python3.5 main_test.py --gpu_list='1' --test_data_path=test/ --checkpoint_path=checkpoints/SynthText_6_epochs/ The cost time is reduced, but fps is lower than the paper mentioned. the east result: (east) root@test-desktop:~/like/east/EAST# python eval.py --test_data_path=/home/test/like/fots/FOTS_TF/test/ --gpu_list=0 --checkpoint_path=east_icdar2015_resnet_v1_50_rbox/ --output_dir=. Is because of the ResNet50 too complicated? |
中文的识别结果,为啥都是字母和数字: 404,407,710,414,709,472,402,464,h-1y51e7hi5 |
你好,因为模型是在英文数据集上训练的,所以无法直接用在中文数据集上,您可以修改一下代码,然后finetune一下。至于达不到论文中的FPS,这可能是因为我本身能力有限,代码不是那么完美,也可能和硬件设备有一些关系。 |
明白了,已经很赞了。 |
您的意思是只有水平文本吗(没有倾斜之类的)?那您可以试一下CTPN+CTC的结构,网上也有很多实现比如这个 |
是的,就像上面的软件界面,基本都是水平文本。 |
尝试了一下,上面那张图需要2.5秒左右的时间。 |
https://github.com/ouyanghuiyu/chineseocr_lite |
抱歉,目前我没有这样的计划,您可以看一下别的关于FOTS的复现。 |
了解了。 |
你好我想请问一下,我试图使用你发布的预训练模型在中文数据集上进行微调训练,却发生无法加载模型的报错。请问该怎么修改代码呢 |
Find 1 images
6055 text boxes before nms
test/screenshot.png : detect 3372ms, restore 5ms, nms 147ms, recog 4796ms
[timing] 8.196640491485596
The text was updated successfully, but these errors were encountered: