Skip to content

Inference: size mismatch for context_lstm.weight_ih_l0: copying a param with shape torch.Size([2080, 1044]) from checkpoint, the shape in current model is torch.Size([2080, 1040]). #23

@jaggzh

Description

@jaggzh

I'm sorry to trouble you. I'm trying to use the project to assist a patient on a ventilator -- I'm just trying to get inference working right now, but am unable to figure out some of the options:

CONFIG_PATH=configs/config_ljs_radtts.json
RADTTS_PATH=??
HG_PATH=data/archive/
HG_CONFIG_PATH=data/hifigan_22khz_config.json
TEXT_PATH=test.txt

python inference.py -c $CONFIG_PATH -r $RADTTS_PATH \
	-v $HG_PATH -k $HG_CONFIG_PATH -t $TEXT_PATH -s ljs \
	--speaker_attributes ljs --speaker_text ljs -o results/

I have hifigan_libritts100360_generator0p5.pt.zip unzipped into data/archive/*, like:

  • data/archive/data.pkl
  • data/archive/data/94135883059968
  • data/hifigan_22khz_config.json

I'm not sure what to put in for TEXT_PATH, nor if the config or, really, the other options should really point to.

Thanks for the help and your time.

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