senlinuc / caffe_ocr

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

caffe使用的是哪个版本?caffe2.0? #15

Open zhousteven opened 6 years ago

zhousteven commented 6 years ago

你好: 我现在在将您的代码迁移到Linux,但是总是编译报错,请问,您使用的是caffe的哪个版本?

senlinuc commented 6 years ago

是caffe1.0,我改的比较乱,比较接近的应该是https://github.com/BVLC/caffe/releases/tag/rc5

zhousteven commented 6 years ago

另外有一个问题,你的protobuf用的是不是2.x呢?因为我用最新的protoc 3.x的话,set_label()这个函数就编译不通过,但是编译新的caffe版本就不会报错。这个只是烦请确认下

zhousteven commented 6 years ago

还有,能加你微信么?烦请协助我迁移到linux,编译通过后,我把linux版的代码贡献出来,如何?

zhousteven commented 6 years ago

能统计下,修改了caffe的哪些源文件么?

senlinuc commented 6 years ago

191238062,你加下我的QQ吧

zhousteven commented 6 years ago

要验证你的真实姓名,我还不知道大神贵姓,你把你姓名发我邮箱吧,wodebasketball@qq.com

senlinuc commented 6 years ago

现在不需要验证了,你再试试

sunxu123 commented 6 years ago

请问 @zhousteven 解决了linux版本的问题了吗?

zhousteven commented 6 years ago

链接:http://pan.baidu.com/s/1o8mQBjW 密码:irzd 大家有需要的可以先去这里下载,目前的demo程序还无法完全反应作者的思路,正在改,上述代码可以直接安装使用

senlinuc commented 6 years ago

赞一个

kasyoukin commented 6 years ago

zhousteven提供的linux版,使用CPU_ONLY可以正常编译 用USE_CUDNN编译就不行了

AllenDuane commented 6 years ago

@kasyoukin @zhousteven 我即便是CPU_ONLY也还是编译不过呀,一堆错误。。。

zhousteven commented 6 years ago

@kasyoukin 因为我的环境是没有GPU,所以USE_CUDNN没有测试,还请您完善后,分享最新的。不要运行测试代码,因为很多接口调用,并未修改相应的测试用例

kasyoukin commented 6 years ago

Linux下的大家可以试试 https://github.com/kasyoukin/caffe_ocr_for_linux