因为在使用keras中难免要升级,所以我们经常要查看自己使用的版本号,命令如下:
1.查看keras版本
>>> import keras
>>> print keras.__version__
1.2.0
2.查看theano版本
>>> import theano as th
>>> th.__version__
'0.8.2'
3.查看tensorflow版本
>>> import tensorflow as tf
>>> tf.__version__
'1.0.1'