Variable yolo/conv_2/weights already exists, disallowed. Did you mean to set reuse=True or reuse=tf.

Variable yolo/conv_2/weights already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope? Originally defined at:

解决方法:在代码前面加入

tf.reset_default_graph()

猜你喜欢

转载自blog.csdn.net/eefresher/article/details/88804848