ZJULearning / pixel_link

Implementation of our paper 'PixelLink: Detecting Scene Text via Instance Segmentation' in AAAI2018

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

后处理速度很慢

fujingling opened this issue · comments

后处理速度比EAST慢太多了
pixel_link.decode_batch(pixel_pos_scores, link_pos_scores)[0, ...]这个方法太耗时了,有没有什么改进方法吗?

后处理速度比EAST慢太多了
pixel_link.decode_batch(pixel_pos_scores, link_pos_scores)[0, ...]这个方法太耗时了,有没有什么改进方法吗?

作者写了个假的cython代码。。数据格式还都是python的,这样运行的时候需要将python的数据转化为c的数据格式,速度非常慢,你可以学习用真正的cython把作者的cython代码改写一下,后处理速度可以提升100-1000倍。