Skip to content

Tuner's Oracle paratemer "run_times" differs from user input "executions_per_trial" #1022

@jsaladich

Description

@jsaladich

Hi KerasTuner team!

Describe the bug
I ran an experiment with keras_tuner.BayesianOptimization in which executions_per_trial=3. When I check the file ./oracle.json I realize that the field run_times is always equal to 1.

Moreover, the files ./../trial.json of each trial only return 1 best score and a single value in metric.

Expected behavior
I would expect two things to behave differently:

  1. oracle.json file should return each trial with run_times=3 if the user requested executions_per_trial=3 in the configuration
  2. Each trial.json file should return a list of lenght len(executions_per_trial) containing the scores / metrics for each execution per trial, so the user can analyze better the algorithm.

Am I missing something or this is how it works?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions