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

Implement TensorboardWriter #18

Merged
merged 13 commits into from
Apr 20, 2021
Merged

Conversation

akainth015
Copy link

The TensorboardWriter can also log rich images and histograms

@akainth015 akainth015 requested a review from prigoyal April 6, 2021 17:35
@akainth015 akainth015 force-pushed the master branch 2 times, most recently from edfcced to 795b0c3 Compare April 8, 2021 17:25
@akainth015 akainth015 changed the base branch from master to event-writers-master April 8, 2021 17:29
tests/test_configs.py Outdated Show resolved Hide resolved
@akainth015 akainth015 marked this pull request as ready for review April 16, 2021 07:24
@akainth015 akainth015 linked an issue Apr 16, 2021 that may be closed by this pull request
3 tasks
vissl/hooks/tensorboard_hook.py Outdated Show resolved Hide resolved
vissl/hooks/tensorboard_hook.py Outdated Show resolved Hide resolved
@prigoyal
Copy link
Collaborator

prigoyal commented Apr 19, 2021

Follow-up steps:

  • Pull the VISSL main master and rebase on top
  • Address the only comment
  • Update the test plan in this PR (command you ran, ls tb_logs/)
  • CircleCI cpu_tests are green after the rebase
  • Merge this PR in MLH fork

@grace-omotoso
Copy link
Member

grace-omotoso commented Apr 19, 2021

Follow-up steps:

  • Pull the VISSL main master and rebase on top
  • Address the only comment
  • Update the test plan in this PR (command you ran, ls tb_logs/)
  • CircleCI cpu_tests are green after the rebase
  • Merge this PR in MLH fork

Test
python tools/run_distributed_engines.py config=test/cpu_test/test_cpu_resnet_simclr config.DATA.TRAIN.DATA_SOURCES=[synthetic] config.HOOKS.TENSORBOARD_SETUP.USE_TENSORBOARD=true

TB Log files
events.out.tfevents.1618512637.DESKTOP-RFEIFUI.552.1 events.out.tfevents.1618628331.DESKTOP-RFEIFUI.3103.1
events.out.tfevents.1618513139.DESKTOP-RFEIFUI.1062.1 events.out.tfevents.1618857288.DESKTOP-RFEIFUI.3618.1
events.out.tfevents.1618589737.DESKTOP-RFEIFUI.1420.1 events.out.tfevents.1618859730.DESKTOP-RFEIFUI.3716.1
events.out.tfevents.1618589813.DESKTOP-RFEIFUI.1466.1 events.out.tfevents.1618860232.DESKTOP-RFEIFUI.4013.1
events.out.tfevents.1618592365.DESKTOP-RFEIFUI.1773.1 events.out.tfevents.1618862899.DESKTOP-RFEIFUI.4329.1
events.out.tfevents.1618628142.DESKTOP-RFEIFUI.3054.1

@akainth015
Copy link
Author

Tried to repair the branch - it looks like there was a messy merge. I cherry-picked the "made more replacements of tb_writer with event_storage" commit onto the correct version of the branch. Now the events.out.tfevents.1618862899.DESKTOP-RFEIFUI.4329.0 file should be gone, along with duplicated commits.

@prigoyal
Copy link
Collaborator

this is good to go from my side and no further comments.

thank you @grace-omotoso and @akainth015 :)

@prigoyal prigoyal merged commit 41877d6 into event-writers-master Apr 20, 2021
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.

Write TensorboardWriter
3 participants