Skip to content

Conversation

ZHAOTING
Copy link
Contributor

@ZHAOTING ZHAOTING commented Apr 4, 2023

The values of some items in the stats dictionary are tensors in the current code, and it prevents a tensorboard accelerate tracker from logging them.
This PR converts those tensors into scalars via .item() and makes the tensorboard tracker behave as expected.

Copy link
Collaborator

@jon-tow jon-tow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @ZHAOTING!

@jon-tow jon-tow merged commit d3d1cef into CarperAI:main Apr 4, 2023
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.

2 participants