tky823 / ssspy Goto Github PK
View Code? Open in Web Editor NEWA Python toolkit for sound source separation.
Home Page: https://sound-source-separation-python.readthedocs.io/en/v0.1.7/
License: Apache License 2.0
A Python toolkit for sound source separation.
Home Page: https://sound-source-separation-python.readthedocs.io/en/v0.1.7/
License: Apache License 2.0
Documentation is important to users.
Now, I haven't installed document tests, but I want to do it.
This issue includes measure of document coverage.
MNMF and its derivations
A sample dataset is necessary to verify separation methods correctly work.
This function is also required to tests/
.
Pull request template helps us open PR in a standardized format.
AuxIn IVA-ISS, demixing filters are not computed, so _reset
will result in failure.
Lines 150 to 151 in 8da9325
np.random.rand
is legacy style.
Use random number generator like:
rng = np.random.default_rng()
rng.random(size=(5, 2))
It is useful to add extras_require option to setup.cfg
for dev and docs.
Auxiliary-function-based demixing filter update is common in FDICA, IVA, and ILRMA.
We can create submodule or function to handle this.
Create ssspy.linalg.eigh
by using NumPy.
The links to each notebook will be helpful.
Write links in README.md like
[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/tky823/ssspy/blob/main/notebooks/bss/GaussILRMA-IP1.ipynb)
Now, code coverages are updated multiple times. This is time-consuming.
The separation quality of GaussILRMA-IP2 is limited.
I have to investigate the cause.
List up implemented methods.
The arguments should_<do>_*
are too long.
How about use_*
instead?
Now, we define callback functions and classes in each test script.
I have to add a test for 4 sources separation.
Auxiliary-function-based FDICA should be tested.
The test is important to keep the quality of code high.
However, it takes a lot of time to test codes.
Practical solutions
Now, ssspy
selects updating pair using itertools.combinations(range(self.n_sources), 2)
.
This behavior is different from papers.
ssspy.transform.whiten
only supports complex inputs.
np.linalg.slogdet(X)
is more robust than np.log(np.linalg.det(X))
ssspy.bss._update_spatial_model:update_by_ip2
returns different result from old one.
Now, the permutation solver is based on the correlation between frequencies.
Degree-of-arrival based method may be useful.
The settings of code-cov are in default.
Some of the settings may be changed or customized.
In FastICA, FastIVA, and FasterIVA, the input should be whitened before the fixed-point-iteration-based algorithm is applied.
However, the timing of whitening is different among these methods.
isort
reorders the python modules, which improves the intelligibility of this library.
Jupyter notebooks may help users understand how to utilize this library.
Notebooks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.