Trying to run this notebook
I got the error 'generator' object has no attribute 'ndim' when fitting the model on train data, so I changed fit to fit_generator.
Now I am stuck getting this error:
Tensor("Embeddings/sharded_0:0", shape=(), dtype=resource) must be from the same graph as Tensor("Const:0", shape=(128,), dtype=string).
the stack tells me that this error occurs when calling embed(a).
Trying to run this notebook I got the error 'generator' object has no attribute 'ndim' when fitting the model on train data, so I changed
fit
tofit_generator
. Now I am stuck getting this error:Tensor("Embeddings/sharded_0:0", shape=(), dtype=resource) must be from the same graph as Tensor("Const:0", shape=(128,), dtype=string).
the stack tells me that this error occurs when callingembed(a)
.