Coder Social home page Coder Social logo

Comments (4)

Tomiinek avatar Tomiinek commented on May 28, 2024

Hi! 🙂

At first, please read through the issue #7, it may be helpful for you.

To build your dataset: If you have any audio-transcript pairs in Urdu, just mix them with the dataset provided in this repository and make sure that it has similar transcripts length distribution and audio duration distribution. You can use this jupyter notebook notebooks/analyze.ipynb for the analysis.

You do not need to change vocabulary as the model is character-based. So you do have to extend it with the list of Arabic letters. Specifically, change the parameter characters to something like abcdefghijklmnopqrstuvwxyzçèéßäöōǎǐíǒàáǔüèéìūòóùúāēěīâêôûñőűабвгдежзийклмнопрстуфхцчшщъыьэюяёوهنملكقفغعظطضصشسزرذدخحجثتبيا (I do not undrestand the Arabic script, but it should be a simple text string with every possible character in the alphabet, also make sure that encoding and everything works)

Best wishes, Tomas

from multilingual_text_to_speech.

 avatar commented on May 28, 2024

Thanks you very much!
I run the code analyze.py, get error:

FileNotFoundError                         Traceback (most recent call last)
<ipython-input-5-449f082df24f> in <module>
      3 metafile = "all_reduced.txt"
      4 dataset_root = "../data/css10"
----> 5 data = TextToSpeechDataset(os.path.join(dataset_root, metafile), dataset_root)

~/Multilingual_Text_to_Speech/dataset/dataset.py in __init__(self, meta_file, dataset_root_dir, known_unique_speakers)
     82         unique_speakers_set = set(self.unique_speakers)
     83         self.items = []
---> 84         with open(meta_file, 'r', encoding='utf-8') as f:
     85             for line in f:
     86                 line_tokens = line[:-1].split('|')

FileNotFoundError: [Errno 2] No such file or directory: '../data/css10/all_reduced.txt'

How create file /all_reduced.txt? is not in folder.

from multilingual_text_to_speech.

Tomiinek avatar Tomiinek commented on May 28, 2024

Use a dataset meta-file that exists, for example metafile = "all.txt". The notebook is intended just for quick experiments and plotting of some data. You do not have to run it completly or as is.

from multilingual_text_to_speech.

stale avatar stale commented on May 28, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from multilingual_text_to_speech.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.