NotImplementedError: Cannot convert a symbolic Tensor (gru_6/strided_slice:0) to a numpy array. This error may indicate that you're trying to pass a Tensor to a NumPy call, which is not supported code example

Example: Cannot convert a symbolic Tensor (lstm/strided_slice:0) to a numpy array. This error may indicate that you're trying to pass a Tensor to a NumPy call, which is not supported

pip install numpy==1.19.5
when we creatw new env for keras this error will occur then upgrade lower version of numpy

Tags:

Misc Example