-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: VGG-FACE weights #1
Comments
Consider creating a PR to add these weights (you can upload the files on gDrive for now and I will include them in the repo). Caffe models can be automatically converted to Keras models. |
I was referring to the code by @MarcBS. Why isn't it working? Marc, can you help? |
It seems the prototxt provided with VGG-FACE is an old version (see ethereon/caffe-tensorflow#44). Take a look at this comment, it points out the changes you'll have to do in EDIT: I modified the prototxt and it worked. Here is the updated one. |
The model did convert, however when I tried to load it I got the following error:
I tried to load it based on @MarcBS code:
|
Try to only load/save the weights, not the model topology. On 24 August 2016 at 06:06, Victor Hugo [email protected] wrote:
|
It also didn't work, but I think it might be something related to the conversion.
|
I think @fchollet meant to try to define the model in the python script and try to load the weights via |
@victorhcm, I am sorry for not being able to answer sooner. I tried converting the model with your .prototxt and testing it and it worked fine for me. For clarification here I write the steps that I followed: For all the following steps (either conversion and test) we must use the keras fork in this link. Conversion
Test
|
I have this more or less working... I will send a PR soonish... just in case someone else is working on this. |
I've already upload the weights of VGG_Face,please refer to fchollet/deep-learning-models#15. |
Hi, |
@slashstar you can get it from here (580MB), if I have enough space on dropbox in a few mins 🙈 : https://www.dropbox.com/s/xnm9j3ftc1zh8tc/vgg_face_model_weights.h5?dl=0 |
@kashif , Thanks for sharing the network weights. |
@kashif FYI it's not there anymore. |
@danielvarga did you get it? @slashstar The link doesn't work. |
sorry @danielvarga @adwin5 my dropbox got too full... i am putting it back... https://www.dropbox.com/s/xnm9j3ftc1zh8tc/vgg_face_model_weights.h5?dl=0 can you try? |
Got it, thank you! I've uploaded it to http://people.mokk.bme.hu/~daniel/vgg_face_model_weights.h5 @kashif Is this okay with you? If yes: I won't give any hard promises that the above link stays live for a long time, but my expectation is that it does. |
@MarcBS First of all, thank you for such an amazing module for converting caffe model to keras model.
` |
@bienbinod, thank you for your feedback. |
@MarcBS Thanks for your quick reply. I did as you suggested and it works. |
Consider including an additional, domain-specific set of weights for the VGG model.
http://www.robots.ox.ac.uk/~vgg/software/vgg_face/
The text was updated successfully, but these errors were encountered: