diff --git a/server/voice_changer/RVC/pipeline/Pipeline.py b/server/voice_changer/RVC/pipeline/Pipeline.py index 408a193e..b916b27e 100644 --- a/server/voice_changer/RVC/pipeline/Pipeline.py +++ b/server/voice_changer/RVC/pipeline/Pipeline.py @@ -166,7 +166,7 @@ class Pipeline(object): npy = np.sum(self.big_npy[ix] * np.expand_dims(weight, axis=2), axis=1) # recover silient font - npy = np.concatenate([np.zeros([npyOffset, npy.shape[1]]), npy]) + npy = np.concatenate([np.zeros([npyOffset, npy.shape[1]]).astype("float32"), npy]) if self.isHalf is True: npy = npy.astype("float16")