Skip to content

Commit 9607db4

Browse files
committed
fixed typo
1 parent 1c695d2 commit 9607db4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CollaborativeCoding/dataloaders/uspsh5_7_9.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(
4545
Path to the USPS `.h5` file.
4646
4747
transform : callable, optional, default=None
48-
A t2ransform function to apply on images.
48+
A transform function to apply on images.
4949
"""
5050
self.filename = "usps.h5"
5151
path = data_path if isinstance(data_path, Path) else Path(data_path)

CollaborativeCoding/metrics/F1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
class F1Score(nn.Module):
77
"""
8-
Computes Micro or Macro F1 Score efficiently.
9-
8+
F1 Score implementation with support for both macro and micro averaging.
9+
This class computes the F1 score during training using either macro or micro averaging.
1010
Parameters
1111
----------
1212
num_classes : int

0 commit comments

Comments
 (0)