Skip to content

[tacotron2/Pytorch] 'Tacotron2' object has no attribute 'text_to_sequence' #955

@Luosuu

Description

@Luosuu

Describe the bug
I run the tutorial on https://pytorch.org/hub/nvidia_deeplearningexamples_waveglow/
and I got errors

AttributeError: 'Tacotron2' object has no attribute 'text_to_sequence

it is the error from line 20 of this tutorial

sequence = np.array(tacotron2.text_to_sequence(text, ['english_cleaners']))[None, :]

To Reproduce
it will occur no matter executing the tutorial on Google colab or on my local machine

Expected behavior
sequence should be generated from the tacotron2 model by inputting the text

Environment
Please provide at least:

  • Container version (e.g. pytorch:19.05-py3): pytorch 1.8.1+cu102
  • GPUs in the system: (e.g. 8x Tesla V100-SXM2-16GB): GTX1080
  • CUDA driver version (e.g. 418.67): 11.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions