marcellacornia / mlnet

A Deep Multi-Level Network for Saliency Prediction. ICPR 2016
MIT License
94 stars 37 forks source link

Broken vgg16_weights.h5 link in README #23

Open jaelle opened 4 years ago

jaelle commented 4 years ago

I am unable to download the vgg16_weights.h5 file that is linked from the readme. Is this still accessible somewhere?

tinaa160 commented 4 years ago

Having the same problem!

As the file provided was broken, I downloaded the weights file from https://github.com/fchollet/deep-learning-models/releases

I tried both the vgg16_weights_th_dim_ordering_th_kernels.h5 and vgg16_weights_th_dim_ordering_th_kernels_notop.h5 but none of them worked.

The errors are: KeyError: "Unable to open object (object 'layer_1' doesn't exist)" which I think it is due to the wrong .h5 file I used.

I am using Keras 1.2.2 and theano 1.0.4. Also I modified the keras.json file to the correct one.

Please provide weights file or let me know if anything I did wrong!

Thanks!

marcellacornia commented 4 years ago

Dear @jaelle and @tinaa160, I updated the download link in the README.md file. The weights file should be available again.

As mentioned in our README, our code is compatible with Keras 1.1.0 and Theano 0.9.0.