Skip to content

Commit

Permalink
remove tanh nonlinearity
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Jan 19, 2021
1 parent 0d84085 commit ddcf3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deep_daze/deep_daze.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def rand_cutout(image, size):
# load siren

def norm_siren_output(img):
return (img.tanh() + 1) * 0.5
return (img + 1) * 0.5

class DeepDaze(nn.Module):
def __init__(
Expand Down

0 comments on commit ddcf3d7

Please sign in to comment.