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

creating dataset #26

Open
taylerpauls opened this issue May 7, 2019 · 3 comments
Open

creating dataset #26

taylerpauls opened this issue May 7, 2019 · 3 comments

Comments

@taylerpauls
Copy link

Hi !!

if I want to use several different examples in my own dataset (ex. 4 different audio clips)
do I need to concatenate them and then put them in a npz file ?

-Tayler

@thinking-tower
Copy link

thinking-tower commented May 12, 2019

Hi @taylerpauls, I'm also working through this repo at the moment!

If I understand you correctly, I think all you have to do is put your audio files (.mp3s etc) in a new folder under train_samples. So when you instantiate WavenetDataset, you call it like this:

data = WavenetDataset(dataset_file='train_samples/<insert_folder>/<insert_folder_name>.npz', item_length=model.receptive_field + model.output_length - 1, target_length=model.output_length, file_location='train_samples/<insert_folder>', test_stride=500)

@taylerpauls
Copy link
Author

taylerpauls commented May 14, 2019 via email

@thinking-tower
Copy link

@taylerpauls

I'm not too sure about how that works yet... Sorry.

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