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

Unable to import get_gradients / get_outputs from see_rnn==1.15.1 and 1.15.0 #59

Open
aino-gautam opened this issue Nov 6, 2023 · 1 comment

Comments

@aino-gautam
Copy link

In my jupyter I have

%pip install see_rnn==1.15.1

from see_rnn import get_gradients, get_outputs

ModuleNotFoundError Traceback (most recent call last)
[/.......-based.ipynb]/...based.ipynb) Cell 33 line 1
----> 1 from see_rnn import get_gradients, get_outputs

I also tried with version 1.15.0 .

What am I missing ?

@aino-gautam
Copy link
Author

When I do this

import see_rnn as sr
grads1 = sr.get_gradients(lstm_model, 1, x_train_data, y_train_data)
grads2 = sr.get_gradients(lstm_model,2,x_train_data,y_train_data)
output = sr.get_outputs(lstm_model, 1, x_train_data)

I am getting error -

AttributeError: module 'see_rnn' has no attribute 'get_gradients'

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

1 participant