ValueError: Variable resnet_v1_101/conv1/weights already exists, disallowed. Did you mean to set reuse=True in VarScope? Originally defined at...
这个问题是已经启动了模型,再进行重载出现的错误
所以,解决方法:在每次模型重新加载的时候删除可能已经加载的模型计算图:
tf.reset_default_graph()
ValueError: Variable resnet_v1_101/conv1/weights already exists, disallowed. Did you mean to set reuse=True in VarScope? Originally defined at...
这个问题是已经启动了模型,再进行重载出现的错误
所以,解决方法:在每次模型重新加载的时候删除可能已经加载的模型计算图:
tf.reset_default_graph()