報錯:ValueError: Variable in_hidden/weights already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope? Originally defined at:
原因:重複使用自己建立的變量, Variable in_hidden/weights already exists
解決方法:在代碼的前面加上下面這句話就行啦
tf.reset_default_graph()