mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-14 23:44:56 +08:00
Compare commits
1 Commits
dev
...
f47b12ab09
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f47b12ab09 |
@@ -42,6 +42,7 @@ is_half = sys.argv[5] == "True"
|
||||
if importlib.util.find_spec("torch_directml") is not None:
|
||||
import torch_directml # use side effect
|
||||
|
||||
|
||||
class FeatureInput(object):
|
||||
def __init__(self, is_half: bool, device="cpu", samplerate=16000, hop_size=160):
|
||||
self.fs = samplerate
|
||||
|
||||
Reference in New Issue
Block a user