noahchalifour / rnnt-speech-recognition

End-to-end speech recognition using RNN Transducers in Tensorflow 2.0
MIT License
240 stars 78 forks source link

error setting up rent loss in macOS #38

Open Manish-rai21bit opened 3 years ago

Manish-rai21bit commented 3 years ago

Hi,

Great work setting up this repo. I am working on a Mac OS and have a gcc 4.2. I run into this error when trying to setup run loss using this script bash script/build.sh:

`CMake Error at /Users/mr/Desktop/venv-asr/lib/python3.7/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/CMakeDetermineCCompiler.cmake:48 (message): Could not find compiler set in environment variable CC:

gcc-4.8. Call Stack (most recent call first): CMakeLists.txt:7 (project)

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "/Users/mr/Desktop/vt-voice-to-text/rnnt-speech-recognition/warp-transducer/build/CMakeFiles/CMakeOutput.log". make: *** No targets specified and no makefile found. Stop. scripts/build_rnnt.sh: line 11: cd: ../tensorflow_binding: No such file or directory python: can't open file 'setup.py': [Errno 2] No such file or directory`

I am not able to resolve this issue. Can someone help me here?

noahchalifour commented 3 years ago

@Manish-rai21bit Try running chmod +x ./scripts/build_rnnt.sh followed by ./scripts/build_rnnt.sh