Skip to content

Commit

Permalink
Merge pull request #231 from nabenabe0928/fix-template
Browse files Browse the repository at this point in the history
Fix the root path of the template example
  • Loading branch information
y0z authored Dec 28, 2024
2 parents 2f28d51 + ce96885 commit 5fff936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def objective(trial: optuna.Trial) -> float:
# This is an example of how to load a sampler from your local optunahub-registry.
sampler = optunahub.load_local_module(
package=package_name,
registry_root="./", # Path to the root of the optunahub-registry.
registry_root="./package", # Path to the root of the optunahub-registry.
).YourSampler()
else:
# This is an example of how to load a sampler from your fork of the optunahub-registry.
Expand Down

0 comments on commit 5fff936

Please sign in to comment.