Rumah  >  Soal Jawab  >  teks badan

python - keras安装

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

迷茫迷茫2717 hari yang lalu647

membalas semua(2)saya akan balas

  • 天蓬老师

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

    Ini adalah masalah dengan keras, ubah suai keras/backend/tensorflow_backend.py

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

    ditukar kepada

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

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

    balas
    0
  • ringa_lee

    ringa_lee2017-04-18 10:33:47

    Sila gunakan anaconda

    balas
    0
  • Batalbalas