CCTN-BCI / Neural2Speech

code and speech demo for speech reconstruction from ECoG recordings
9 stars 2 forks source link

SpeechAutoEncoder Model and HifiGan Checkpoints #1

Open HLSUD opened 1 year ago

HLSUD commented 1 year ago

Your work is really impressive. In your code, I could not find the SpeechAutoEncoder class. Could you please provide the code for this part and the weights? Many thanks.

CCTN-BCI commented 1 year ago

Thank you for your appreciation. We did not provide the class because the arechitecture on both components are available online. If you need the exact codes and parameters, please let me know how I should send these files to you.

It seems that you can speak Chinese because of your name. Can I upload the files to BaiduNetDisk? Maybe it is more accessible for both of us.

HLSUD commented 1 year ago

Thank you for your prompt reply. I am Chinese and BaiduNetDisk works for me. Could you please share a link of the code and weights? Thanks

CCTN-BCI commented 1 year ago

Thank you for your prompt reply. I am Chinese and BaiduNetDisk works for me. Could you please share a link of the code and weights? Thanks

link: https://pan.baidu.com/s/1W8IZQbvHAFaUTn_9NQAwCw?pwd=ohf4 password: ohf4

HLSUD commented 1 year ago

Thank you for the link. I have a question about training HiFi Gan. Did you freeze the wav2vec encoder when you train the hifi Gan?

CCTN-BCI commented 1 year ago

Thank you for the link. I have a question about training HiFi Gan. Did you freeze the wav2vec encoder when you train the hifi Gan?

Yes. It is the same as DatatoVecAudio in Huggingface. The annotations shows that we used the same model archetecture as wav2vec2.0 (you can find the source code at the python packages installed in your computer).

aparna9625 commented 8 months ago

Hi, could you also share with me the model checkpoint & the SAE class? Would it possible to add it to the repo?

CCTN-BCI commented 8 months ago

Hi, could you also share with me the model checkpoint & the SAE class? Would it possible to add it to the repo?

I can share the model checkpoint & the SAE class. It is too large to add it to the repo but I can send to you in other ways. Is upgrading the BaiduNetDisk Link a feasible way for you?

aparna9625 commented 8 months ago

Can upload it to Google Drive or Dropbox?

CCTN-BCI commented 8 months ago

Can upload it to Google Drive or Dropbox?

Certainly. The files are available in the link below. Demo Python codes and demo speech waveform are also attached for you.

https://www.dropbox.com/scl/fi/qverx4jo6wj7o9mieit34/pre-trained_SAE.zip?rlkey=77e3z062iuiuu994v6jq8piqa&dl=0

hawkingwoo commented 6 months ago

Thank you for your prompt reply. I am Chinese and BaiduNetDisk works for me. Could you please share a link of the code and weights? Thanks

link: https://pan.baidu.com/s/1W8IZQbvHAFaUTn_9NQAwCw?pwd=ohf4 password: ohf4

The link seems be expired. Could you share it again?

CCTN-BCI commented 6 months ago

Thank you for your prompt reply. I am Chinese and BaiduNetDisk works for me. Could you please share a link of the code and weights? Thanks

link: https://pan.baidu.com/s/1W8IZQbvHAFaUTn_9NQAwCw?pwd=ohf4 password: ohf4

The link seems be expired. Could you share it again?

You can see the dropbox link mentioned above. You know, BaiduNetDisk sometimes cannot provide you a high download speed. https://www.dropbox.com/scl/fi/qverx4jo6wj7o9mieit34/pre-trained_SAE.zip?rlkey=77e3z062iuiuu994v6jq8piqa&dl=0

hawkingwoo commented 6 months ago

Thank you for your prompt reply. I am Chinese and BaiduNetDisk works for me. Could you please share a link of the code and weights? Thanks

link: https://pan.baidu.com/s/1W8IZQbvHAFaUTn_9NQAwCw?pwd=ohf4 password: ohf4

The link seems be expired. Could you share it again?

You can see the dropbox link mentioned above. You know, BaiduNetDisk sometimes cannot provide you a high download speed. https://www.dropbox.com/scl/fi/qverx4jo6wj7o9mieit34/pre-trained_SAE.zip?rlkey=77e3z062iuiuu994v6jq8piqa&dl=0

Thanks! Yes, higher speed than baidu.