-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keras Error in py_call_impl(callable, dots$args, dots$keywords) : #73
Comments
I've had similar issues. I guess the culprit is "normalizer_fn = scaler_standard()" it returns NaN on the trianing set after running: |
Even when removing "normalizer_fn = scaler_standard()" I am still getting the error. However, when running the network
everything works fine and I think even the scaling works, because if I delete the scaler from So I think, the exception is just caused by calling However, it has been more than 2 years since this problem popped up, is there a known solution as to why an error is thrown when calling |
Feature columns have been deprecated upstream, so this is unlikely to be fixed in the R interface (though I would merge a simple PR). Doing any kind of stateful feature preprocessing is best done with Keras preprocessing layers these days: https://keras.rstudio.com/articles/new-guides/preprocessing_layers.html |
I am doing deep learning using Keras in Rstudio.I copy and paste this link https://tensorflow.rstudio.com/tutorials/beginners/basic-ml/tutorial_basic_regression/
The text was updated successfully, but these errors were encountered: