From ef016ae6a0828eae175a39682af5b5c0c5ad5228 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Thu, 11 May 2023 14:29:56 +0000 Subject: [PATCH] Update gui.py --- gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui.py b/gui.py index cf86f33..3e409d2 100644 --- a/gui.py +++ b/gui.py @@ -133,7 +133,7 @@ class RVC: score, ix = self.index.search(npy, k=8) weight = np.square(1 / score) weight /= weight.sum(axis=1, keepdims=True) - npy = np.sum(big_npy[ix] * np.expand_dims(weight, axis=2), axis=1).astype( + npy = np.sum(self.big_npy[ix] * np.expand_dims(weight, axis=2), axis=1).astype( "float16" )