3 After I applied these changes wrt that closed issue, I am getting this error. Does anyone have an idea how to solve this? Code runs on Google Colab.
ValueError Traceback (most recent call last)
in ()
5 num_layers,
6 threshold)
----> 7 model = build_graph(keep_probability, rnn_size, num_layers, batch_size, learning_rate, embedding_size, direction)
8 train(model, epochs, log_string)
2 frames
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/tensor_shape.py in __len__(self)
743 """Returns the rank of this shape, or raises ValueError if unspecified."""
744 if self._dims is None:
--> 745 raise ValueError("Cannot take the length of shape with unknown rank.")
746 return len(self._dims)
747
ValueError: Cannot take the length of shape with unknown rank.
3 After I applied these changes wrt that closed issue, I am getting this error. Does anyone have an idea how to solve this? Code runs on Google Colab.
ValueError Traceback (most recent call last)