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

[Bug] PhonemeCoverage is out of date with the current APIs #2841

Closed
jhwgh1968 opened this issue Aug 5, 2023 · 0 comments
Closed

[Bug] PhonemeCoverage is out of date with the current APIs #2841

jhwgh1968 opened this issue Aug 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jhwgh1968
Copy link

jhwgh1968 commented Aug 5, 2023

Describe the bug

The notebook does not work due to a number of imports that don't exist.

I opened a trivial PR for this here: #2840 but I decline to sign the CLA so I closed it.

Perhaps someone who can will make this trivial fix and save annoyance by users trying to debug custom models?

To Reproduce

  1. Open the notebook for Phoneme coverage
  2. Change the config path to one being debugged
  3. Run it

Expected behavior

It runs correctly and outputs an image of a phoneme distribution

Logs

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[28], line 2
      1 # import stuff
----> 2 from TTS.utils.io import load_config
      3 from TTS.tts.datasets.formatters import load_tts_samples
      4 from TTS.tts.utils.text import phoneme_to_sequence, sequence_to_phoneme

ImportError: cannot import name 'load_config' from 'TTS.utils.io' (/home/cryptkeeper/Desktop/Software/TTS/TTS/utils/io.py)

Environment

- TTS version: git dev 4e7f8cd0
- Python version: 3.11.3

Additional context

No response

@jhwgh1968 jhwgh1968 added the bug Something isn't working label Aug 5, 2023
@erogol erogol closed this as completed Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants