查看版本使用的"_"和能够查看版本print(tf.__version__)中“__”不一样,这就是报错原因 注:实际上不是一个下划线,是两个下划线连在一起了。
在路径..\Anaconda3\Lib\site-packages\tensorflow\python\platform下可以看到build_info.py文件 这是在tensorflow1.4.0中的build_info.py文件,可以看出其对应的CUDA为8.0,cudnn为6.0。 tensorflow1.4以上的版本都可以通过这种方法查看对应的CUDA和cudnn版本。 在tensorflow1.3版本中这种方法不适用,因为没有build_info.p...
原因是11版本的函数形式为:tf.concat(2,[fw,bw]),即应把串联的维度与串联值位置调换即可. 3、Input ‘split_dim’ of ‘Split’ Op has type float32 that does not match expected type of int32 #原来是这样的: This is because in Tensorflow versions < 0.12.0 the split function takes the argumen...