ashleve / lightning-hydra-template

PyTorch Lightning + Hydra. A very user-friendly template for ML experimentation. ⚡🔥⚡

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when using a logger

pemeunier opened this issue · comments

When using a logger, I get the following error during the "Logging hyperparameters!" step:
"AttributeError: 'str' object has no attribute 'name'"

I noticed that it's happening when evaluating the following line of "utils.log_hyperparameters":
"hparams["tags"] = cfg.get("tags")"

To make it work I changed the train.yaml file line:
"tags: ["dev"]"
to
"tags: "[dev]""

Also experiencing this