Comments (11)
pip install sru
not helped
Replacing At line 150 in gantts/models.py, change from cuda_functional import SRU to from sru import SRU
gives an error:
File "/data/my_data/external_projects/gantts/my_env/lib/python3.5/site-packages/sru/sru_functional.py", line 35, in _lazy_load_cuda_kernel
from cuda_functional import SRU_Compute_GPU
ImportError: No module named 'cuda_functional'
Update:
pip install sru[cuda]
helped
from gantts.
Try Install https://github.com/taolei87/sru, please.
from gantts.
Traceback (most recent call last):
File "train.py", line 828, in
mse_w=mse_w, mge_w=mge_w)
File "train.py", line 544, in train_loop
model_g, generator_input, R, cpu_sorted_lengths)
File "train.py", line 353, in apply_generator
y_hat, R, hp.stream_sizes, hp.has_dynamic_features)
File "/home/sasa/nisa/gantts/gantts/multistream.py", line 120, in multi_stream_mlpg
y = unit_variance_mlpg(R, x) if v else x
File "/usr/local/lib/python2.7/dist-packages/nnmnkwii/autograd/_impl/mlpg.py", line 226, in unit_variance_mlpg
return UnitVarianceMLPG(R)(means)
File "/usr/local/lib/python2.7/dist-packages/nnmnkwii/autograd/_impl/mlpg.py", line 152, in forward
out = torch.matmul(self.R, reshaped_means)
File "/usr/local/lib/python2.7/dist-packages/torch/functional.py", line 217, in matmul
tensor1_expanded = tensor1.expand(*(expand_batch_portion + tensor1_exp_size[-2:]))
RuntimeError: cuda runtime error (2) : out of memory at /pytorch/torch/lib/THC/generic/THCStorage.cu:66
@r9y9 i got another error after i run ./tts_demo.sh tts_test . So, what is the best solution to fix this error?
from gantts.
dup of #3. Try smaller batch size.
from gantts.
You could just try using GRU instead of SRU. replace that in hparams.py
from gantts.
I have the same problem with @niccanicci. Can you please help me solve it?
How can we install GRU instead of SRU?
from gantts.
At line 150 in gantts/models.py, change from cuda_functional import SRU
to from sru import SRU
from gantts.
I have same issue
File "/mnt/c/Users/yuu/Documents/gantts-jp/gantts/models.py", line 150, in init
from cuda_functional import SRU
ImportError: No module named 'cuda_functional'
from gantts.
I installed all cuda enviroment
from gantts.
See https://github.com/asappresearch/sru#examples
Looks like sru changed the module name.
from gantts.
See https://github.com/asappresearch/sru#examples
Looks like sru changed the module name.
yeah they did changed the module name. also removed "use_relu"
from gantts.
Related Issues (20)
- RuntimeError: DFT length 4096 must be larger than time length 6240 HOT 2
- Quality of voice conversion from female to male HOT 2
- Can you please share pre-trained model HOT 1
- OSError: [Errno 40] Too many levels of symbolic links: HOT 1
- git clone --recursive https://github.com/r9y9/gantts & cd gantts
- Add download_dataset.sh HOT 1
- Add requirements.txt HOT 1
- Feature extraction for TTS details HOT 1
- ImportError: No module named nnmnkwii.datasets HOT 1
- GAN conditioned on speaker id HOT 1
- CPU load 100% on all cores using vc_demo.sh HOT 1
- Amazing implementation. Did you think of extending it with GAN-TTS with Stylisation ? HOT 1
- No such file or directory: '../checkpoints/vc/baseline/checkpoint_epoch200_Generator.pth HOT 1
- Issue when using my own data HOT 2
- assert np.allclose(x_lengths, y_lengths) AssertionError HOT 1
- from cuda_functional import SRU ImportError: No module named 'cuda_functional' HOT 2
- ./train_gan.sh: line 53: 5671 Segmentation fault HOT 1
- How can I synthesize my own text to speech?
- Pyworld in requirements HOT 3
- Ask for help about GAN use conv
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gantts.