Skip to content
forked from wjassim/WARP-Q

Fork to make WARPQ installable via pip

License

Notifications You must be signed in to change notification settings

d-caviedes/WARP-Q

 
 

Repository files navigation

Quality Prediction For Generative Neural Speech Codecs (WARP-Q)

This code is to run the WARP-Q speech quality metric in a installable mode https://github.com/WissamJassim/WARP-Q.git

WARP-Q is an objective, full-reference metric for perceived speech quality. It uses a subsequence dynamic time warping (SDTW) algorithm as a similarity between a reference (original) and a test (degraded) speech signal to produce a raw quality score. It is designed to predict quality scores for speech signals processed by low bit rate speech coders.

Install

make requirements

Usage example

from warpq import warpq
from torch import randn
import torch

g = torch.manual_seed(1)
preds = randn(8000)
target = randn(8000)
print(warpq(preds, target, fs=16000))
(tensor(1.4610), tensor(4.2980))

About

Fork to make WARPQ installable via pip

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.9%
  • Makefile 18.1%