fchollet / deep-learning-with-python-notebooks

Jupyter notebooks for the code samples of the book "Deep Learning with Python"
MIT License
18.17k stars 8.53k forks source link

VGG 16 layers not loading #111

Closed jaigsingla closed 5 years ago

jaigsingla commented 5 years ago

Hi,

I tried to use vgg16 using keras for the first time. I loaded model offline in weights parameter using file path. on model.summary it is not showing flatten, fc1, fc2 layers . it shows layers up to bock5_pool . why so ? on proceeding further, I am getting model output predictions of the type (1,512,7,7) which shows error in decode_predictions ..Pls help

jaigsingla commented 5 years ago

Hi,

I got rid of error mentioned above.

Now facing below mentioned issue:

facing problem of loading imagenet_class_index.json offline . Also put path manually in imagenet_utils and data_utils but still it going on URL on line 224 in data_utils.py whereas on line 190 i appended full fpath on local disk ??