Skip to content

Commit

Permalink
Fix WandB config improper hierarchical display of keys (ashleve#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreaquil authored Jun 21, 2023
1 parent ca07865 commit 9355a5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/logging_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from lightning.pytorch.utilities import rank_zero_only
from omegaconf import OmegaConf

from src.utils import pylogger

Expand All @@ -15,7 +16,7 @@ def log_hyperparameters(object_dict: dict) -> None:

hparams = {}

cfg = object_dict["cfg"]
cfg = OmegaConf.to_container(object_dict["cfg"])
model = object_dict["model"]
trainer = object_dict["trainer"]

Expand Down

0 comments on commit 9355a5d

Please sign in to comment.