Giter Club home page Giter Club logo

radtts-hifigan's Introduction

RADTTS + HiFiGAN vocoder

🇺🇦 Join Ukrainian Text-to-Speech community: https://t.me/speech_synthesis_uk

Open In Colab

Clone the code:

git clone https://github.com/egorsmkv/radtts-hifigan
cd radtts-hifigan

Install dependencies:

pip install -r requirements.txt

Download Ukrainian RADTTS and HiFiGAN models:

mkdir models
cd models

wget https://github.com/egorsmkv/radtts-hifigan/releases/download/v1.0/hifi_config.json
wget https://github.com/egorsmkv/radtts-hifigan/releases/download/v1.0/hifi_vocoder.pt
wget https://github.com/egorsmkv/radtts-istftnet/releases/download/v1.0/RADTTS-Lada.pt

Then you can inference own texts by the following command:

python3 inference.py -c config_ljs_dap.json -r models/RADTTS-Lada.pt -t test_sentences.txt --vocoder_path models/hifi_vocoder.pt --vocoder_config_path models/hifi_config.json -o results/

radtts-hifigan's People

Contributors

egorsmkv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

radtts-hifigan's Issues

Inference process fails on Windows

2/4: кам'янець-подільський - місто в хмельницькій області україни центр кам'янець-подільської міської об'єднаної територіальної громади і кам'янець-подільського району
3/4: к+ам'ян+ець-под+ільський - м+істо в хмельн+ицькій +області укра+їни, ц+ентр кам'ян+ець-под+ільської міськ+ої об'+єднаної територі+альної гром+ади +і кам'ян+ець-под+ільського рай+ону
C:\Users\admin\Downloads\radtts-hifigan-main\radtts-hifigan-main\vocoder\audio_processing.py:220: FutureWarning: Pass size=1024 as keyword args. From version 0.10 passing these as positional arguments will result in an error
  fft_window = pad_center(fft_window, filter_length)
C:\Users\admin\Downloads\radtts-hifigan-main\radtts-hifigan-main\vocoder\audio_processing.py:71: FutureWarning: Pass size=1024 as keyword args. From version 0.10 passing these as positional arguments will result in an error
  win_sq = librosa_util.pad_center(win_sq, n_fft)
<<-- results\0.wav
<<-- results\1.wav
<<-- results\2.wav
<<-- results\3.wav
Traceback (most recent call last):
  File "C:\Users\admin\Downloads\radtts-hifigan-main\radtts-hifigan-main\inference.py", line 112, in <module>
    infer(args.radtts_path, args.vocoder_path, args.vocoder_config_path,
  File "C:\Users\admin\Downloads\radtts-hifigan-main\radtts-hifigan-main\inference.py", line 73, in infer
    process_folder(output_dir, vocoder_path, vocoder_config_path, denoising_strength)
  File "C:\Users\admin\Downloads\radtts-hifigan-main\radtts-hifigan-main\vocoder\inference_mel_folder.py", line 126, in process_folder
    inference(input_mel_folder, vocoder_path, vocoder_config_path, denoising_strength)
  File "C:\Users\admin\Downloads\radtts-hifigan-main\radtts-hifigan-main\vocoder\inference_mel_folder.py", line 116, in inference
    names.append(int(k.replace(input_mel_folder,'').replace('/','').replace('.wav','')))
ValueError: invalid literal for int() with base 10: 'results\\0'

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.