目录
解决问题
NotFoundError (see above for traceback): Failed to create a directory: ; No such file or directory
[[Node: save/SaveV2 = SaveV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/SaveV2/tensor_names, save/SaveV2/shape_and_slices, Variable, Variable/Adam, Variable/Adam_1, Variable_1, Variable_1/Adam, Variable_1/Adam_1, Variable_2, Variable_2/Adam, Variable_2/Adam_1, Variable_3, Variable_3/Adam, Variable_3/Adam_1, beta1_power, beta2_power, rnn/basic_lstm_cell/bias, rnn/basic_lstm_cell/bias/Adam, rnn/basic_lstm_cell/bias/Adam_1, rnn/basic_lstm_cell/kernel, rnn/basic_lstm_cell/kernel/Adam, rnn/basic_lstm_cell/kernel/Adam_1)]]
ValueError: Parent directory of stock.model doesn't exist, can't save.
解决方法
详见:成功解决NotFoundError (see above for traceback): Failed to create a directory: ; No such file or directo
哈哈,大功告成!