Skip to content

Commit

Permalink
Update transformations.py
Browse files Browse the repository at this point in the history
fixed normalize function
  • Loading branch information
johschmidt42 authored Feb 14, 2021
1 parent ecb66e4 commit 82383d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def __init__(self,
self.std = std

def __call__(self, inp, tar):
inp = normalize(inp)
inp = normalize(inp, mean=self.mean, std=self.std)

return inp, tar

Expand All @@ -163,4 +163,4 @@ def __call__(self, inp, tar):
return input_out, target_out

def __repr__(self):
return str({self.__class__.__name__: self.__dict__})
return str({self.__class__.__name__: self.__dict__})

0 comments on commit 82383d8

Please sign in to comment.