Skip to content

Commit

Permalink
scripts: Fix lambda mis-spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
usert5432 committed Mar 6, 2024
1 parent f741603 commit 40b60d2
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions scripts/afhq/train_cat2dog_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ def parse_cmdargs():
)

parser.add_argument(
'--labmda-gp', dest = 'lambda_gp', type = float,
'--lambda-gp', dest = 'lambda_gp', type = float,
default = 1.0, help = 'magnitude of the gradient penalty'
)

parser.add_argument(
'--labmda-cycle', dest = 'lambda_cyc', type = float,
'--lambda-cycle', dest = 'lambda_cyc', type = float,
default = 5.0, help = 'magnitude of the cycle-consisntecy loss'
)

Expand Down
4 changes: 2 additions & 2 deletions scripts/afhq/train_wild2cat_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ def parse_cmdargs():
)

parser.add_argument(
'--labmda-gp', dest = 'lambda_gp', type = float,
'--lambda-gp', dest = 'lambda_gp', type = float,
default = 1.0, help = 'magnitude of the gradient penalty'
)

parser.add_argument(
'--labmda-cycle', dest = 'lambda_cyc', type = float,
'--lambda-cycle', dest = 'lambda_cyc', type = float,
default = 5.0, help = 'magnitude of the cycle-consisntecy loss'
)

Expand Down
4 changes: 2 additions & 2 deletions scripts/afhq/train_wild2dog_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ def parse_cmdargs():
)

parser.add_argument(
'--labmda-gp', dest = 'lambda_gp', type = float,
'--lambda-gp', dest = 'lambda_gp', type = float,
default = 1.0, help = 'magnitude of the gradient penalty'
)

parser.add_argument(
'--labmda-cycle', dest = 'lambda_cyc', type = float,
'--lambda-cycle', dest = 'lambda_cyc', type = float,
default = 5.0, help = 'magnitude of the cycle-consisntecy loss'
)

Expand Down
4 changes: 2 additions & 2 deletions scripts/anime2selfie/train_anime2selfie_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ def parse_cmdargs():
)

parser.add_argument(
'--labmda-gp', dest = 'lambda_gp', type = float,
'--lambda-gp', dest = 'lambda_gp', type = float,
default = 0.01, help = 'magnitude of the gradient penalty'
)

parser.add_argument(
'--labmda-cycle', dest = 'lambda_cyc', type = float,
'--lambda-cycle', dest = 'lambda_cyc', type = float,
default = 10.0, help = 'magnitude of the cycle-consisntecy loss'
)

Expand Down
4 changes: 2 additions & 2 deletions scripts/celeba/train_celeba_glasses_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ def parse_cmdargs():
)

parser.add_argument(
'--labmda-gp', dest = 'lambda_gp', type = float,
'--lambda-gp', dest = 'lambda_gp', type = float,
default = 0.01, help = 'magnitude of the gradient penalty'
)

parser.add_argument(
'--labmda-cycle', dest = 'lambda_cyc', type = float,
'--lambda-cycle', dest = 'lambda_cyc', type = float,
default = 10.0, help = 'magnitude of the cycle-consisntecy loss'
)

Expand Down
4 changes: 2 additions & 2 deletions scripts/celeba/train_celeba_male2female_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ def parse_cmdargs():
)

parser.add_argument(
'--labmda-gp', dest = 'lambda_gp', type = float,
'--lambda-gp', dest = 'lambda_gp', type = float,
default = 0.01, help = 'magnitude of the gradient penalty'
)

parser.add_argument(
'--labmda-cycle', dest = 'lambda_cyc', type = float,
'--lambda-cycle', dest = 'lambda_cyc', type = float,
default = 10.0, help = 'magnitude of the cycle-consisntecy loss'
)

Expand Down
4 changes: 2 additions & 2 deletions scripts/celeba_hq/train_m2f_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ def parse_cmdargs():
)

parser.add_argument(
'--labmda-gp', dest = 'lambda_gp', type = float,
'--lambda-gp', dest = 'lambda_gp', type = float,
default = 1.0, help = 'magnitude of the gradient penalty'
)

parser.add_argument(
'--labmda-cycle', dest = 'lambda_cyc', type = float,
'--lambda-cycle', dest = 'lambda_cyc', type = float,
default = 5.0, help = 'magnitude of the cycle-consisntecy loss'
)

Expand Down

0 comments on commit 40b60d2

Please sign in to comment.