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

How to use padding based on this framework? #18

Open
pjjpjj opened this issue Mar 22, 2018 · 1 comment
Open

How to use padding based on this framework? #18

pjjpjj opened this issue Mar 22, 2018 · 1 comment

Comments

@pjjpjj
Copy link

pjjpjj commented Mar 22, 2018

If l set the pad is 1 when initing the conv1_wb like this initConvAndFc(this->conv1_wb, 20, 3, 3, 1, 1)
there will be an error: free(): invalid pointer: 0x00007fab8d8297d8
And I found in function convolutionInit(), when calculating the size of outpBox padding size is not considered.
I wonder if i can use padding based on this framework and how to ?
thank you very much

@pjjpjj
Copy link
Author

pjjpjj commented Mar 22, 2018

l tried featurePadInit before feature2MatrixInit, and do featurePad before feature2Matrix when run the net, it works.

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

1 participant