Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

How to get f0_state.pth, I don't understand #10

Open
xiaoyuTTS opened this issue Mar 30, 2022 · 9 comments
Open

How to get f0_state.pth, I don't understand #10

xiaoyuTTS opened this issue Mar 30, 2022 · 9 comments

Comments

@xiaoyuTTS
Copy link

How to get f0_state.pth, I don't understand

@djkhz
Copy link

djkhz commented May 4, 2022

@xiaoyuTTS
Your work is incredible!! If you don't mind, I have a lot of questions concerning your work. Is there any way to contact you?
Is it possible for you to publish a full article and tutorial regarding your work?

@adiyoss
Copy link
Contributor

adiyoss commented May 29, 2022

Hi @xiaoyuTTS,
You should train an F0 quantizer model, see: https://github.com/facebookresearch/speech-resynthesis#f0-quantizer-model

@adiyoss
Copy link
Contributor

adiyoss commented May 29, 2022

Hi @djkhz,
All the details concerning this work here are listed in our manuscript here: https://arxiv.org/pdf/2104.00355.pdf

@Rongjiehuang
Copy link

Hi @adiyoss, It seems that f0_state.pth is needed before training the F0 quantizer model.

@sophia1488
Copy link

I also encountered this problem, but I found a package that could get f0_mean & f0_std.

features1=prosody.extract_features_file(file_audio)
features[:, 0] # mean
features[:, 1] # std

@adiyoss
Copy link
Contributor

adiyoss commented Dec 3, 2022

Hi @Rongjiehuang,
Yes you need to get the statistics for the f0, there is an example for such stats under datasets/LJSpeech and datasets/VCTK

@duyichao
Copy link

Hi @adiyoss, the code base provides f0_stats.pth for VCTK/LJSpeech (English only). If I want to get a f0_stats.pth for another language, how do I do that?

@speechless-z
Copy link

Hi @adiyoss, the code base provides f0_stats.pth for VCTK/LJSpeech (English only). If I want to get a f0_stats.pth for another language, how do I do that?

Hello, have you resolved the issue?

@PrabhjotKaurGosal
Copy link

Also interested in figuring out how to get the f0_stats.pth for a custom (Non English) dataset.

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

No branches or pull requests

8 participants