Skip to content

Commit

Permalink
spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
laszewsk committed Oct 4, 2023
1 parent 2aa641e commit 703fb1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/cloudmask/target/greene_v0.5/cloudmask_v0.5.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def string_to_boolean(input_string):

callbacks = None

config['experiement.early_stoppage'] = string_to_boolean(config['experiement.early_stoppage'])
config['experiment.early_stoppage'] = string_to_boolean(config['experiment.early_stoppage'])
config['experiment.early_stoppage_patience'] = int(config['experiment.early_stoppage_patience'])

# if config['experiement.early_stoppage']:
Expand All @@ -246,7 +246,7 @@ def string_to_boolean(input_string):
# callbacks = []
# callbacks.append(EarlyStopping(monitor='val_loss', patience=patience))

if config['experiement.early_stoppage']:
if config['experiment.early_stoppage']:
callbacks = [EarlyStopping(monitor='val_loss', patience=config['experiment.early_stoppage_patience'])]
print("Early Stopping Activated")
else:
Expand Down

0 comments on commit 703fb1b

Please sign in to comment.