mirror of
https://github.com/Mangio621/Mangio-RVC-Fork.git
synced 2026-02-24 11:59:58 +01:00
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
2
gui.py
2
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"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user