Skip to content

Commit

Permalink
Fix typo in call to add_argument function
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmans1 authored Jan 12, 2024
1 parent 92bc46e commit 5ad5a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/roman_pots/train_dense_neural_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def run_experiment(input_files, target_files, hyperparameters):
'--num_epochs_py', '--learning_rate_py', '--size_input_py', '--size_output_py', '--n_layers_py', '--size_first_hidden_layer_py', '--multiplier_py', 'leak_rate_py',
'--num_epochs_px', '--learning_rate_px', '--size_input_px', '--size_output_px', '--n_layers_px', '--size_first_hidden_layer_px', '--multiplier_px', 'leak_rate_px']
for hyperparameter in hyperparameters_list:
parser.add_arguments(hyperparameter)
parser.add_argument(hyperparameter)
hyperparameters = parser.parse_args(['@'+str(sys.argv[1])])
run_experiment(hyperparameters)

Expand Down

0 comments on commit 5ad5a79

Please sign in to comment.