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

Add ability to import Caffe networks #5

Open
alejandro-isaza opened this issue Oct 24, 2015 · 13 comments
Open

Add ability to import Caffe networks #5

alejandro-isaza opened this issue Oct 24, 2015 · 13 comments

Comments

@alejandro-isaza
Copy link
Owner

I don't think we should add all of Protobuf but maybe have a script that converts a caffe prototxt into simpler format. Then have that simpler format be the standard BrainCore network definition format.

@aidangomez
Copy link
Collaborator

@Aleph7 Are you thinking JSON? Or something even lighter? Take a look at msgpack.org

@alejandro-isaza
Copy link
Owner Author

I was thinking YAML

-
    name: ip1
    type: Inner Product
-
    name: relu1
    type: ReLU
    sources: [ip1]

@aidangomez
Copy link
Collaborator

Ooo very nice.

@hartator
Copy link

hartator commented Apr 9, 2016

Any news on that? Will love to use Caffe models with BrainCore. 👍

@alejandro-isaza
Copy link
Owner Author

@hartator this is not a priority for us right now, hence the 'help wanted' tag.

@johndpope
Copy link

@jrimestad
Copy link

@skeeet
Copy link

skeeet commented Aug 10, 2016

@Aleph7 since BrainCore primary target is mobile, wouldn't it be more reasonable to drop json/yaml and go with binary protobuf, to avoid processing overhead?

@alejandro-isaza
Copy link
Owner Author

@skeeet yes, that would be good but I don't want to force people to get all the protobuf dependencies just to use BrainCore. Maybe that can be a separate project.

@alejandro-isaza
Copy link
Owner Author

Maybe we should just read protobuf now that https://github.com/apple/swift-protobuf-plugin is out!

@thomashocking
Copy link

Hi, I'm wondering if this is still an ongoing update to BrainCore still? I'm interested in possibly helping to contribute but I'm not sure where to get started.

Thanks!

@ghost
Copy link

ghost commented Jan 30, 2017

If you want to contribute reading protobuf models I would suggest starting with caffe's protobuf definition. Try to to generate the Swift code for that with with swift-protobuf on a project by itself. Then try generating BrainCore layers from that. If you get that working on a separate repo I'd be happy to integrate it to BrainCore.

@thomashocking
Copy link

Great thanks, I'll take a look at it.

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

No branches or pull requests

7 participants