Skip to content

Commit

Permalink
Remove inaccurate return type
Browse files Browse the repository at this point in the history
  • Loading branch information
baskrahmer committed Apr 29, 2024
1 parent 3b4c043 commit 59383ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def clear_metrics(metrics: dict[str, torch.nn.Module]):
for metric_key, metric in metrics.items():
metric.reset()

def macro_average_metrics(self, metrics: dict[str, torch.nn.Module], data_split: str) -> dict[str, float]:
def macro_average_metrics(self, metrics: dict[str, torch.nn.Module], data_split: str):
macro_averages = {}
for metric_key, metric in metrics.items():
identifier = metric_key.split("_")[0]
Expand Down

0 comments on commit 59383ca

Please sign in to comment.