Skip to main content

Souden MVDR beamformer on GPU with CuPy

Project description

Souden MVDR beamformer in CuPy

This package is modified from the core parts of pb_bss and modifies it to use CuPy for accelerated GPU-based inference.

At the moment, it is meant to be used with the GSS toolkit, but it can also be used as a general beamformer.

Installation

> pip install cupy-cuda102  # modify according to your CUDA version (https://docs.cupy.dev/en/stable/install.html#installing-cupy)
> pip install beamformer-gpu

Usage

from beamformer import beamform_mvdr

import cupy as cp

X = cp.random.rand(4, 1000, 513) # D, T, F
X_mask = cp.random.rand(1000, 513)  # T, F
N_mask = cp.random.rand(1000, 513)  # T, F

X_hat = beamform_mvdr(X, X_mask, N_mask, ban=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beamformer-gpu-0.1.0.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

beamformer_gpu-0.1.0-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page