-
Notifications
You must be signed in to change notification settings - Fork 282
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
ValueError: Only input tensors may be passed as positional arguments #1428
Comments
This happens if both remove.packages("keras")
install.packages("keras3") # or remotes::install_github("rstudio/keras")
library(keras3) |
Alright, thank you very much for the help! |
I have a similar error after a similar simple set of calls in R using library(tensorflow)
library(keras)
model <- keras_model_sequential()
model %>%
layer_dense(units = 128, activation = 'relu') %>%
layer_dense(units = 10, activation = 'softmax') Error:
I don't have R version 3.6.3 (2020-02-29) |
Were you able to successfully build models with I believe you can run |
|
Changing the code to
worked after upgrading to keras3 and doing |
Hi,
I am having trouble getting a model to run. I was able to install all the needed packages, but when I run this section of code.
I get this error.
Could someone help me understand why it is happening?
The text was updated successfully, but these errors were encountered: