Maison  >  Questions et réponses  >  le corps du texte

python - keras安装

keras安装好了,tensorflow也安装好了
但运行的时候出现这个问题,有人以前遇到过吗?能帮忙解决一下吗?谢谢了

迷茫迷茫2717 Il y a quelques jours651

répondre à tous(2)je répondrai

  • 天蓬老师

    天蓬老师2017-04-18 10:33:47

    C'est un problème avec keras, modifiez keras/backend/tensorflow_backend.py

    try:
        import tf.contrib.ctc as tfctc
    except ImportError:
        import tf.core.util.ctc as tfctc

    a été remplacé par

    try:
        import tf.contrib.ctc as tfctc
    except ImportError:
        import tf.core.util.ctc as tfctc
    finally:
        tf.ctc = tfctc
       del tfctc

    via https://github.com/fchollet/k...

    répondre
    0
  • ringa_lee

    ringa_lee2017-04-18 10:33:47

    Veuillez utiliser anaconda

    répondre
    0
  • Annulerrépondre