Coder Social home page Coder Social logo

keras库版本? about parrots HOT 6 CLOSED

shibing624 avatar shibing624 commented on May 27, 2024
keras库版本?

from parrots.

Comments (6)

shibing624 avatar shibing624 commented on May 27, 2024

我的版本:

$ pip list 
keras                              2.10.0
tensorflow                         2.10.0

from parrots.

swy755565055 avatar swy755565055 commented on May 27, 2024

解决了么?我也有相同的问题
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.

xuhongtian avatar xuhongtian commented on May 27, 2024

from parrots.

swy755565055 avatar swy755565055 commented on May 27, 2024

我那就是升级pythorch和python版本还有asr的软件版本就好了  资深老腊肉 @.***  

我是python3.7+tensorflow1.15,跑的demo_asr.py,这个报错是版本的么

from parrots.

stale avatar stale commented on May 27, 2024

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.

shibing624 avatar shibing624 commented on May 27, 2024

updated。

from parrots.

Related Issues (20)

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.