WARNING:tensorflow:From C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\training\saver.py:1266: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version. Instructions for updating: Use standard file APIs to check for files with this prefix. 模型重新载入成功 Traceback (most recent call last): File "C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\client\session.py", line 1334, in _do_call return fn(*args) File "C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\client\session.py", line 1319, in _run_fn options, feed_dict, fetch_list, target_list, run_metadata) File "C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\client\session.py", line 1407, in _call_tf_sessionrun run_metadata) tensorflow.python.framework.errors_impl.InternalError: Blas GEMM launch failed : a.shape=(2048, 16), b.shape=(16, 128), m=2048, n=128, k=16 [[{{node MatMul}}]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "I:\DNN模型重新测试\LSTM测试\测试3 数据集加入新的1\RNN模型直接使用.py", line 239, in <module> y: y_test_batch, File "C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\client\session.py", line 929, in run run_metadata_ptr) File "C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\client\session.py", line 1152, in _run feed_dict_tensor, options, run_metadata) File "C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\client\session.py", line 1328, in _do_run run_metadata) File "C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\client\session.py", line 1348, in _do_call raise type(e)(node_def, op, message) tensorflow.python.framework.errors_impl.InternalError: Blas GEMM launch failed : a.shape=(2048, 16), b.shape=(16, 128), m=2048, n=128, k=16 [[node MatMul (defined at I:\DNN模型重新测试\LSTM测试\测试3 数据集加入新的1\RNN模型直接使用.py:56) ]]
Caused by op 'MatMul', defined at: File "<string>", line 1, in <module> File "C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\idlelib\run.py", line 144, in main ret = method(*args, **kwargs) File "C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\idlelib\run.py", line 474, in runcode exec(code, self.locals) File "I:\DNN模型重新测试\LSTM测试\测试3 数据集加入新的1\RNN模型直接使用.py", line 101, in <module> pred = RNN(x, weights, biases) File "I:\DNN模型重新测试\LSTM测试\测试3 数据集加入新的1\RNN模型直接使用.py", line 56, in RNN X_in = tf.matmul(X, weights['in']) + biases['in'] File "C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\ops\math_ops.py", line 2455, in matmul a, b, transpose_a=transpose_a, transpose_b=transpose_b, name=name) File "C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\ops\gen_math_ops.py", line 5630, in mat_mul name=name) File "C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 788, in _apply_op_helper op_def=op_def) File "C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\util\deprecation.py", line 507, in new_func return func(*args, **kwargs) File "C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\framework\ops.py", line 3300, in create_op op_def=op_def) File "C:\Users\shelton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\framework\ops.py", line 1801, in __init__ self._traceback = tf_stack.extract_stack()
InternalError (see above for traceback): Blas GEMM launch failed : a.shape=(2048, 16), b.shape=(16, 128), m=2048, n=128, k=16
检查一下 是不是开了两个以上使用tf的python,在运行窗口
如果有的话 关掉一个 就好了