githubharald / CTCWordBeamSearch

Connectionist Temporal Classification (CTC) decoder with dictionary and language model.
https://towardsdatascience.com/b051d28f3d2e
MIT License
557 stars 160 forks source link

./buildTF.sh giving compile errors #56

Closed pankaja0285 closed 3 years ago

pankaja0285 commented 3 years ago
  1. Cloned the CTCWordBeamSearch repo
  2. cd to CPP/proj/tf
  3. Tried to compile the package in Ubuntu by issuing the ./build.sh command and I get the following error buildTF_error

Not sure how to go about fixing the issue. I did try in anaconda and windows powershell as well. I get the same error in all the environments.

Please advice.

githubharald commented 3 years ago

seems to be due to different linebreaks, e.g. checked out on Windows, then executed on Linux (either change to Linux linebreaks, or check out on Linux directly). However, I recommend using the Python package installation (pip install .) instead of using the TF custom operation. See section "NumPy Operation" in README.

githubharald commented 3 years ago

closing because of inactivity