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

Split/slice layer support? #31

Closed
TheRed002 opened this issue Mar 27, 2017 · 1 comment
Closed

Split/slice layer support? #31

TheRed002 opened this issue Mar 27, 2017 · 1 comment

Comments

@TheRed002
Copy link

Is there any way to convert a slice layer of caffe into keras? I have used this converter but one of my layer is of slice type which is currently not supported by this converter. I also know that there is no slice/split type in keras but there are other workarounds but I don't know exactly how to solve this issue. Here is my layer:
layer { name: "slice_label" type: SLICE bottom: "label" top: "label_wpqr" top: "label_xyz" slice_param { slice_dim: 1 slice_point: 4 } }

@MarcBS
Copy link
Owner

MarcBS commented Mar 29, 2017

It is not implemented in the converter, but one option would be to implement Slice layers as Keras' Lambda layers.
You can find further information here.

@lvapeab lvapeab closed this as completed Jan 10, 2018
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

3 participants