Open xenonkfr opened 6 years ago
https://github.com/adeshpande3/LSTM-Sentiment-Analysis/issues/20 Sorry, the code only works for Tensorflow version 1.1. Don't know of a fix right now, but will take a look soon
thank you for your fast reply.i'll let you know if downgrading tensorflow fix that problem
@adeshpande3 ,I have TensorFlow 1.1. then also it is not working
@adeshpande3 ,I have TensorFlow 1.1. then also it is not working
It worked for me with tensorflow 1.1, did you try restarting the server?
hi, i am new in this area.while running the following code:
i got this error: INFO:tensorflow:Restoring parameters from models\pretrained_lstm.ckpt-90000
NotFoundError Traceback (most recent call last) ~\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py in _do_call(self, fn, args) 1322 try: -> 1323 return fn(args) 1324 except errors.OpError as e:
~\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py in _run_fn(session, feed_dict, fetch_list, target_list, options, run_metadata) 1301 feed_dict, fetch_list, target_list, -> 1302 status, run_metadata) 1303
~\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\errors_impl.py in exit(self, type_arg, value_arg, traceback_arg) 472 compat.as_text(c_api.TF_Message(self.status.status)), --> 473 c_api.TF_GetCode(self.status.status)) 474 # Delete the underlying status object from memory otherwise it stays alive
NotFoundError: Key rnn/basic_lstm_cell/kernel/Adam_1 not found in checkpoint [[Node: save/RestoreV2_14 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2_14/tensor_names, save/RestoreV2_14/shape_and_slices)]] [[Node: save/RestoreV2_7/_19 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device_incarnation=1, tensor_name="edge_52_save/RestoreV2_7", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]]
During handling of the above exception, another exception occurred:
NotFoundError Traceback (most recent call last)