I'm using tensorflow and have got some weired issues. I'm told it might be related to the version of tensorflow, but I don't know a proper way to find out the version I'm using.

Solution 1

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

You can import tensorflow and take the version from the package inside your python script, or just run one of these commands

python -c 'import tensorflow as tf; print tf.__version__'  # for Python 2
python3 -c 'import tensorflow as tf; print(tf.__version__)'  # for Python 3

stackoverflow question: https://stackoverflow.com/questions/38549253/how-to-find-which-version-of-tensorflow-is-installed-in-my-system

aipool discussion: https://ai-pool.com/d/how-to-find-out-which-version-of-tensorflow-is-installed-in-my-pc-

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄