-
Notifications
You must be signed in to change notification settings - Fork 5
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
how to get 'test_out.csv'? #5
Comments
Are there corresponding .npy files in your data/test_data directory? If not, you should enter the create_dataset directory, and run python create_test_set.py to prepare the data. |
It is correct. The model does not use audio as input, but the corresponding Mel-spectrogram. So we need to extract the data and save the results in the corresponding folder. The data/test_data is obtained by create_test_set.py |
Hi @jiminbot20 , does the clotho_test_audio contains the evaluation set audio? It should be the folder extracted from clotho_audio_test.7z. I tried on my own yesterday, it works fine. |
No, it should contain directly the *.wav files. In other words, you don't need the test folder. |
Oh I figure out. path problem... |
Yes, in default we do not expect the "test" folder. You could change it to whatever you like. |
I downloaded 'clotho_audio_test' and changed 'hparam.py' mode = 'test'
![image](https://user-images.githubusercontent.com/63258184/93972359-157e7500-fdad-11ea-9380-7cb6bd01c586.png)
![image](https://user-images.githubusercontent.com/63258184/93972375-23cc9100-fdad-11ea-99e8-f683e048983a.png)
Then, I run python train.py
'test_out.csv' was created but it was empty.
I was expecting
But it was
like this.
How can I get proper 'test_out.csv' and scores of the test?
This is capture of terminal after I run the code.
![image](https://user-images.githubusercontent.com/63258184/93972690-b836f380-fdad-11ea-8110-6c3a0aef2e18.png)
The text was updated successfully, but these errors were encountered: