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

parsing caffemodel #55

Closed
ghost opened this issue Feb 28, 2015 · 9 comments
Closed

parsing caffemodel #55

ghost opened this issue Feb 28, 2015 · 9 comments

Comments

@ghost
Copy link

ghost commented Feb 28, 2015

@pluskid can you suggest me a way to parse caffemodel to C code

@ghost
Copy link
Author

ghost commented Feb 28, 2015

@pluskid or could you sugggest me to parse the imported hdf5 file which one might be easier

@pluskid
Copy link
Owner

pluskid commented Feb 28, 2015

I'm not sure I understand what you mean. Could you give more details on what do you want to do?

@ghost
Copy link
Author

ghost commented Feb 28, 2015

I need to parse model trained for alexnet to my C code . Could you help me with a code
As mocha has done importing the caffemodel to hdf5 so you would be the right person
to suggest me thanks in advance @pluskid

@pluskid
Copy link
Owner

pluskid commented Feb 28, 2015

What I do is very simple: I inject some code to Caffe, so that I could access the caffe model in memory, which are just chunk of memory. I then export to whatever format I like.

@ghost
Copy link
Author

ghost commented Feb 28, 2015

@pluskid Thanks for the reply could you help me with a C code

@ghost
Copy link
Author

ghost commented Feb 28, 2015

@pluskid if possible you could just suggest me how can start parsing in my C code

@pluskid
Copy link
Owner

pluskid commented Feb 28, 2015

@ghost
Copy link
Author

ghost commented Feb 28, 2015

@pluskid what format would be correct for me to read in C thanks in advance

@pluskid
Copy link
Owner

pluskid commented Mar 1, 2015

Sorry I do not have a recommendation. It really depends on your own needs and convenience. Typically HDF5 is a very widely used data format that can be easily manipulated in julia, python, matlab, etc. But if you only need to use the it in your C program, you can use / invent any format.

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

1 participant