Comments (5)
Hi,
I guess this is because your Windows path format is wrong.
Try --path='C:\\Users\\maria\\Allo\\train' or --path='C:/Users/maria/Allo/train' instead
and then fix paths to the same format inside your wave txt
from allosaurus.
Okay so I tried the second one and still get
C:\Users\maria>python -m allosaurus.bin.prep_feat --path='C:/Users/maria/Allo/train'
Traceback (most recent call last):
File "C:\Users\maria\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\maria\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\maria\AppData\Local\Programs\Python\Python39\lib\site-packages\allosaurus\bin\prep_feat.py", line 57, in
assert wave_path.exists(), "the path directory should contain a wave file, please check README.md for details"
AssertionError: the path directory should contain a wave file, please check README.md for details
I changed my wave txt file to look the same
utt_1 'C:/Users/maria/Allo/koyi/crdo-KKT_CONVERSATION_CONVERSATIONs5.wav'
utt_2 'C:/Users/maria/Allo/koyi/crdo-KKT_CONVERSATION_CONVERSATIONs6.wav'
utt_3 'C:/Users/maria/Allo/koyi/crdo-KKT_CONVERSATION_CONVERSATIONs7.wav'
utt_4 'C:/Users/maria/Allo/koyi/crdo-KKT_CONVERSATION_CONVERSATIONs8.wav'
utt_5 'C:/Users/maria/Allo/koyi/crdo-KKT_CONVERSATION_CONVERSATIONs9.wav'
utt_6 'C:/Users/maria/Allo/koyi/crdo-KKT_CONVERSATION_CONVERSATIONs10.wav'
utt_7 'C:/Users/maria/Allo/koyi/crdo-KKT_CONVERSATION_CONVERSATIONs12.wav'
utt_8 'C:/Users/maria/Allo/koyi/crdo-KKT_CONVERSATION_CONVERSATIONs14.wav'
utt_9 'C:/Users/maria/Allo/koyi/crdo-KKT_CONVERSATION_CONVERSATIONs15.wav'
utt_10 'C:/Users/maria/Allo/koyi/crdo-KKT_CONVERSATION_CONVERSATIONs16.wav'
I was going through the readme and ran the sample wav successfully so I know some things work, but I guess I'm just confused why it doesn't seem to want to find my own data that I want to test it on.
from allosaurus.
I'm pretty confused and tried running it on a Linux VM to see if using Windows was the problem. I did a test with one of my wav files
python -m allosaurus.run -i Allo/koyi/crdo-KKT_CONVERSATION_CONVERSATIONs5.wav
And it produced the transcription output. I'm guessing maybe the problem is with how I'm formatting my wave txt file or something because it seems like Allosaurus is able to process/find my files otherwise. I'm just not sure what I'm doing wrong.
from allosaurus.
hmm, another possibility is that you have an extension on your wave file. It should be "wave" without any extension like wave.txt.
from allosaurus.
Thank you, that was it. I wouldn't have guessed that the .txt was causing issues this whole time.
from allosaurus.
Related Issues (20)
- Prior.txt file path HOT 2
- Optimizing for Latency
- support for python 3.10 HOT 4
- Not able to transcribe simple word what in English HOT 5
- more model for recognition HOT 1
- The timestamp of model 'interspeech21' is incorrect HOT 4
- Unable to run interspeech21 model HOT 1
- Feature normalization can cause NaN to appear HOT 1
- Directory Name con not allowed on Windows HOT 1
- NumPy requirement is less than 1.22 and latest is 1.19.5
- Difference in outputs of splitted v/s unsplitted audio file HOT 2
- Wave error for given sample
- Any way to add new languages?
- UnicodeEncodeError: 'charmap' codec can't encode character '\u02d0' in position 28 when redirecting in WIndows
- Content of fine-tuning files?
- AttributeError: 'PosixPath' object has no attribute 'startswith' HOT 1
- Fix setup.py
- Phone inventory always the default one even after specifying model eng2102 and lang eng
- Is there any way of getting arpabet phonetic transcription for hindi language?
- How long does it theoretically take for "allosaurus" to recognize phonemes?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from allosaurus.