Comments (6)
我的版本:
$ pip list
keras 2.10.0
tensorflow 2.10.0
from parrots.
解决了么?我也有相同的问题
File "demo_asr.py", line 15, in
m = SpeechRecognition()
File "/usr/local/lib/python3.7/site-packages/parrots-0.1.8-py3.7.egg/parrots/asr.py", line 40, in init
self._model.load_weights(model_path)
File "/usr/local/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py", line 162, in load_weights
return super(Model, self).load_weights(filepath, by_name)
File "/usr/local/lib/python3.7/site-packages/tensorflow/python/keras/engine/network.py", line 1424, in load_weights
saving.load_weights_from_hdf5_group(f, self.layers)
File "/usr/local/lib/python3.7/site-packages/tensorflow/python/keras/saving/hdf5_format.py", line 711, in load_weights_from_hdf5_group
original_keras_version = f.attrs['keras_version'].decode('utf8')
AttributeError: 'str' object has no attribute 'decode'
from parrots.
from parrots.
我那就是升级pythorch和python版本还有asr的软件版本就好了 资深老腊肉 @.***
…
我是python3.7+tensorflow1.15,跑的demo_asr.py,这个报错是版本的么
from parrots.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.(由于长期不活动,机器人自动关闭此问题,如果需要欢迎提问)
from parrots.
updated。
from parrots.
Related Issues (20)
- 安装时 keras 导入包报错 HOT 2
- AttributeError HOT 1
- Another audio file input error HOT 2
- window版本不支持? HOT 2
- 运行官方示例,没有声音输出 HOT 3
- 请问老师,这个库性能如何啊 能支持多少并发呢? 若做成websocket方式流传入该如何做啊? 谢谢! HOT 2
- 说话方式太机械化了 HOT 2
- 语音转文字识别率低 HOT 5
- 这tts是需要联网在线服务吗 HOT 2
- distil-whisper 中文支持?效果能用? HOT 5
- parrots pip安装后,使用命令打开一直卡住 HOT 2
- 大佬您好,关于显存释放问题 HOT 1
- 无法下载 HOT 4
- 调用m = TextToSpeech(speaker_model_path='shibing624/parrots-gpt-sovits-speaker-maimai', speaker_name='MaiMai') 报错 HOT 3
- 你好,你能提供mapping.json文件嘛? HOT 1
- Architectural description of parrots and how to train in english or any other language HOT 2
- tf版本? HOT 1
- module 'tensorflow' has no attribute 'get_default_graph' HOT 1
- requirements.txt 确实 keras 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 parrots.