Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding pitch_embedding and energy_embedding #6

Open
su4kk opened this issue Jul 8, 2024 · 3 comments
Open

Regarding pitch_embedding and energy_embedding #6

su4kk opened this issue Jul 8, 2024 · 3 comments

Comments

@su4kk
Copy link

su4kk commented Jul 8, 2024

HI,we are getting errors when pitch_embedding and energy_embedding set true during txt2vec training

@pavanhitloop
Copy link

pavanhitloop commented Jul 8, 2024

Hi,

When I try to enable the use_energy_embed: True in Config/txt2vec/MM6_IPA/model.yaml, i'm getting the following error (couldn't find the stats.json file in this repo as well.

Traceback (most recent call last):
File "ZMM-TTS/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 69, in _wrap
fn(i, *args)
File "ZMM-TTS/txt2vec/train.py", line 56, in train
model, optimizer = get_model(args, configs, device, train=True)
File "ZMM-TTS/txt2vec/utils/model.py", line 14, in get_model
model = CompTransTTS(preprocess_config, model_config, train_config).to(device)
File "ZMM-TTS/txt2vec/model/CompTransTTS.py", line 57, in init
self.variance_adaptor = VarianceAdaptor(preprocess_config, model_config, train_config, 256)
File "ZMM-TTS/txt2vec/model/modules.py", line 795, in init
with open(
FileNotFoundError: [Errno 2] No such file or directory: 'Dataset/preprocessed_data/MM6/stats.json'

Note: I'm using the same configuration from this repo except enabling energy embedding.

Please let me know if any have solution for this. Thanks in advance.

@gongchenghhu
Copy link

@su4kk @pavanhitloop
Sorry for the late reply. It is feasible to use pitch and energy embeddings. You may refer to the repository https://github.com/keonlee9420/Comprehensive-Transformer-TTS for further details. It is important to note that you need to modify our preprocessing code to extract the pitch and energy features.

@pavanhitloop
Copy link

@gongchenghhu, thank you for your response. I'll try and update here if any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants