文章詳情頁
python - keras安裝
瀏覽:117日期:2022-08-07 14:23:53
問題描述
keras安裝好了,tensorflow也安裝好了但運(yùn)行的時(shí)候出現(xiàn)這個(gè)問題,有人以前遇到過嗎?能幫忙解決一下嗎?謝謝了
問題解答
回答1:這個(gè)是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:請(qǐng)用ananconda
相關(guān)文章:
1. matplotlib - python函數(shù)的問題2. javascript - history.replaceState()無法改變query參數(shù)3. java - 是否類 類型指針、引用作為形參 ,函數(shù)結(jié)束不會(huì)自動(dòng)析構(gòu)類?4. angular.js - angular ng-class里面的引號(hào)問題5. 在mac下出現(xiàn)了兩個(gè)docker環(huán)境6. mysql無法添加外鍵7. html - vue項(xiàng)目中用到了elementUI問題8. javascript - react 中綁定事件和阻止事件冒泡9. JavaScript事件10. javascript - es6將類數(shù)組轉(zhuǎn)化成數(shù)組的問題
排行榜

熱門標(biāo)簽