Giter Site home page Giter Site logo

Comments (8)

InSightSuen avatar InSightSuen commented on May 24, 2024

the VCTK_CORPUS_PATH should be like "*/VCTK-Corpus/wav48"

from tensorflow-ctc-speech-recognition.

philipperemy avatar philipperemy commented on May 24, 2024

@InSightSuen thanks for answering :)

from tensorflow-ctc-speech-recognition.

ccpyo avatar ccpyo commented on May 24, 2024

Thanks a lot, but I have another question for it.I make it have the correct datapath, but it shows another error now.It doesn't make any cache file in that directory.Did I miss any step with that?

C:\Users\OAQ\ctc-speech>python generate_audio_cache.py
{'AUDIO': {'SAMPLE_RATE': 8000, 'VCTK_CORPUS_PATH': '/tmp/p225/wav48/'}}
Initializing AudioReader()
audio_dir = /tmp/p225/wav48/
sample_rate = 8000
speakers_sub_list = ['p225']
Nothing found at /tmp/tensorflow-ctc-speech-recognition/. Generating all the caches now.
Found 231 files in total in /tmp/p225/wav48/.
231 files correspond to the speaker list ['p225'].
Traceback (most recent call last):
File "generate_audio_cache.py", line 18, in
generate()
File "generate_audio_cache.py", line 14, in generate
speakers_sub_list=speakers_sub_list)
File "C:\Users\OAQ\ctc-speech\audio_reader.py", line 77, in init
with open(tmp_filename, 'wb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tensorflow-ctc-speech-recognition/wav48\p225\p225_001_cache.pkl'

from tensorflow-ctc-speech-recognition.

philipperemy avatar philipperemy commented on May 24, 2024

@ccpyo yes you have to generate the cache.

from tensorflow-ctc-speech-recognition.

philipperemy avatar philipperemy commented on May 24, 2024

python3 generate_audio_cache.py

from tensorflow-ctc-speech-recognition.

philipperemy avatar philipperemy commented on May 24, 2024

https://github.com/philipperemy/tensorflow-ctc-speech-recognition#how-to-get-started

from tensorflow-ctc-speech-recognition.

ccpyo avatar ccpyo commented on May 24, 2024

I have already run that code, and that error message was occurred while I'm trying to generate the cache.

from tensorflow-ctc-speech-recognition.

philipperemy avatar philipperemy commented on May 24, 2024

@ccpyo maybe because you're running on Windows.

from tensorflow-ctc-speech-recognition.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.