Skip to content

Commit

Permalink
doc fix for run_arg usage
Browse files Browse the repository at this point in the history
  • Loading branch information
danrgll committed Apr 15, 2024
1 parent e8821d6 commit cde54f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/neps_run.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ an example of how to structure your YAML configuration.
```yaml
run_args: # Essential starting key; everything under this key gets considered for configuration.
run_pipeline:
path: "path/to/your/run_pipeline" # File path of the run_pipeline function
path: "path/to/your/run_pipeline.py" # File path of the run_pipeline function
name: "name_of_your_run_pipeline" # Function name
pipeline_space: "path/to/your/search_space.yaml" # Path of the search space yaml file
root_directory: "neps_results" # Output directory for results
Expand Down
4 changes: 2 additions & 2 deletions neps_examples/yaml_usage/hpo_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,5 @@ def training_pipeline(num_layers, num_neurons, epochs, learning_rate, optimizer)
# Run optimization using neps.run(...). Arguments can be provided directly to neps.run
# or defined in a configuration file (e.g., "run_args.yaml") passed through
# the run_args parameter.
# neps.run(run_args="run_args.yaml")
neps.run(run_args="run_args_alternative.yaml")
neps.run(run_args="run_args.yaml")
# neps.run(run_args="run_args_alternative.yaml")

0 comments on commit cde54f9

Please sign in to comment.