senlinuc / caffe_ocr

主流ocr算法研究实验性的项目,目前实现了CNN+BLSTM+CTC架构
1.26k stars 535 forks source link

undefined Layer -WarpCTCLoss #19

Open AllenDuane opened 6 years ago

AllenDuane commented 6 years ago

我把代码改到linux下了 ,编译通过但是训练时提示undefined Layer -WarpCTCLoss ?

prfans commented 6 years ago

USE_WARP_CTC未开启?

AllenDuane commented 6 years ago

@prfans 应该是 可是这个开启写在哪里?

prfans commented 6 years ago

工程配置里有个c/cpp预编译宏。

senlinuc commented 6 years ago

嗯,需要打开USE_WARP_CTC,或者把warp_ctc_loss_layer.cpp/.cu中的#ifdef USE_WARP_CTC删掉也行

AllenDuane commented 6 years ago

好的 ~ 多谢了