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

To make the tensorboard writer compatible to tf2 #283

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

seriousran
Copy link

To make the tensorboard writer compatible to tf2 in visualizer.py

  1. version check for tf2 or not
  2. FileWriter to create_file_writer and following changes

To make the tensorboard writer compatible to tf2 in visualizer.py

1. version check for tf2 or not
2. FileWriter to create_file_writer and following changes
@Zephyr69
Copy link

Hi! Thanks for updating this. But I encountered a problem that whenever tensorboard logging is enabled with this pull, an exception is thrown "Expected all tensors to be on the same device, but found at least two devices: cuda:0 and cuda:1".

I was training only with cuda:1.

@Zephyr69
Copy link

Hi! Thanks for updating this. But I encountered a problem that whenever tensorboard logging is enabled with this pull, an exception is thrown "Expected all tensors to be on the same device, but found at least two devices: cuda:0 and cuda:1".

I was training only with cuda:1.

Nvm. Solved it.

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

Successfully merging this pull request may close these issues.

None yet

2 participants