Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error in importing libraries of helper though helper is installed

I am using colab and already !pip install helper , but I facing the error AttributeError: module 'helper' has no attribute 'imshow' and also AttributeError: module 'helper' has no attribute 'view_classify' What is wrong with helper??

like image 294
Captain Avatar asked Dec 01 '18 11:12

Captain


1 Answers

to solve these issue run the following code at the top most cell of your notebook to install the helper file;

!wget -c https://raw.githubusercontent.com/udacity/deep-learning-v2-pytorch/master/intro-to-pytorch/helper.py

Then restart your entire runtime for the notebook to load the file

like image 127
sammy ongaya Avatar answered Oct 05 '22 04:10

sammy ongaya