Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using a logger #578

Open
pemeunier opened this issue May 17, 2023 · 1 comment
Open

Error when using a logger #578

pemeunier opened this issue May 17, 2023 · 1 comment

Comments

@pemeunier
Copy link

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]""

@brijow
Copy link

brijow commented Aug 17, 2023

Also experiencing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants