mcf06 / theano_ctc

Theano bindings for Baidu's CTC library.
BSD 3-Clause "New" or "Revised" License
20 stars 5 forks source link

'computeInfo' was not declared in this scope #14

Open aglotero opened 7 years ago

aglotero commented 7 years ago

I'm trying to run the tests (using GPU and CPU) and in both cases I got a compiler error.

The environment variable set as

export CTC_LIB=/export/warp-ctc

and warp-ctc is working:

root@12171:/export/theano_ctc# $CTC_LIB/build/test_gpu
Running GPU tests
Tests pass
root@12171:/export/theano_ctc# $CTC_LIB/build/test_cpu
Running CPU tests
Tests pass
root@12171:/export/theano_ctc#

The execution logs are here:

error_gpu.txt error_cpu.txt

What I'm missing?

Regards, André

david-leon commented 7 years ago

@mcf06 Same problem here, error raised during compilation: mod.cu(569): error: identifier "ctcComputeInfo" is undefined

david-leon commented 7 years ago

@mcf06 Turns out the newly update of warp-ctc changed its API a bit. Check the issue https://github.com/baidu-research/warp-ctc/issues/53 here. After comparing the codes, the version 2 warp-ctc changes ctcComputeInfo to ctcOptions and adds a new param blank_label.