We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the child.py file, why w_skip[0] is not used for L2 weight reg ? var_s = [w_prev] + w_skip[1:]
google-research/enas_lm/src/child.py
Line 69 in 4305853
Does w_skip[0] means the weight of node 1 and node 2 (as the red arrow shows )?
The text was updated successfully, but these errors were encountered:
I also noticed bugs in calculating the L2 regularization.
In child.py: https://github.com/google-research/google-research/blob/master/enas_lm/src/child.py#L318
self.l2_reg_loss = tf.add_n([tf.nn.l2_loss(w ** 2) for w in var_s])
The regularization is implemented as "l4" regularization.
However in fixed_lib is correct: https://github.com/google-research/google-research/blob/master/enas_lm/src/tpu/fixed_lib.py#L409
@phthhieu @melodyguan
Sorry, something went wrong.
No branches or pull requests
In the child.py file, why w_skip[0] is not used for L2 weight reg ?
var_s = [w_prev] + w_skip[1:]
google-research/enas_lm/src/child.py
Line 69 in 4305853
Does w_skip[0] means the weight of node 1 and node 2 (as the red arrow shows )?
The text was updated successfully, but these errors were encountered: