use InstanceNorm2d instead of LayerNorm
This commit is contained in:
parent
1e91784a91
commit
9325503b51
@ -193,7 +193,7 @@ class DispNetS(TimedModule):
|
|||||||
return torch.nn.Sequential(
|
return torch.nn.Sequential(
|
||||||
torch.nn.Conv2d(in_planes, out_planes, kernel_size=3, padding=1),
|
torch.nn.Conv2d(in_planes, out_planes, kernel_size=3, padding=1),
|
||||||
# TODO try this
|
# TODO try this
|
||||||
torch.nn.LayerNorm(out_planes),
|
torch.nn.InstanceNorm2d(out_planes),
|
||||||
torch.nn.ReLU(inplace=True)
|
torch.nn.ReLU(inplace=True)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user