rstudio / keras3

R Interface to Keras
https://keras3.posit.co/
Other
831 stars 282 forks source link

Loading IMDB dataset error #1146

Open bijeanghafouri opened 3 years ago

bijeanghafouri commented 3 years ago

Hi, when I run the following to load IMDB data, I get the following error:

dataset_imdb(num_words = 10000) Error: unused argument (num_words = 10000)

Any fixes for this? Not sure why this is the case, since it comes directly from the examples. I previously tried with a max_features object and still gives the same error.

R version 4.0.3 (2020-10-10) Platform: x86_64-apple-darwin17.0 (64-bit) Running under: macOS Catalina 10.15.3

keras_2.3.0.0

dfalbel commented 3 years ago

I can't reprodue the issue. Does for some reason you have the KERAS_IMPLEMENTATION environment variable set? Or are you using a different backend?