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

voices.json en_US/cmu-arctic_low metadata is incorrect #50

Open
bhiln opened this issue Sep 25, 2023 · 0 comments
Open

voices.json en_US/cmu-arctic_low metadata is incorrect #50

bhiln opened this issue Sep 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@bhiln
Copy link

bhiln commented Sep 25, 2023

Describe the bug
Incorrect voices.json information: en_US/cmu-arctic_low/config.json filesize and hash are incorrect in voices.json. They are currently:

  • size_bytes: 3583
  • sha256_sum: 40d55cdef742aadff581b4418763db0b559e7c49d1602c39d552cfd8ae47c249

To Reproduce
Steps to reproduce the behavior:

  1. In terminal, download voice by running:
mimic3 "Hello" --voice en_US/cmu-arctic_low
  1. Use Mimic3 Python utilities to compare expected and actual sha256_sum and size_bytes:
import os
import mimic3_tts
print("Expected", mimic3_tts._resources._VOICES["en_US/cmu-arctic_low"]["files"]["config.json"])
file_path = os.path.join(mimic3_tts.download.DEFAULT_VOICES_DOWNLOAD_DIR, "en_US/cmu-arctic_low/config.json")
print("Actual size_bytes", os.path.getsize(file_path))
with open(file_path, "rb") as f:
  print("Actual sha256_sum", mimic3_tts.utils.file_sha256_sum(f))
  1. Notice that expected does not match actual.

Expected behavior
Expected should match actual in step 2 above.

Log files
N/A

Environment (please complete the following information):
N/A

Additional context
N/A

@bhiln bhiln added the bug Something isn't working label Sep 25, 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

1 participant