TensorFlow: InternalError: Blas SGEMM launch failed

后端 未结 16 2374
清酒与你
清酒与你 2020-12-04 15:13

When I run sess.run(train_step, feed_dict={x: batch_xs, y_: batch_ys}) I get InternalError: Blas SGEMM launch failed. Here is the full error and st

16条回答
  •  星月不相逢
    2020-12-04 15:39

    2.0 Compatible Answer: Providing 2.0 Code for erko's answer for the benefit of the Community.

    session = tf.compat.v1.Session()
    
    if 'session' in locals() and session is not None:
        print('Close interactive session')
        session.close()
    

提交回复
热议问题