fastai / courses

fast.ai Courses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I can't import utils because vgg16 is not declared

danielcanueto opened this issue · comments

Dear Mr/Mrs,

When trying to load the utils, I receive this message:

from fastai import utils

/usr/local/lib/python3.6/dist-packages/fastai/utils.py in <module>()
     38 from keras.preprocessing import image, sequence
     39 from keras.preprocessing.text import Tokenizer
---> 40 from vgg16 import Vgg16
     41 np.set_printoptions(precision=4, linewidth=100)
     42 

ModuleNotFoundError: No module named 'vgg16'

I see that the "keras.applications.vgg16" has not been declared before in utils.py.