ValueError: Cannot feed value of shape (0,) for Tensor u'Placeholder:0', which has shape '(?, 500, 256)'
Complete error info:
reated all folders!
Loaded train function information ... split_func.pkl
Train Function Number: 41503
Loaded embed information ... ../../embedding/embed.pkl
Created the dataset!
/Ruturaj/machine_learning/project/env/project_env/lib/python2.7/site-packages/tensorflow/python/ops/gradients_impl.py:91: 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. "
Created the model!
Traceback (most recent call last):
File "train.py", line 283, in <module>
main()
File "train.py", line 279, in main
training(config_info)
File "train.py", line 218, in training
model.train()
File "train.py", line 157, in train
feed_dict = feed_dict
File "/Ruturaj/machine_learning/project/env/project_env/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 766, in run
run_metadata_ptr)
File "/Ruturaj/machine_learning/project/env/project_env/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 943, in _run
% (np_val.shape, subfeed_t.name, str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (0,) for Tensor u'Placeholder:0', which has shape '(?, 500, 256)'
Following error appears, when I try to train rnn.
ValueError: Cannot feed value of shape (0,) for Tensor u'Placeholder:0', which has shape '(?, 500, 256)'
Complete error info: