Thanks a lot for your reply.
As a matter of fact I loaded resnet model and use the name of vgg_model incorrectly. There is no error and all things work fine without error. But I check your suggestion. Let me check and reply again