You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.
Should parametres in BatchNorm not be initialized ? I just read the way of initializing for the params in Conv2d like follows :
"""
def weights_init(m):
if isinstance(m, nn.Conv2d):
xavier(m.weight.data)
m.bias.data.zero_()
"""
What about the initialization for the params in BN ? But I did read the net construction with
"def add_extras(cfg, i, batch_norm=True):"
and
"def selector(vgg, extra_layers, batch_normal=True):"
and corresponding calling to them
"return SST(phase, *selector(vgg(base[str(size)], 3),add_extras(extras[str(size)],
1024)),add_final(final[str(size)]), use_gpu )",
or is there something that I mistook ? Welcom to leave your perspectives , thanks a lot.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Should parametres in BatchNorm not be initialized ? I just read the way of initializing for the params in Conv2d like follows :
"""
def weights_init(m):
if isinstance(m, nn.Conv2d):
xavier(m.weight.data)
m.bias.data.zero_()
"""
What about the initialization for the params in BN ? But I did read the net construction with
"def add_extras(cfg, i, batch_norm=True):"
and
"def selector(vgg, extra_layers, batch_normal=True):"
and corresponding calling to them
"return SST(phase, *selector(vgg(base[str(size)], 3),add_extras(extras[str(size)],
1024)),add_final(final[str(size)]), use_gpu )",
or is there something that I mistook ? Welcom to leave your perspectives , thanks a lot.
The text was updated successfully, but these errors were encountered: