Hi,
I would appreciate it if anyone can advise me how to resolve the following issue.
When I fit the model, I got the following set of error messages of UnimplementedError: Graph execution error:.
Look forward to hearing feedbacks.
Thanks
Best
Hi,
I would appreciate it if anyone can advise me how to resolve the following issue.
When I fit the model, I got the following set of error messages of UnimplementedError: Graph execution error:.
Look forward to hearing feedbacks.
Thanks
Best
Have you implemented the validation_generator in the cells above? Maybe you forgot to run that cell.
As highlighted in the stacktrace, the lables are strings and not of numeric type. When initializing labels, convert them to int / float.
Thanks @balaji.ambresh,
I did convert the datatype to float. (in the “parse_data_from_input” function.
I will send you my code.
If you could check it, I would appreciate it.
Thanks
Hi @balaji.ambresh
It seems that my conversion of datatype failed somehow in the “parse_data_from_input” function.
If you could check my code in the function definition and advise me how to resolve this issue, I would appreciate it.
Thanks
Best regards
Michio
I also getting this error. I am unsure on how to fix it since I have ran all the previous cells and got the expected outcomes. Any help would be appreciated.
Please click my name and message your notebook as an attachment.
@findunn2001
There are 2 mistakes in your notebook:
input_shape
is incorrect.Cells are running now. Thank you very much for the assistance.
The numpy arrays are array of strings not not floats.
See your output:
Training images has shape: (27455, 28, 28) and dtype: <U3
Training labels has shape: (27455,) and dtype: <U2
Validation images has shape: (7172, 28, 28) and dtype: <U3
Validation labels has shape: (7172,) and dtype: <U2
When you convert a numpy array, you should assign the result to a variable.
Here’s an example:
>>> import numpy as np
>>> a = np.array(['1', '2'])
>>> a.dtype
dtype('<U1')
>>> a.astype(int)
array([1, 2])
>>> a.dtype
dtype('<U1')
>>> a = a.astype(int)
>>> a.dtype
dtype('int64')
Hi ,
I would appreciate if anyone can advise me on how to resolve the below issue
I got the following error - Unimplemented Error -Graph Execution error.
Looking forward for the feedbacks.
Thanks in advance.
Thank you very much.
It is working now.