update_config#

JsonLoggerCallback.update_config(trial: Trial, config: Dict)[source]#

Writes a trial’s config to params.json and params.pkl.

Both files go in the trial’s directory.

Parameters:
  • trial (Trial) – The trial the config belongs to.

  • config (Dict) – The trial’s config.