文章詳情頁
python - keras安裝
瀏覽:113日期:2022-08-07 14:23:53
問題描述
keras安裝好了,tensorflow也安裝好了但運行的時候出現這個問題,有人以前遇到過嗎?能幫忙解決一下嗎?謝謝了
問題解答
回答1:這個是keras的問題,修改keras/backend/tensorflow_backend.py
try: import tf.contrib.ctc as tfctcexcept ImportError: import tf.core.util.ctc as tfctc
改為
try: import tf.contrib.ctc as tfctcexcept ImportError: import tf.core.util.ctc as tfctcfinally: tf.ctc = tfctc del tfctc
via https://github.com/fchollet/k...
回答2:請用ananconda
相關文章:
1. php - 第三方支付平臺在很短時間內多次異步通知,訂單多次確認收款2. html5 - h5寫的app用的webview,用手機瀏覽器打開不顯示?3. css3 - css before 中文亂碼?4. Mysql && Redis 并發問題5. javascript - node服務端渲染的困惑6. javascript - 百度echarts series數據更新問題7. javascript - webpack --hot 熱重載無效的問題8. mysql新建字段時 timestamp NOT NULL DEFAULT ’0000-00-00 00:00:00’ 報錯9. mysql scripts提示 /usr/bin/perl: bad interpreter10. mysql - 一個表和多個表是多對多的關系,該怎么設計
排行榜
