Tensorflow--Debug

1.解决tensorflow报错ValueError: Variable conv1/weights already exists, disallowed.

解决方法1:重开一个控制台

解决方法2:在代码的开头加上一句

tf.reset_default_graph()

 tf.reset_default_graph():Clears the default graph stack and resets the global default graph.

 

 

 

posted @ 2019-05-22 09:53  陈柯成  阅读(330)  评论(0编辑  收藏  举报