Thank you very much Sir,
Now it's working by your fixation.
But, I still facing the previous problem of "ValueError: too many values to unpack (expected 3)":
2019-07-27 16:19:12.423100: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/device:GPU:0 with 10093 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:01:00.0, compute capability: 6.1)
INFO: Building model...
/home/mumin-cse/.local/lib/python3.6/site-packages/tensorflow/python/ops/gradients_impl.py:112: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
INFO: Initializing model parameters from scratch...
INFO: Done
INFO: Reading data...
INFO: Done
INFO: Initial uidx=0
INFO: Starting epoch 0
File "/home/mumin-cse/nematus//nematus/train.py", line 454, in <module>
train(config, sess)
File "/home/mumin-cse/nematus//nematus/train.py", line 177, in train
write_summary_for_this_batch)
File "/home/mumin-cse/nematus/nematus/model_updater.py", line 112, in update
global_step, apply_grads, mean_loss_per_sent = session.run(fetches)
ValueError: too many values to unpack (expected 3)
Sir, do you have any clue to this error?