Skip to content

Commit

Permalink
no description for ECAPA2
Browse files Browse the repository at this point in the history
  • Loading branch information
jhauret committed May 30, 2024
1 parent 5b32f8e commit 4fd6746
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions configs/lightning_module/ecapa2.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
_target_: vibravox.lightning_modules.ecapa2.ECAPA2LightningModule

description: ${description}
6 changes: 0 additions & 6 deletions vibravox/lightning_modules/ecapa2.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class ECAPA2LightningModule(LightningModule):
def __init__(
self,
metrics: MetricCollection,
description: str = None,
):
"""
Initializes the ECAPA2 model with Pytorch Lightning paradigm.
Expand All @@ -28,7 +27,6 @@ def __init__(
Args:
metrics (MetricCollection): collection of metrics to compute
description (str): description to log in tensorboard
"""
super().__init__()

Expand All @@ -44,9 +42,6 @@ def __init__(
# Metrics
self.metrics = metrics

# Description string for the logger
self.description: str = description

def training_step(self, batch):
"""
Lightning training step: only defined for the trainer
Expand Down Expand Up @@ -123,7 +118,6 @@ def on_test_start(self) -> None:
Called at the beginning of the testing loop.
- Checks the LightningDataModule parameters.
- Logs the description in tensorboard.
"""
# Check DataModule parameters
self.check_datamodule_parameter()
Expand Down

0 comments on commit 4fd6746

Please sign in to comment.