-
Notifications
You must be signed in to change notification settings - Fork 183
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
Can this repo be used in multi thread? #46
Comments
Hi Hui Zhang, and thanks for your interest in audiomentations! Do you get the same error message if you don't use threading? Ideally, audiomentations should support multi-threads, but I don't have any tests for that currently. If you would like to contribute such a test, that would be appreciated! |
one |
Ok, in that case I should investigate how that can be fixed. Maybe it needs to be picklable? Which operating system are you using? Windows? |
I using centos 7. |
@iver56 - Any updates on this? Currently, I'm using this module to augment a clean audio in the Thank you! |
Hi francislata. No progress on multiprocessing support lately. I want to support it though. My time is limited. If you want to contribute, that would be welcome. I spent some time looking into applying IR with Pytorch today though. More info on that might appear here later: https://github.com/asteroid-team/torch-audiomentations |
@francislata Execution time of IR convolution can be sped up with GPU. See the plot here: https://github.com/asteroid-team/torch-audiomentations#readme |
@iver56 This is very interesting. I started taking a look at it but will keep going at it. From what I can tell initially, it looks like using the |
@zh794390558 Can you post a more complete code snippet to reproduce this problem? It should include the part with |
This issue is dormant for quite some time. I suggest to close it - if necessary, it can be reopened. |
Yeah, I actually think multithreading works fine now. I've been using it for some time without problems. It's just that I have no unit tests for it 😕 |
I encountered this error, which caused by TimeMask
using
aug_sample
to load wav bythreading.Thread
like mapreduce.The text was updated successfully, but these errors were encountered: