Error trailing garbage

Hope somebody can help with this.

When I run keras library and try to create a model I get the following error:


> library(keras)

> model <- keras_model_sequential()
+ model %>%
+ layer_dense(units = 15, activation = "tanh", input_shape = ncol(x_train)) %>%
+ layer_dense(units = 10, activation = "tanh") %>%
+ layer_dense(units = 15, activation = "tanh") %>%
+ layer_dense(units = ncol(x_train))

Error: parse error: trailing garbage
zzz\\Documents\\.condarc" } Using Anaconda Cloud api site h
(right here) ------^

> summary(model)
Error in summary(model) : object 'model' not found

Not really sure what the error means and can't find any real information on it and how to correct. I think it is; model <- keras_model_sequential() which fails AS it can not find anaconda.

The tutorial I'm following is this:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.