Comments (2)
Oh, I've just realized the problem is, that there is only one source in this test signal and it is overdetermined.
from pyroomacoustics.
Hi, I have to reopen this issue, because the reason was apparently not what I have found earlier. With other data, I experience this warning as well.
The correct reason is that in the function auxiva()
in the script auxiva.py
, WV
has got nan
first, after the line WV = np.matmul(W_hat, V)
. If I have understood it right - please correct me if not - W_hat
is initialized at the beginning and the value should not change, after the iterations have begun. But it changes anyway sometimes along the iterations. I looked into the code, there are variable assignments like
W = W_hat[:, :n_src, :]
J = W_hat[:, n_src:, :n_src]
In this case, if W
or J
change after the assignments, W_hat
will be partially changed along. I not sure, if this is the way the codes are supposed to run. A simple example of unexpected change of a variable see here.
Codes to re-produce the warning:
import pyroomacoustics as pra
import numpy as np
iva_input = np.load("0th_iva_input.npy")
epoch_scvs, demix = pra.bss.auxiva(iva_input, n_src=iva_input.shape[-1], n_iter=20, proj_back=False, model='laplace',
init_eig=False, return_filters=True)
The sample input can be found here.
Because the warning does not happen in every run, one might have to run it several times.
from pyroomacoustics.
Related Issues (20)
- Raise warning when extruding Shoebox HOT 3
- Proper way to define a 3D room with walls of different heights HOT 1
- Testing CNN model using sound generated from pyroomacoustics room simulation HOT 2
- Adding a diffuser
- problem in pip HOT 4
- Has Gaussian-Laplace IVA (IVA-GL) been also implemented in this library? HOT 1
- Compute RIR up to a K (earliest or strongest) reflection (or max time)
- ValueError: operands could not be broadcast together with shapes (2709,96) (2500,1) (2709,96)
- Waves in the signal after convolving the signal with the RIR HOT 3
- Question regarding materials HOT 1
- scipy.signal.hann is deprecated in SciPy 1.13.0
- How to simulation energy decrease? HOT 8
- why conj in ILRMA HOT 4
- Error in pyroomacoustics/pyroomacoustics /beamforming.py HOT 1
- Differences With Other Libraries HOT 1
- Help me understand energy scaling HOT 4
- libroom.rir_builder error: "The rir array is too small for the maximum time recorded" HOT 5
- Plot of Microphones HOT 1
- directivity argument of Room.add_microphone_array HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyroomacoustics.