Skip to content

Pass SummaryWriter to Offline Eval class to log metrics#705

Closed
alexnikulkov wants to merge 1 commit intofacebookresearch:mainfrom
alexnikulkov:export-D42251660
Closed

Pass SummaryWriter to Offline Eval class to log metrics#705
alexnikulkov wants to merge 1 commit intofacebookresearch:mainfrom
alexnikulkov:export-D42251660

Conversation

@alexnikulkov
Copy link
Contributor

Summary: Pass SummaryWriter to offline evaluators, so that they could log metrics to TensorBoard

Differential Revision: D42251660

Summary: Pass `SummaryWriter` to offline evaluators, so that they could log metrics to TensorBoard

Differential Revision: D42251660

fbshipit-source-id: dcd1b951d3b57aac5b0321ed12fa34e8fd7e021a
@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D42251660

@codecov-commenter
Copy link

codecov-commenter commented Dec 27, 2022

Codecov Report

Base: 87.70% // Head: 87.72% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (950589a) compared to base (ceac47a).
Patch coverage: 97.05% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #705      +/-   ##
==========================================
+ Coverage   87.70%   87.72%   +0.01%     
==========================================
  Files         373      373              
  Lines       24011    24039      +28     
  Branches       44       44              
==========================================
+ Hits        21060    21088      +28     
  Misses       2925     2925              
  Partials       26       26              
Impacted Files Coverage Δ
reagent/training/cb/base_trainer.py 84.44% <50.00%> (ø)
reagent/evaluation/cb/base_evaluator.py 93.47% <100.00%> (+2.56%) ⬆️
reagent/evaluation/cb/policy_evaluator.py 95.83% <100.00%> (ø)
reagent/test/evaluation/cb/test_integration.py 100.00% <100.00%> (ø)
...eagent/test/evaluation/cb/test_policy_evaluator.py 97.29% <100.00%> (+0.37%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@facebook-github-bot
Copy link

This pull request has been merged in 2e72fdc.

xuruiyang pushed a commit that referenced this pull request Sep 20, 2025
Summary:
Pull Request resolved: #705

Pass `SummaryWriter` to offline evaluators, so that they could log metrics to TensorBoard

Reviewed By: BerenLuthien

Differential Revision: D42251660

fbshipit-source-id: 202cee318ad2ba47055b1ed945eebeeab88db226
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants