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

Modified some of the reporting keys and overhauled the wandb reporter #288

Merged
merged 9 commits into from
Nov 18, 2024

Conversation

scarere
Copy link
Collaborator

@scarere scarere commented Nov 15, 2024

PR Type

Feature and Fix

Short Description

I noticed an issue where data at the round level was not reported if the wandb reporter step type was step. This was initially the intended behaviour, but we were losing information which wasn't logged at the step level. Restructured the wandb reporter to fix this and also fixed a few things. Additionally I needed to change the metric key for fit_metrics and fit_losses since they were not the same at both the round, epoch and step level. Added some comments to clarify.

A future PR might look into having a single config file that defines all our reporting/logging metrics.

Tests Added

Modified some of the tests to reflect the new reporting keys

Copy link
Collaborator

@emersodb emersodb left a comment

Choose a reason for hiding this comment

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

Generally looks good. Just a few fairly minor comments.

fl4health/clients/basic_client.py Outdated Show resolved Hide resolved
fl4health/clients/basic_client.py Outdated Show resolved Hide resolved
fl4health/clients/basic_client.py Outdated Show resolved Hide resolved
fl4health/clients/basic_client.py Outdated Show resolved Hide resolved
fl4health/reporting/base_reporter.py Show resolved Hide resolved
fl4health/reporting/wandb_reporter.py Outdated Show resolved Hide resolved
fl4health/clients/basic_client.py Outdated Show resolved Hide resolved
fl4health/server/base_server.py Show resolved Hide resolved
@emersodb
Copy link
Collaborator

Good to go here I think

@scarere scarere merged commit 3747589 into main Nov 18, 2024
6 checks passed
@scarere scarere deleted the add_more_reports branch November 18, 2024 21:41
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