We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c695d2 commit 9607db4Copy full SHA for 9607db4
CollaborativeCoding/dataloaders/uspsh5_7_9.py
@@ -45,7 +45,7 @@ def __init__(
45
Path to the USPS `.h5` file.
46
47
transform : callable, optional, default=None
48
- A t2ransform function to apply on images.
+ A transform function to apply on images.
49
"""
50
self.filename = "usps.h5"
51
path = data_path if isinstance(data_path, Path) else Path(data_path)
CollaborativeCoding/metrics/F1.py
@@ -5,8 +5,8 @@
5
6
class F1Score(nn.Module):
7
8
- Computes Micro or Macro F1 Score efficiently.
9
-
+ F1 Score implementation with support for both macro and micro averaging.
+ This class computes the F1 score during training using either macro or micro averaging.
10
Parameters
11
----------
12
num_classes : int
0 commit comments