-
Notifications
You must be signed in to change notification settings - Fork 125
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
Loading flac files #17
Comments
Hi, My first hunch as to what is causing this is the saved pickle file for the inference list. Try deleting the 'test_x_list.p' from data and then run it again. I will have to devise a better system if this is the case. If this doesn't fix the problem, please let me know. Thanks! |
Thank you for answering Aaron. As I previously changed the code, I ran it again out of the box to be sure and the error persists: "operands could not be broadcast together with shapes (1,956,257) (0,257)" Before facing the issue I made the code create pickle file every time, as it was being unable to see when new files are added. |
Hi, Would you be able to send all of the output to terminal? |
Sure. |
This is weird. I just ran with a .flac file from Librispeech with no errors. Could you try with a .wav file? I believe you will get the same error with a .wav file. It seems to be successfully making the input features (noisy speech magnitude spectra --- input_feat[0] (1,956,257)), but the output of the network seems to not be correct (0,257). May I ask if you changed something to do with the network? Thanks! |
Ohh, that is weird. Wavs do not have any issue. I tested it out of github to share you the results before, without any changes applied. |
I just tried with .wav and .flac and it worked. I will place the .flac file in set/test_noisy_speech. Will you be able to try it? |
it is a clean speech file, but that doesn't matter. See if you can run with those two files. I am able to for some reason. |
It is showing the same error and breaking on flac file. I cloned it clean and just ran the command shown on github with "python3 deepxi.py --infer 1 --out_type y --gain mmse-lsa --ver '3f' --epoch 175 --gpu 5" Maybe due to system configuration, but waves are running fine. Thank you very much eather way, your response its highly appreciated. |
That's a shame. I will have another look at it. Please let me know if you find a fix. Thank you! |
Hi, thanks for the great work.
The code seems to show that its possible to load flac files, but the module skips them during inference.
Is there a way to load flac files or I must convert them all to wav?
The text was updated successfully, but these errors were encountered: