Skip to content

ConfigAttributeError: Missing key mask_padding #17

@iwellkim

Description

@iwellkim

When I run this cell from the colab,

with torch.no_grad():
mel_s_t, alignment, residual = model.inference(text_norm, mel_source, target_speaker)

this error occurs


ConfigAttributeError Traceback (most recent call last)
in ()
1 with torch.no_grad():
----> 2 mel_s_t, alignment, residual = model.inference(text_norm, mel_source, target_speaker)

10 frames
/usr/local/lib/python3.7/dist-packages/omegaconf/dictconfig.py in _get_node(self, key, validate_access, throw_on_missing_value, throw_on_missing_key)
468 if value is None:
469 if throw_on_missing_key:
--> 470 raise ConfigKeyError(f"Missing key {key}")
471 elif throw_on_missing_value and value._is_missing():
472 raise MissingMandatoryValue("Missing mandatory value: $KEY")

ConfigAttributeError: Missing key mask_padding
full_key: train.mask_padding
object_type=dict

Can youlet me know how to fix it?

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