Open aino-gautam opened 1 year ago
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'
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 ?