verssae / flask-tacotron2-tts-web-app Goto Github PK
View Code? Open in Web Editor NEWflask+tornado based NVIDIA tacotron2+waveglow tts web app
License: Other
flask+tornado based NVIDIA tacotron2+waveglow tts web app
License: Other
I was able to stop the "Warning! Decoder Max" and weird sounds if I always use a punctuation like period.
which tacotron2 pretrained models can we use? can you show an example of using it
When running app.py, an error occurs as follows: AttributeError: 'WN' object has no attribute 'cond_layer'.
How to use this???
export PYTHONPATH="$PYTHONPATH:/path/to/flask-tacotron2-tts-web-app"
What should I do?
Quick answer please
Do you have instructions on how to train, which git commit of tacotron2 to use
I ask because your repo is one of the only few that the models actually work, all the other repos have issues. I want to train a new model and be able to use it with your code
Could you integrate this
https://github.com/NVIDIA/mellotron
Have you seen this?
https://github.com/Saurabh-29/Waveglow_Inference_in_CUDA
Hi,
i checkout the code and installed all prerequisites,and placed trained models in models folder.
Facing below issue when trying to run the application.
D:\anaconda3\envs\final\lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
D:\anaconda3\envs\final\lib\site-packages\torch\serialization.py:671: SourceChangeWarning: source code of class 'glow.WaveGlow' has changed. you can retrieve the original source code by accessing the object's source attribute or set torch.nn.Module.dump_patches = True
and use the patch tool to revert the changes.
warnings.warn(msg, SourceChangeWarning)
D:\anaconda3\envs\final\lib\site-packages\torch\serialization.py:671: SourceChangeWarning: source code of class 'torch.nn.modules.conv.ConvTranspose1d' has changed. you can retrieve the original source code by accessing the object's source attribute or set torch.nn.Module.dump_patches = True
and use the patch tool to revert the changes.
warnings.warn(msg, SourceChangeWarning)
D:\anaconda3\envs\final\lib\site-packages\torch\serialization.py:671: SourceChangeWarning: source code of class 'torch.nn.modules.container.ModuleList' has changed. you can retrieve the original source code by accessing the object's source attribute or set torch.nn.Module.dump_patches = True
and use the patch tool to revert the changes.
warnings.warn(msg, SourceChangeWarning)
D:\anaconda3\envs\final\lib\site-packages\torch\serialization.py:671: SourceChangeWarning: source code of class 'torch.nn.modules.conv.Conv1d' has changed. you can retrieve the original source code by accessing the object's source attribute or set torch.nn.Module.dump_patches = True
and use the patch tool to revert the changes.
warnings.warn(msg, SourceChangeWarning)
Traceback (most recent call last):
File "D:\anaconda3\envs\final\lib\site-packages\torch\serialization.py", line 308, in _check_seekable
f.seek(f.tell())
AttributeError: 'NoneType' object has no attribute 'seek'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "app.py", line 12, in
t2s = T2S(model)
File "D:\flask-tacotron2-tts-web-app\text2speech.py", line 40, in init
self.update_model(model_choice, self.max_duration_s)
File "D:\flask-tacotron2-tts-web-app\text2speech.py", line 90, in update_model
self.model.load_state_dict(torch.load(self.checkpoint_path, map_location=torch.device('cpu'))['state_dict'])
File "D:\anaconda3\envs\final\lib\site-packages\torch\serialization.py", line 594, in load
with _open_file_like(f, 'rb') as opened_file:
File "D:\anaconda3\envs\final\lib\site-packages\torch\serialization.py", line 235, in _open_file_like
return _open_buffer_reader(name_or_buffer)
File "D:\anaconda3\envs\final\lib\site-packages\torch\serialization.py", line 220, in init
_check_seekable(buffer)
File "D:\anaconda3\envs\final\lib\site-packages\torch\serialization.py", line 311, in _check_seekable
raise_err_msg(["seek", "tell"], e)
File "D:\anaconda3\envs\final\lib\site-packages\torch\serialization.py", line 304, in raise_err_msg
raise type(e)(msg)
AttributeError: 'NoneType' object has no attribute 'seek'. You can only torch.load from a file that is seekable. Please pre-load the data into a buffer like io.BytesIO and try to load from it instead.
(final) PS D:\flask-tacotron2-tts-web-app>
Environment details:
python 3.6
CUDA 10.1
pytorch 1.9.1
tensorflow 1.13.1
please throw some light to proceed further
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.