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

Porting of a Caffe Net with a custom layer in Android #143

Open
eaangi opened this issue Jun 29, 2019 · 1 comment
Open

Porting of a Caffe Net with a custom layer in Android #143

eaangi opened this issue Jun 29, 2019 · 1 comment

Comments

@eaangi
Copy link

eaangi commented Jun 29, 2019

I'm creating a project for my thesis.
I should bring a coffee network in android.
Is it possible to use CK to import a custom layer written in C ++?
I ran the coffee network in matlab and it works fine.
Thanks for your help.
F.

@eaangi eaangi changed the title Custom Layer Caffe Port Caffe Net with a custom layer in Android Jun 29, 2019
@eaangi eaangi changed the title Port Caffe Net with a custom layer in Android Porting of a Caffe Net with a custom layer in Android Jun 29, 2019
@psyhtest
Copy link
Member

psyhtest commented Jul 1, 2019

Hi @eaangi , thank you for your interest in CK-Caffe!

CK is not magic. But it can indeed help you cross-compile Caffe to run on Android. However, we haven't tried it for a long time. I'd suggest to install a stable version of Caffe first:

$ ck install package ck-caffe:package:lib-caffe-bvlc-master-cpu-universal-20171013 --target_os=android21-arm64

If it still works, you can try to create your own fork of Caffe (from the OpenCL branch at that moment in time). with your changes to support the custom layer and build that. We can help you to redirect the PACKAGE_URL to your fork.

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

2 participants