-
Notifications
You must be signed in to change notification settings - Fork 86
Conversation
Can one of the admins verify this patch? |
@ananno Please rebase this branch from the current So that we can only see the commits you did on your branch. |
88ed213
to
376e1e5
Compare
I've resolved the issue. Please check and confirm. |
run test |
@ananno And if your code will be merged, we use I thinks make |
@nlpng |
@nlpng and I checked TensorFlow use |
run test |
@ananno Please fix failed tests as well. |
693c64d
to
c83e067
Compare
This PR needs Approvals as follows.
Please choose reviewers and requet reviews! Click to see how to approve each reviewsYou can approve this PR by triggered comments as follows.
See all trigger commentsPlease replace [Target] to review target
|
0afb811
to
630159b
Compare
630159b
to
07ffdf4
Compare
@tsawada San: Can you please do Readability review on this PR. |
@iizukak San: You approved this PR but I think according to new policy you've to approve the ownership review. Please approve as ownership review. Thank you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Readability Approval
Please check CI status. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ownership Approval
@tsawada San: |
12cca0c
to
984cd16
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this change, pull request should not include any cosmetic change without reason.
(I meant this line
Line 43 in 984cd16
kernel_initializer=tf.contrib.layers.variance_scaling_initializer,) # he initializer |
c6c0987
to
d5e602b
Compare
@tkng San: |
Readability Approval |
/ready |
⏳Merge job is queued... |
😥Status check failed. Please fix problems and send |
a575dd5
to
c93b5c1
Compare
Without defining kernel_initializer parameter it will have the default value provided by TF. Also it can be provided via network kwargs.
In darknet the kernel_initializer was wrongly implemented, i.e. function call instead of function name. This bug was hiding under the `kernel_initializer` argument issue in `conv_2D` function in `layers.py`.
4307767
to
d745070
Compare
/ready |
/ready |
⏳Merge job is queued... |
To fix the kernel initializer issue in function
conv2d
inlmnet/lmnet/layers.py
.Motivation and Context
The argument definition of
kernel_initializer
of the functionconv2d
inlmnet/lmnet/layers/layers.py
has never been passed intotf.layers.conv2d
function call resulting it not effective even if it is passed from the calling function. This change is necessary to pass the parameters intf.layers.conv2d
function by defining and passing arguments likekernel_initializer
orkernel_regularizer
etc.Description
The
kernel_initializer
argument is defined in the function argument ofconv2d
but never passed intf.layers.conv2d
function in the code body. This results to not passing the kernel regularizer defined or passed by the calling function.The fix is very simple. By removing the argument definition in
conv2d
function inlmnet/lmnet/layers/layers.py
file. The defined argument likekernel_initializer
or any others supported bytf.layers.conv2d
function can be automatically passed via*args, **kwargs
.Details discussion on this is documented in issue here.
How has this been tested?
From the code it is obvious that the argument definition of
kernel_initializer
inconv2d
function has never been used.Screenshots (if appropriate):
Types of changes
Checklist: