Skip to content

Tuning parameters are initialized wrong. #274

@nikifori

Description

@nikifori

Based on this code here:

self._duration = duration

it seems that attributes like duration and etc. are initialized with an "_" before their name.

This raised an issue here:

config = self.base_config.__class__(**trial_config)

SpeakerDiarizationConfig class does not contain any _latency or _duration argument in its __init__ method.
Thus, always the default values of all the arguments with "_" before their name is going to be used in the tuning phase, even if we pass --duration 10 and etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions