Bootstrap

ValueError: Variable XX/XX does not exist, or was not created with tf.get_variable().

【报错描述】ValueError: Variable lsi/bias_global does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=tf.AUTO_REUSE in VarScope?

【原因分析】

【解决办法】

# 改前
with tf.variable_scope('lsi', reuse=true)

# 改后
with tf.variable_scope('lsi', reuse=tf.AUTO_REUSE)
;