在尝试深度学习LSTM序列模型实验时候,参考网上的实验代码(链接),发现训练模型和预测模型不能同时运行,会报错:ValueError: Variable train/rnn/basic_lstm_cell/kernel already exists, disallowed. Did you mean to set reuse=True in VarScope? Originally defined at: 。网上查阅发现是变量作用域的问题,解决方案有说使用),发现训练模型和预测
在尝试深度学习LSTM序列模型实验时候,参考网上的实验代码(链接),发现训练模型和预测模型不能同时运行,会报错:ValueError: Variable train/rnn/basic_lstm_cell/kernel already exists, disallowed. Did you mean to set reuse=True in VarScope? Originally defined at: 。网上查阅发现是变量作用域的问题,解决方案有说使用),发现训练模型和预测