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

Depthwise separable convolution incomplete? #10

Closed
TobiasB22 opened this issue Jun 9, 2021 · 2 comments
Closed

Depthwise separable convolution incomplete? #10

TobiasB22 opened this issue Jun 9, 2021 · 2 comments
Labels
question Further information is requested

Comments

@TobiasB22
Copy link

Hi @EscVM,

to me, it seems like the depth wise separable convolution implemented in https://github.com/EscVM/Efficient-CapsNet/blob/705449c/utils/layers.py#L123 lacks the point-wise convolution part?!

Shouldn't there be a second Conv2D layer with F filters of kernel size (1,1)?

Otherwise, you're doing a simple depth-wise convolution, right?

I am referencing https://towardsdatascience.com/a-basic-introduction-to-separable-convolutions-b99ec3102728 here btw.
Not sure if you gave a reference for the depthwise separable convolution in your paper.

@EscVM EscVM added the question Further information is requested label Jun 9, 2021
@EscVM
Copy link
Owner

EscVM commented Jun 9, 2021

Hi @TobiasB22,

Yes, you are right! As specified in the pre-print paper version, no point-wise convolution operation is needed to construct the primary capsule layer.

@TobiasB22
Copy link
Author

Ok, thanks! I guess I must've skipped that part while reading the paper.

@EscVM EscVM closed this as completed Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants