Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

[TWIST] Error(s) in loading state_dict for HubertModel #35

Description

@RoyHirsch

Hi, thank you for the reo! while trying to re-run TWIST we've encounted the following error when initializing CodeHiFiGANVocoder:

Use: dense_model, quantizer_model, vocab = "mhubert-base-25hz", "kmeans", 500

Got the error:
RuntimeError: Error(s) in loading state_dict for HubertModel: Missing key(s) in state_dict: "encoder.pos_conv.0.weight_g", "encoder.pos_conv.0.weight_v". Unexpected key(s) in state_dict: "encoder.pos_conv.0.weight", "encoder.pos_conv.0.running_mean", "encoder.pos_conv.0.running_var", "encoder.pos_conv.0.num_batches_tracked", "encoder.pos_conv.1.weight", "encoder.pos_conv.1.bias".

It seems like some of the keys in the state_dict are incompatible, we would appreciate your help.

Roy

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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