history <- model %>% fit(trainx,y_train,epochs=50,batch_size=5,validation_split=0.2)
2019-11-13 18:03:25.393757: W tensorflow/core/framework/op_kernel.cc:1599] OP_REQUIRES failed at cast_op.cc:123 : Unimplemented: Cast string to float is not supported
2019-11-13 18:03:25.396018: E tensorflow/core/common_runtime/executor.cc:642] Executor failed to create kernel. Unimplemented: Cast string to float is not supported
[[{{node Cast}}]]
Thank you for your reply .
I haved solved the issue, I guess you were right there is a bug in my code :
I request you to please refer to the below R code and share your valuable thoughts for the same.
history <- model %>% fit(trainx,y_train,epochs=50,batch_size=5,validation_split=0.2)
2019-11-13 18:03:25.393757: W tensorflow/core/framework/op_kernel.cc:1599] OP_REQUIRES failed at cast_op.cc:123 : Unimplemented: Cast string to float is not supported
2019-11-13 18:03:25.396018: E tensorflow/core/common_runtime/executor.cc:642] Executor failed to create kernel. Unimplemented: Cast string to float is not supported
[[{{node Cast}}]]
reticulate::py_config()
python: C:\conda\envs\r-reticulate\python.exe
libpython: C:/conda/envs/r-reticulate/python36.dll
pythonhome: C:\conda\envs\R-RETI
11\lib\site-packages\numpyversion: 3.6.9 |Anaconda, Inc.| (default, Jul 30 2019, 14:00:49) [MSC v.1915 64 bit (AMD64)]
Architecture: 64bit
numpy: C:\conda\envs\R-RETI
numpy_version: 1.17.4
tensorflow: C:\conda\envs\R-RETI~1\lib\site-packages\tensorflow_init_.p
python versions found:
C:\conda\envs\r-reticulate\python.exe
C:\Users\somy\AppData\Local\Programs\Python\Python38\python.exe
C:\conda\python.exe
C:\Users\somy\AppData\Local\Programs\Python\Python38\python.exe
tensorflow::tf_config()
TensorFlow v2.0.0 (C:\conda\envs\R-RETI~1\lib\site-packages\tensorflow_init_.p)
Python v3.6 (C:\conda\envs\r-reticulate\python.exe)
The text was updated successfully, but these errors were encountered: