githubharald / CTCWordBeamSearch

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

#Issue in running Custom TF operation #53

Closed jishmab closed 3 years ago

jishmab commented 3 years ago

If you create a new issue, please provide the following information:

  1. Which program causes the problem

    • Custom TF operation
    • NumPy operation (Python package)
    • C++ test program
    • Python prototype
  2. Versions

    • TensorFlow version
    • Python version
    • C++ compiler
    • Operating system
  3. Issue

    • Which result/error did you get?
    • If you think the result is wrong - what result did you expect instead?
    • How to reproduce the issue?
    • Provide all necessary data, at least these files: chars.txt, wordChars.txt, corpus.txt, gt_X.txt, mat_X.csv
jishmab commented 3 years ago

Dear sir, I can't find the file "TFWordBeamSearch.so" in the path "../cpp/proj/TFWordBeamSearch.so". So I can't run the Custom TF operation.

jjsr commented 3 years ago

Hello , You need to compile it yourself . And it will work only in Linux flavour in readme it is also mentioned and you may look for other closed issue as well One thing I have tried that - I compiled .so file in Linux and copied it back on my windows but it didn't work as tf does not support custom operation . I find it after few days of trying . I know I am slow but still hopes it helped .. sorry I presumed you working on windows . If linux then you have to follow readme instructions

githubharald commented 3 years ago

you have to compile the C++ code first --> see README.

jishmab commented 3 years ago

Thank you for your response