https://uberduck.ai/ logo
Join Discord
Powered by
# machine-learning
  • z

    zwf

    03/15/2021, 5:45 PM
    https://ngc.nvidia.com/catalog/models/nvidia:tacotron2pyt_fp16/files?version=3
  • z

    zwf

    03/15/2021, 5:45 PM
    oh I guess that link is broken
  • z

    zwf

    03/15/2021, 5:46 PM
    Try this one: https://ngc.nvidia.com/catalog/models/nvidia:tacotron2_pyt_ckpt_amp
  • u

    user

    03/15/2021, 5:47 PM
    Where can I put this file on deep learning examples folder directory?
  • z

    zwf

    03/15/2021, 5:47 PM
    you can put it anywhere, but pass the path to it after the --tacotron flag
  • u

    user

    03/15/2021, 6:31 PM
    @User did you ever heard this error? FileNotFoundError: [Errno 2] No such file or directory: 'flag'
  • u

    user

    03/15/2021, 6:59 PM
    Edit I fixed
  • u

    user

    03/15/2021, 7:13 PM
    another error
  • u

    user

    03/15/2021, 7:13 PM
    Traceback (most recent call last): File "inference.py", line 274, in main() File "inference.py", line 210, in main args.fp16, args.cpu, forward_is_infer=True) File "inference.py", line 119, in load_and_setup_model state_dict = torch.load(checkpoint, map_location=torch.device('cpu'))['state_dict'] KeyError: 'state_dict'
  • u

    user

    03/15/2021, 7:13 PM
    what is this
  • u

    user

    03/15/2021, 7:13 PM
    how can i fix this
  • z

    zwf

    03/19/2021, 8:11 PM
    open a python console, do
    loaded = torch.load("/path/to/checkpoint.pt", map_location=torch.device("cpu")
    and then see what's in
    loaded
    .
  • u

    user

    03/19/2021, 8:11 PM
    Imma jump my pc rn
  • z

    zwf

    03/19/2021, 8:11 PM
    It should be a python dict with a key called
    state_dict
  • z

    zwf

    03/19/2021, 8:11 PM
    but apparently it's not that.
  • u

    user

    03/19/2021, 8:13 PM
    em wich one the waveglow model?
  • z

    zwf

    03/19/2021, 8:13 PM
    try both
  • u

    user

    03/19/2021, 8:13 PM
    ok
  • u

    user

    03/19/2021, 8:15 PM
    i see a . . .
  • z

    zwf

    03/19/2021, 8:16 PM
    try
    loaded.keys()
  • u

    user

    03/19/2021, 8:17 PM
    i think i do wrong
  • z

    zwf

    03/19/2021, 8:18 PM
    missing a close parentheses in your original
    torch.load()
  • u

    user

    03/19/2021, 8:24 PM
    can we do that in anaconda prompt?
  • z

    zwf

    03/19/2021, 8:25 PM
    not sure I understand the question, but type up arrow until you see the line you originally typed
  • z

    zwf

    03/19/2021, 8:25 PM
    and then add an extra parentheses
  • z

    zwf

    03/19/2021, 8:25 PM
    I would also recommend giving https://jupyter.org/ a try, it is more forgiving than the python prompt.
  • u

    user

    03/19/2021, 8:25 PM
    jupyterlab
  • u

    user

    03/19/2021, 8:26 PM
    ?
  • u

    user

    03/19/2021, 8:26 PM
    or notebook
  • z

    zwf

    03/19/2021, 8:26 PM
    lab
12345...1068Latest