So apparently your from model import * does not import CifarVggnet.
I would recommend to avoid using the asterisk for now and try to import the module directly.
If you manage to import the module and create a new instance, try to run your restoring code again.