-
Notifications
You must be signed in to change notification settings - Fork 110
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
ValueError: cannot reshape array of size 2 into shape (1,) #15
Comments
Same issue with me. Trying to clean a .wav file, only about 30 seconds in length. Anyone? Cleaning 1 wavs |
Figured it out for me. It was due to my .wav file having extra metadata added to it when I exported it from Audacity. I had to clear this metadata by just selecting "Clear" when I go to export my edited .wav file. Audacity likes to add some tag to the file which scipy can't parse when you run this clean.py file. I found the answer on this page: |
Face the same issue.
Use the codes above to replace: https://github.com/santi-pdp/segan_pytorch/blob/master/segan/datasets/se_dataset.py#L111-L117 ============================================
at here: https://github.com/santi-pdp/segan_pytorch/blob/master/clean.py#L68 |
I was trying to train this model but an error occurred. Is there any way to resolved it?
Thanks for your time!
The text was updated successfully, but these errors were encountered: