天天看點

TensorFlow——module 'tensorflow' has no attribute 'xxx'

<code>tf.sub()</code>更改為<code>tf.subtract()</code>

<code>tf.mul()</code>更改為<code>tf.multiply()</code>

<code>tf.types.float32</code>更改為<code>tf.float32</code>

<code>tf.pact()</code>更改為<code>tf.stact()</code>

<code>tf.select()</code>更改為<code>tf.where()</code>

<code>tf.per_image_whitening</code> 改為 <code>tf.image.per_image_standardization</code>

更多參考:Remove tf.train.SummaryWriter and tf.train.SummaryWriterCache.

module 'pandas.core.computation' has no attribute 'expressions'

解決方案:

pip throws TypeError: parse() got an unexpected keyword argument 'transport_encoding' when trying to install new packages

探尋有趣之事!

繼續閱讀