I need to use this library for building my model but when i had this error.
from rnn_utils import *
No module named 'rnn_utils'
I need to use this library for building my model but when i had this error.
from rnn_utils import *
No module named 'rnn_utils'
My answer is based on you are working on Andrew's coursera class. You can find a file named 'rnn_utils.py' by click on the 'Coursera' logo. If you are going to implement the course code on another compiler, you should copy the 'rnn_utils.py' file into your current folder
rnn_utils
is part of the class nnabla.utils.rnn.PackedSequence
,
so you need to import nnable
. Try pip install nnable
,
then in place of from rnn_utils import *
, try: import nnabla.utils.rnn as rnn_utils
.
For more info read the nnable documentation: