Bear image classifier deployment issue

Here is the error I am getting.

I am currently using google colab notebooks to turn my bear classification model into a app, but I am having this import issue above. Is this an issue with google colab or is it something else?

So far I have pip installed the following:
!pip install fastcore==1.3.12
!pip install torch torchvision torchaudio
!pip install fastai --upgrade

and imported the following:
import fastcore
import torch
from import *
from import *

check here for a possible solution

Also I try fastai==2.1.2
that is:
!pip install fastai==2.1.2
!pip install --upgrade fastai

1 Like

thank you!

1 Like