Comments (2)
Please make sure num_rep is a long tensor.
from autopst.
Thank you very much for your help, I have solved the problem
The following is my solution:
In torch.Tensor — PyTorch 1.9.1 documentation found that long tensor is 64-bit integer (signed)
Then print num_rep[i]
in line 152 of model_autopst.py
to know it dtype = torch.int32
And use num_rep = num_rep.to(torch.int64)
to convert its type
152. num_rep = num_rep.to(torch.int64)
153. for i in range(B):
154. code_sync = cd_short[i].repeat_interleave(num_rep[i], dim=0)
155. out_tensor[i, :len_long[i]-1, :] = code_sync
from autopst.
Related Issues (18)
- ModuleNotFoundError: No module named 'onmt' HOT 1
- KeyError when run prepare_train_data.py HOT 2
- How to solve SEA model problem
- the speech content of converted voice with my own trained model changed HOT 2
- SpeechSplit actually better than AutoPST for seen speakers? HOT 1
- Missing basic execution with different set of speakers. HOT 4
- Error while running demo.ipynd
- Issue with stop prediction for longer utterances. HOT 1
- test_vctk.meta HOT 5
- Unable to reproduce results HOT 1
- License of this repository and model HOT 3
- Can you share your pretrained sea.ckpt?
- How to test AutoPST in onother languages? HOT 6
- How to train SEA model HOT 14
- How to make 'mfcc_stats.pkl' and 'spk2emb_82.pkl'? HOT 3
- How to find mean and std of MFCC? HOT 8
- Inference with new input audio HOT 4
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 autopst.