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

path to waveform directory #2

Closed
maximilianchen opened this issue Jun 17, 2019 · 3 comments
Closed

path to waveform directory #2

maximilianchen opened this issue Jun 17, 2019 · 3 comments

Comments

@maximilianchen
Copy link

Hi @bshall, I wondered how to set the path to the downloaded waveform directory when preprocessing, as it not as the parameter.

@bshall
Copy link
Owner

bshall commented Jun 17, 2019

Hi @maximilianchen, I wrote the preprocessing.py file specifically with the structure of the ZeroSpeech2019 dataset in mind. If you're looking to train on your own dataset the easiest approach would be to change the line here to point to your directory. For example, if your .wav files are in the directory ~/dataset/wavs/ you should be able to change the line to

wav_dirs = ["~/dataset/wavs/"]

I hope that helps.

I can also add a command line argument if that makes things simpler?

@maximilianchen
Copy link
Author

Hi @maximilianchen, I wrote the preprocessing.py file specifically with the structure of the ZeroSpeech2019 dataset in mind. If you're looking to train on your own dataset the easiest approach would be to change the line here to point to your directory. For example, if your .wav files are in the directory ~/dataset/wavs/ you should be able to change the line to

wav_dirs = ["~/dataset/wavs/"]

I hope that helps.

I can also add a command line argument if that makes things simpler?

Thanks a lot for your information, @bshall . I had missed out the line you mentioned above when I brought up the issue. Now I have managed to point to the wav path.

@bshall
Copy link
Owner

bshall commented Jun 17, 2019

No problem. Let me know how the training goes. I haven't tested the model out on other datasets so I'd be interested to hear how it goes.

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

2 participants