-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Fix torch detach()
before numpy()
issue
#242
base: develop
Are you sure you want to change the base?
Conversation
* Add testing configuration and diarization tests * Add aggregation tests * Add end-to-end test for a sample wav file and several latencies * Fix rounding error in min latency unit test * Improve CI workflows and add pytest. Fix matplotlib colormap error * Install missing dependencies in CI * Add onnxruntime as a test dependency * Update expected timestamp tolerance to up to 50ms
Hi @pengwei715, I can't seem to reproduce this error, could you post a minimal reproducible example? I'm suspecting this may also be related to the pytorch version, which one are you using? |
detach()
before numpy()
issue
Hi @juanmc2005 Thank you for the review and feedback. My torch version is |
Hi @juanmc2005 , Any news about the issue? |
Hi @pengwei715, I haven't had the time to reproduce this. Does the error occur when running |
Hi @juanmc2005 ,
This PR is solving the error of complaining torch doesn't have subclass numpy issue. It's just detaching the torch before call numpy(). Please review and let me know your thoughts. BTW, Love your work on the on-line speaker diarization package. Thanks.
Peng