Closed jinserk closed 6 years ago
Awesome thanks for this! I'll pull this in once the next version of PyTorch comes out that require these changes, till then I'll verify that this converges/works correctly based off the master branch.
Well, actually the PyTorch v0.4.1 is already available from their official repo, but its torch.__version__
shows 0.5.0a0+35f7925
, which means that we need to prepare the version at once. Previous warp-ctc couldn't be compiled with v0.4.1. :)
Thanks so much for doing this @jinserk :)
Hi, I'd like to send PR for updating for pytorch 0.5.0 and adding 'blank' option to point which index is blank label. Not sure the modification is rigorous or correct but it passed the tests/test_cpu.py and tests/test_gpu.py both.
Thanks, Jinserk