ubuntu 查看tensorflow、keras版本

$ python
Python 3.6.4 |Anaconda custom (64-bit)| (default, Jan 16 2018, 18:10:19) 
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import keras
Using TensorFlow backend.
>>> print(keras.__version__)
2.1.5
>>> import tensorflow
>>> print(tensorflow.__version__)
1.8.0

你可能感兴趣的:(Linux)