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

DepthwiseConv2D weights shape with initializeParams == false #6911

Closed
sorech opened this issue Dec 21, 2018 · 2 comments

Comments

@sorech
Copy link

commented Dec 21, 2018

Issue Description

Certain codepaths (initializeParams == false) initializes DepthwiseConv2D weights with the wrong shape
shape := {depthMultiplier, layerConf.getNIn(), kernel[0], kernel[1]}
instead of
shape := {kernel[0], kernel[1], inputDepth, depthMultiplier}

https://github.com/deeplearning4j/deeplearning4j/blob/6bef4d587da9471e885a1616eb3f13239d91face/deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/params/DepthwiseConvolutionParamInitializer.java#L192-L211

( previous discussion: #6885 (comment))

@AlexDBlack

This comment has been minimized.

Copy link
Contributor

commented Dec 21, 2018

@AlexDBlack AlexDBlack closed this Dec 21, 2018

@lock

This comment has been minimized.

Copy link

commented Jan 20, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Jan 20, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants
You can’t perform that action at this time.