解決問題
AttributeError: module 'tensorflow' has no attribute 'histogram_summary'
解決思路
屬性錯誤:子產品“tensorflow”沒有屬性“histogram_summary”
解決方法
因為'tensorflow版本更新問題,調用方法發生了改變,注意,需要修改多處!
隻需要将
histogram_summary
修改為
tf.summary.histogram
哈哈,大功告成!
解決問題
AttributeError: module 'tensorflow' has no attribute 'histogram_summary'
解決思路
屬性錯誤:子產品“tensorflow”沒有屬性“histogram_summary”
解決方法
因為'tensorflow版本更新問題,調用方法發生了改變,注意,需要修改多處!
隻需要将
histogram_summary
修改為
tf.summary.histogram
哈哈,大功告成!