question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I struggled to get anything but errors for the longest. Here's what finally got me able to run 'synthesize.py'

See original GitHub issue

Starting with the downloads listed on main page: LJ Dataset: https://keithito.com/LJ-Speech-Dataset/ needs to be unpacked and put somewhere. Adjust 'data = ’ in hyperparameters.py to point to it. ----> Change the name of the .csv file in that folder to ‘transcript.csv’. I can’t remember now what it was called, but everything will fail unless it’s named transcript.csv.

Pretrained models for LJ : https://www.dropbox.com/s/1oyipstjxh2n5wo/LJ_logdir.tar?dl=0 make a directory named ‘logdir’ in dc_tts. Untar both the LJ01-1 and LJ01-2 folders in there. Again, everything bombs without them being located there.

finally, mkdir samples in dc_tts, or it’ll complain about nowhere to write.

If you get obscure errors like “TypeError: new() got an unexpected keyword argument ‘file’”, you’re in luck because I know what to do. Your ‘protobuf’ python library is out of date. Turned out for me a rogue older version was hiding out in ~/.local/lib/python2.7/site-packages/. Pip didnt seem to mind or notice when I did a million varieties of attempting to uninstall/reinstall. Finally, I rm -rf -ed that mother and then did a sudo -H pip install --upgrade protobuf. You need to make sure your version is greater than 3.something-or-other or again, no dice.

… python synthesize.py at this point runs to completion. It produces 20 files, I assume meant to match the ‘harvard_sentences.txt’ file, all garbled static or silence only, but it indeed completed. That’s a start.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:7
  • Comments:6

github_iconTop GitHub Comments

2reactions
rocket-pigcommented, Mar 26, 2018

further notes on this: You can adjust max_N and max_T in hyperparams down to 60 and make inference (for short phrases) nearly 20x+ faster. I can’t tell any difference in quality of the output. To begin with, the same phrase that now takes 14 seconds would take over two minutes. Here’s some samples.
sample.zip

I made a little wrapper so one can simply go ./wrapper.py "phrase to say" and it’ll speak it as soon as it’s done, along with saving file to backups/

https://gist.github.com/rocket-pig/393b752fb0c5bb43e03ff5b6d1c1cf74

Now maybe i can daemonize it and just RPC/curl or something to have a functional TTS system. Thank you so much for sharing this. !

0reactions
fathimad11commented, Apr 25, 2020

Make sure that you should have log1 and log2 folder in logdir folder… Inside those log1 and log2 folder it should have models.

Fathima Msc Scholar Department of Computational biology and BioInformatics UoK

On Fri, 24 Apr, 2020, 2:18 PM nwlutz <notifications@github.com wrote:

ValueError: Can’t load save_path when it is None. WhileI synthesizing i got this error. please help me

Same

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Kyubyong/dc_tts/issues/14#issuecomment-618887559, or unsubscribe https://github.com/notifications/unsubscribe-auth/AONUIFZWRDTYVRG6QEFGOUTROFG4LANCNFSM4EXJ36TA .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Batch synthesis API (Preview) for text to speech
The batch synthesis API can create synthesized audio longer than 10 minutes. Important. The Batch synthesis API is currently in public preview.
Read more >
The Simplest Math Problem No One Can Solve - YouTube
The Collatz Conjecture is the simplest math problem no one can solve — it is easy enough for almost anyone to understand but...
Read more >
Pygame, sounds don't play - Stack Overflow
wav) with pygame but when I start it I never hear anything. This is the code: import pygame pygame.init() pygame.mixer.init() sounda= pygame.
Read more >
Help…I've Been Asked to Synthesize!
I've Been Asked to Synthesize! Writing a strong researched paper requires the ability to synthesize—or combine elements of several sources—to help you make...
Read more >
Is GitHub Copilot a blessing, or a curse? - Fast.ai
OpenAI's Alec Radford told me that this paper inspired him to create GPT, which Codex is based on. Here's the moment from that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found