SURFZJY / EAST-caffe

A Caffe implementation of EAST text detector
MIT License
17 stars 8 forks source link

运行训练的环境 #5

Open lqian opened 4 years ago

lqian commented 4 years ago

这项目太棒了,给学习文本定位技术一个非常好的源码可学习。我在ubuntu 16.04 LTS, python 2.7,ssd-chuanqi305的caffe环境下,编译geo_map_cython_lib, caffe, pycaffe成功,运行出现问题,错误代码如下

$ python train.py --dataset ic15 -gpu 0
 File "/home/link/EAST-caffe/icdar.py", line 13, in 
    from geo_map_cython_lib import gen_geo_map
ImportError: No module named geo_map_cython_lib

请问是运行环境不一样吗,还是我哪里出现了错误?

SURFZJY commented 4 years ago

Maybe your geo_map_cython_lib was not compiled successfully, you can uncomment the line 598-608 and 615-616 in icdar.py and do not use the geo_map_cython_lib .

lqian commented 4 years ago

Is geo_map_cython_lib not necessary?

SURFZJY commented 4 years ago

Is geo_map_cython_lib not necessary?

It can accelerate the training process over 10x. It not necessary.