Skip to content

Commit

Permalink
[pre-commit.ci] Add auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 8, 2025
1 parent d306951 commit f80ca11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion research/rxrx1/ditto_deep_mmd/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def __init__(
)
self.client_number = client_number
self.learning_rate: float = learning_rate

log(INFO, f"Client Name: {self.client_name}, Client Number: {self.client_number}")

def setup_client(self, config: Config) -> None:
Expand Down
4 changes: 2 additions & 2 deletions research/rxrx1/ditto_mkmmd/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from fl4health.utils.random import set_all_random_seeds
from research.rxrx1.data.data_utils import load_rxrx1_data, load_rxrx1_test_data

BASELINE_LAYERS = ["layer1","layer2", "layer3", "layer4", "avgpool"]
BASELINE_LAYERS = ["layer1", "layer2", "layer3", "layer4", "avgpool"]


class Rxrx1DittoClient(DittoMkMmdClient):
Expand Down Expand Up @@ -54,7 +54,7 @@ def __init__(
)
self.client_number = client_number
self.learning_rate: float = learning_rate

log(INFO, f"Client Name: {self.client_name}, Client Number: {self.client_number}")

# Number of batches to accumulate before updating the global model
Expand Down

0 comments on commit f80ca11

Please sign in to comment.