Skip to content

TypeError: WandbObserver.initialize_observer() missing 1 required positional argument: 'caller_info' #18

Open

Description

@WEIFZH

Hi, thanks for yor open source work, I tried to run

python src/hdbo_benchmark/experiments/benchmark_on_toy_objective/run.py --function-name=shifted_sphere --solver-name=random_search --initial-sample-size=10 --n-dimensions=10 --max-iter=300 --seed=1

but got this TypeError:

TypeError: WandbObserver.initialize_observer() missing 1 required positional argument: 'caller_info'

It seems there are some inconsistencies when creating wandb observer. Could you please advise me on how to fix them? Thank you!


Additionally, if I want to call the initialize_observer function, what should the value of supervised_data be?

Activity

  1. miguelgondu commented on Mar 14, 2025

    @miguelgondu
    Contributor

    Hi @WEIFZH,

    Thanks for raising this error! I'll address it during the weekend.

    the toy objective run is indeed pretty outdated. Feel free to check the new_experiments branch for a more updated version of the pipeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions