-
The helper_functions was downloaded but I get the error: I also try to install the helper_function using "!pip install helper_function" but got the same error |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @Yossi-Hd, I'm not sure why this may be happening. But if you're running in Google Colab, you can try the following: Step 1 Run this code in a Google Colab cell:
Step 2 Import from helper_functions import plot_predictions Running Example in Google Colab |
Beta Was this translation helpful? Give feedback.
-
HI @mrdbourke I am facing the same issue, tried with normal file import and then importing the functions and through get as well. With both the file get's written in colab but import doesn't work. |
Beta Was this translation helpful? Give feedback.
Hi @Yossi-Hd,
I'm not sure why this may be happening.
But if you're running in Google Colab, you can try the following:
Step 1
Run this code in a Google Colab cell:
Step 2
Import
plot_predictions
fromhelper_functions.py
.Running
!pip install helper_functions
won't work as it's not a pip package but rather a Python file on the course GitHub: https://github.com/mrdbourke/pytorch-deep-learning/blob/main/helper_functions.pyExample in Google Colab