Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
priyakasimbeg committed Dec 6, 2023
1 parent 2381c77 commit 027574a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def __init__(self,
super().__init__()

if use_layer_norm:
norm_layer = nn.LayerNorm()
norm_layer = nn.LayerNorm([out_chans, 320, 320])
else:
norm_layer = nn.InstanceNorm2d(out_chans)
if use_tanh:
Expand Down Expand Up @@ -148,7 +148,7 @@ def __init__(self,
):
super().__init__()
if use_layer_norm:
norm_layer = nn.LayerNorm()
norm_layer = nn.LayerNorm([out_chans, 320, 320)
else:
norm_layer = nn.InstanceNorm2d(out_chans)
if use_tanh:
Expand Down

0 comments on commit 027574a

Please sign in to comment.