ZJULearning / pixel_link

Implementation of our paper 'PixelLink: Detecting Scene Text via Instance Segmentation' in AAAI2018
MIT License
767 stars 254 forks source link

后处理速度很慢 #133

Open fujingling opened 5 years ago

fujingling commented 5 years ago

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

zuokai commented 4 years ago

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

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