ubuntu tensorflow、kerasバージョンの表示

1268 ワード

$ 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