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

3D convolution support #889

Closed
WIll-Xu35 opened this issue Apr 3, 2019 · 3 comments
Closed

3D convolution support #889

WIll-Xu35 opened this issue Apr 3, 2019 · 3 comments

Comments

@WIll-Xu35
Copy link

I'm trying to implement ECO (Efficient Convolutional Network for Online Video Understanding) on ncnn. Does ncnn support 3d conv layer?

If not, I'm trying to implement a workaround by combining some of the data dimensions and need to check if ncnn support it. For example, a layer of the ECO network has input size (3(batch size), 3(channel number), 12(time span), 224(image width), 224(image height)), is there any support for changing data blob of this size to (3*12, 3, 224, 224)?

@nihui
Copy link
Member

nihui commented Apr 7, 2019

ncnn do not support 3d conv. In fact, I think it is hard to implement 3d operators in ncnn because the Mat data storage only has three dims at most at the moment.

@nihui nihui closed this as completed Apr 7, 2019
@WIll-Xu35
Copy link
Author

@nihui Does ncnn support batch processing? If it does, I'm thinking to transform 5 dimension data to 4 dimension data to do 3D conv instead. Is there any way to transform data of size (3(batch size), 3(channel number), 12(time span), 224(image width), 224(image height)) to (36, 3, 224, 224), combining the batch size and time span channel?

@nihui
Copy link
Member

nihui commented Apr 8, 2019

batch processing is not supported

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