commit e6d7c14b41c56478396aa087e38ee5857694a9b0 parent d55ab734a640ca67c8e28451f6d56a359873e9ef Author: Rodolfo-S <37642463+Rodolfo-S@users.noreply.github.com> Date: Sat, 6 Jul 2024 12:48:22 -0700 [BUG] disagreement metatdata is int instead of bool (#432) (#433) * Change param type hint Diffstat:
M | nam/train/metadata.py | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/nam/train/metadata.py b/nam/train/metadata.py @@ -45,12 +45,13 @@ class LatencyCalibrationWarnings(BaseModel): :param matches_lookahead: The calibrated latency is as far forard as possible, i.e. the very first sample we looked at tripped the trigger. That's probably not a coincidence but the trigger is too sensitive. - :param max_disagreement: The max disagreement between latency estimates. If - it's too large, then there's a risk that something was warong. + :param disagreement_too_high: The range of the latency estimates is greater + than the max_disagreement_threshold. Indication that something may have + gone wrong. """ matches_lookahead: bool - disagreement_too_high: int + disagreement_too_high: bool class LatencyCalibration(BaseModel):