Comments (2)
Скорее всего ошибка где то здесь за что отвечает строчка
hmm=os.path.join(model_path, 'zero_ru.cd_cont_4000'),
???
from voice_chatbot.
Я запускал этот код в виртуальной машине, в докер-контейнере, на просто отдельной машине и всё работало. Ищите ошибку у себя в путях.
hmm=os.path.join(model_path, 'zero_ru.cd_cont_4000')
- эта строка отвечает за путь к акустической модели. Если у вас никак не получается положить её в требуемое место - скопируйте акустическую модель в папку с проектом и передайте полный путь к ней: hmm=os.path.dirname(os.path.realpath(__file__)) + '/zero_ru.cd_cont_4000'
UPD: Если смотреть по описанию ошибки - PocketSphinx не видит словарь. Вот эта строка об этом говорит:
File "speech_to_text.py", line 45, in init
dic=os.path.join(model_path, 'ru_bot.dic')
Что бы исправить, сделайте с ней тоже самое, что и с акустической моделью (и перечитайте README.md, там есть этот момент - копирование акустической, языковой модели и словаря в нужное место).
from voice_chatbot.
Related Issues (8)
- Eror imort tkiner HOT 2
- Ошибка обучения HOT 2
- RHVoice eror HOT 2
- Python 3.6 HOT 2
- При запуске bot.py predict ошибка с векторами HOT 1
- Не запускается в докере HOT 11
- Ссылка не валидна HOT 1
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 voice_chatbot.