log_hparams_config {tfevents} | R Documentation |
Logs hyperparameters configuration
Description
Logs the hyperaparameter configuration for a HyperParameter tuning experiment. It allows you to define the domain for each hyperparameters and what are the metrics that should be shown in the TensorBoard UI, along with configuring their display name and descriptions.
Usage
log_hparams_config(hparams, metrics, time_created_secs = get_wall_time())
summary_hparams_config(hparams, metrics, time_created_secs = get_wall_time())
Arguments
hparams |
A list of |
metrics |
A list of |
time_created_secs |
The time the experiment is created in seconds since the UNIX epoch. |
Value
Invisibly returns the HParam conffuration data as a summary
object.
Functions
-
summary_hparams_config()
: For advanced users only. Creates a hyperaparameter configuration summary that can be logged withlog_event()
.
Recommendations
When loging hyperparameter tuning experiments, the log directory organization is:
- root: - log_hparams_config(...) - run1: - log_hparams(...) - log_event(...) - run2: - log_hparams(...) - log_event(...)
Ie you should have a root logdir that will only contain the hyperaparameter
config log, as created with log_hparams_config()
. Then each run in the
experiment will have it's own logdir as a child directory of the root logdir.