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

ValueError: default logger already configured #28

Open
GayatriPurandharT opened this issue Oct 20, 2019 · 1 comment
Open

ValueError: default logger already configured #28

GayatriPurandharT opened this issue Oct 20, 2019 · 1 comment

Comments

@GayatriPurandharT
Copy link

I am using tensorboard logger with pytorch. I have this error when i write:
configure("runs/run-1234", flush_secs=5)

for step in range(1000):
log_value('v1', epoch, step)
log_value('v2', D_cost.data, step)

what could have gone wrong?

@lopuhin
Copy link
Contributor

lopuhin commented Oct 21, 2019

@GayatriPurandharT most likely, configure was already called once, and it's complaining that the logger is already configured. You can either find and remove a second call to configure, or use tensorboard_logger.Logger object and not configure a global logger.

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