Skip to content

Commit

Permalink
indention fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shahtalebi committed Jun 8, 2021
1 parent 93729ca commit 1118fb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions domainbed/hparams_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def _hparam(name, default_val, random_val_fn):

elif algorithm == "IGA":
_hparam('penalty', 1000, lambda r: 10**r.uniform(1, 5))
elif algorithm == "SANDMask":

elif algorithm == "SANDMask":
_hparam('tau', 1.0, lambda r: r.uniform(0.0, 1.))
_hparam('k', 1e+1, lambda r: int(10**r.uniform(-3, 5)))

Expand Down

0 comments on commit 1118fb2

Please sign in to comment.