Skip to content

[feature request] Checking type of default values #22

@WeberJulian

Description

@WeberJulian

I think it would be great if coqpit checked the type of default parameters.
In this commit, we fix a problem we had with coqui-TTS, where the value inside of the config was silently set to 0 (int part of the value) because the type was wrongly set to int instead of float. Edresson/Coqui-TTS@fe5da49

It would have been nice to have a warning saying that the default value parsed was rounded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions