在运行程序时若出现ValueError: Variable conv1/weights already exists, disallowed错误。如下图:
有两个解决方法:
方法一:点击Restart kernal
方法二:在代码开头加上下面语句
tf.reset_default_graph()
在运行程序时若出现ValueError: Variable conv1/weights already exists, disallowed错误。如下图:
有两个解决方法:
方法一:点击Restart kernal
方法二:在代码开头加上下面语句
tf.reset_default_graph()