Skip to content

Reducing n_mel_channels to 40: Error of size mismatch #206

@fatihkiralioglu

Description

@fatihkiralioglu

Hi, I'm trying to model a 8khz tacotron2 and waveglow model. In this scheme, I also reduce the n_mel_channels to 40.

"waveglow_config": {
        "n_mel_channels": 40,
        "n_flows": 12,
        "n_group": 8,
        "n_early_every": 4,
        "n_early_size": 2,
        "WN_config": {
            "n_layers": 8,
            "n_channels": 256,
            "kernel_size": 3
        }
    }
}

At the start of waveglow training, i got the error:
RuntimeError: Given transposed=1, weight of size 40 40 1024, expected input[12, 80, 81] to have 40 channels, but got 80 channels instead

I guess there is a place in the project where, a fixed mel size of 80 is expencted but i could not figure out where it is.

Thanks.

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