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 5a1adce commit 2381c77
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ def __init__(self,
super().__init__()

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

0 comments on commit 2381c77

Please sign in to comment.