-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Conversation
I have tested in my computer, it build ok. terminate called after throwing an instance of 'std::runtime_error' use cpu seems will not converge. Seems I need more time to see what changes baidu had made. |
@flyingmouse can you run warpctc examples in your machine? |
@xlvector I have tested on my virtual machine and AWS g2 instance (both Ubuntu 14.04). In CPU mode if I change ctcComputeInfo to ctcOptions, there is no longer compilation error (otherwise the compilation doesn't pass with the error above, cf. issue #3747 ). I've also added the Warpctc bulid path to LD_LIBRARY_PATH. But when I run toy_ctc, it displays:
In GPU mode the execution fails after two batches:
|
Thanks , I will try to fix this by review code changes in baidu-ctc this weekend. |
use this old git code |
@xlvector ,Have you fix this? I met the same problem! |
Seems this PR cause error baidu-research/warp-ctc#47 |
baidu-research/warp-ctc#46 I have also test failed with GTX 1080 in latest warpctc master. Seems the easiest fix is to change this document and let other people use my fork (an old version). @piiswrong do you think this is OK? I will spend more time to check this PR (baidu-research/warp-ctc#47) |
@xlvector I use chstone/mxnet-gpu docker image and integrate latest warpctc,it seems work.So old version mxnet work well with latest warpctc? |
@xlvector So this PR doesn't fix the error? |
@lushuicongsheng latest mxnet works with old warp-ctc. Can you test without docker? And what's your card? Are you run under CPU or GPU? @piiswrong Yes, this PR does not fix problem. |
Ok. Then let's use old ctc. Could you add a comment on this line to tell people to rollback ctc? |
@xlvector I got no machine with gpu personal,so i can only use docker in centos7. The card is GeForce GTX 950. I install the latest baidu warpctc by following the readme,and change ctcComputeInfo to ctcOptions by above tip.Then it build success,and can both run under GPU and CPU. |
when run the example, I meet the error AttributeError: 'module' object has no attribute 'WarpCTC',who tell me what's wrong? |
Up to now , it seems still not solution for this point. I following younfor's advise to use the newest of mxnet and warp-ctc reset to 5bfb46e83bcb338a09fbf875cb0b02bc39746b36 (git reset --hard ). Now I can build and run in GPU correctly (ubuntu14.04 + GTX1080 in docker.) Additional, if you use GTX1080 the same as me , please reference to another answer by me to solve warp-ctc error in GTX1080. 看起来这里好多中国人哈哈。。。 |
@BrianZhu01 Please review this guiding page. you have to enable warp-ctc in mxnet. |
I think @BobLiu20's solution should work for now until we support updated warpctc So we should change this line to notify users: |
@BobLiu20 ,我解决了,更换版本就好了,另外config.mk必须是mxnet的根目录,readme有点歧义,让改make/下的config.mk, 改完需要替换到根目录了, |
Should have been solved |
Fix of "plugin/warpctc/./warpctc-inl.h:129:5: error: 'ctcComputeInfo' was not declared in this scope" according to issue #3747