Open Alasri-A opened 6 years ago
I faced the same issue. The possible reasons are that either you have missed the python setup.py install or you can try to check the path where setup.py writes is different from the python's default path.
Hi Keshav-Aggarwal,
Same problem here. Setup.py in ctc/python looks like this in my system:
from distutils.core import setup setup(name='ctc', version='0.1', packages=['ctc'], package_dir={'ctc': '.'}, package_data={'ctc' : ['../build/libwarpctc.*']} )
Which row should I change so that it would go right. Or tell me where it is writing now? @getabegaz
First, clone ctc (https://github.com/sherjilozair/ctc) into ba-dls-deepspeech repository and then follow the instructions on https://github.com/sherjilozair/ctc to install warp-ctc first using cmake. Then direct the the python directory in ctc and run: "sudo python setup.py install". I was able to run test.py by doing so and erased all subsequent errors with regards to ctc.
I am trying to run the train.py . but I get this error: AttributeError: module 'ctc' has no attribute 'cpu_ctc_th'