Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

several bugs #15

Open
Jackiexiao opened this issue Oct 30, 2023 · 3 comments
Open

several bugs #15

Jackiexiao opened this issue Oct 30, 2023 · 3 comments

Comments

@Jackiexiao
Copy link

running TTS egs

  1. text_tokenizer.py

super(TextTokenizer, self).__init__()

no TextTokenizer

class Text2PhoneTokenizer(AbsTokenizer):
    def __init__(self, langdir='UniAudio/checkpoints/lang_nosp'):
        super(TextTokenizer, self).__init__()
  1. offline_tokenization.py
  5 Traceback (most recent call last):
  6   File "data_scripts/offline_tokenization.py", line 161, in <module>
  7     main(sys.argv[1:])
  8   File "data_scripts/offline_tokenization.py", line 70, in main
  9     tokenizer = PhoneTokenizer(duplicate=True)
 10 TypeError: __init__() got an unexpected keyword argument 'duplicate'
@Cris140
Copy link

Cris140 commented Oct 30, 2023

I'm having the same problem, were you able to make it work?

@Jackiexiao
Copy link
Author

I'm having the same problem, were you able to make it work?

  1. easy to fix
  2. just remove duplicate=True (I guess)

@Cris140
Copy link

Cris140 commented Oct 31, 2023

Yes, that worked, but now it's asking for a config.yaml, how can I generate or get one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants