Skip to content
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

innsight with Keras basic model #16

Open
ivokwee opened this issue Dec 15, 2024 · 1 comment
Open

innsight with Keras basic model #16

ivokwee opened this issue Dec 15, 2024 · 1 comment

Comments

@ivokwee
Copy link

ivokwee commented Dec 15, 2024

I am trying to use innsight on a basic Keras model for example a simple MLP. Could you give an example how to do this? I get and unknown argument model error when calling the convert() function.

model <- keras_model_sequential() 
model %>% 
  layer_dense(units = 32, input_shape = c(784)) %>% 
  layer_activation('relu') %>% 
  layer_dense(units = 10) %>% 
  layer_activation('softmax')
@mnwright
Copy link
Member

Could you give a reproducible example of the error you get?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants