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

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-

 posted on 2019-04-23 01:14  Hazarapet  阅读(104)  评论(0编辑  收藏  举报