beamforming.py uses removed torch.complex32
ben-freist opened this issue Β· comments
Before reporting a bug:
First, please search previous issues
and the FAQ and be sure this hasn't
been answered elsewhere.
π Bug
torch temporarily removed torch32 for some fixes (pytorch/pytorch#72721), it'll be brought back in a later version.
To Reproduce
Steps to reproduce the behavior (code sample and stack trace):
- checkout the asteroid repo
- pip install -e .
- python -m pytest tests/dsp/beamforming_test.py
============================================================================================ short test summary info =============================================================================================
ERROR tests/dsp/beamforming_test.py - AttributeError: module 'torch' has no attribute 'complex32'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================================ 1 error in 2.00s ================================================================================================
Expected behavior
The test should pass.
Environment
With python 3.6 an older torch version is used but both python3.7.12 and python3.9.10 give. me this problem.
Package versions
My commit is 25b03c7 on master.
hello, i was wondering if there were any work-arounds for this? i believe the speech separation also does not work on versions past python3.6, but i may be mistaken.
Yes, sorry, I haven't looked into this issue. I'll have a look in the coming weeks.
Closed by #609