Cannot import name Vgg16

When I run this code on the jupyter notebook:

Import our class, and instantiate

import vgg16; reload(vgg16)
from vgg16 import Vgg16

I get the following error:
ImportError Traceback (most recent call last)
in ()
1 # Import our class, and instantiate
2 import vgg16; reload(vgg16)
----> 3 from vgg16 import Vgg16

ImportError: cannot import name Vgg16

Any ideas as to what is happening and how it could be fixed? Thank you!

Hi there.

How does your vgg16.py look like? There should be a class called Vgg16. If not, then there’s something amiss. Where’d you get the vgg16.py from, and can you check what its contents are?

Hi Clemens! Yes, you are right, the vgg16.py file was not complete (just compared it to the one in GitHub), for some reason it was missing the last 80 lines. Thank you for your clue!

Jorge