Skip to content
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

Unable to load .caffemodel weights #6

Open
skw90 opened this issue Jul 11, 2015 · 4 comments
Open

Unable to load .caffemodel weights #6

skw90 opened this issue Jul 11, 2015 · 4 comments

Comments

@skw90
Copy link

skw90 commented Jul 11, 2015

Hi,

I am a beginner in deep learning and programming. I have trained a version of mnist Lenet according to Caffe instructions. However I am unable to load the .caffemodel weights into your experiment despite ensuring the prototxt layers have the same names (after building and running the debug version, I get ~0.10 confidence for all labels, so I am guessing the weights were randomly initialised without the pretrained .caffemodel weights). I suspect this is due to updated Caffe version I am using.

It is mentioned in the installation guide that:
"The specific version provided is different from the Caffe master branch and it has the
modification that enables feeding OpenCV data from memory to a Caffe model for
evaluation via ImageDataLayer."
May I know whether it is possible to port the modification over to the new Caffe version?

Thanks!

@skw90
Copy link
Author

skw90 commented Jul 13, 2015

I cant seem to train using this git's provided Caffe version as well.

@anguyen8
Copy link
Contributor

@kienwei : Yes, I think it is possible. I will try to push a new version that soon.

@skw90
Copy link
Author

skw90 commented Jul 31, 2015

@anguyen8 On a related issue, may I know whether mean file subtraction was used to generate mnist fooling images? I understand from the caffe website that lenet does not include mean file subtraction for classification.

@anguyen8
Copy link
Contributor

@kienwei : Yes, if you look at the link here: https://github.com/Evolving-AI-Lab/fooling/tree/master/model/lenet you will find it there. But even without it, I think it wouldn't change the overall result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants