do a change

This commit is contained in:
luomingshuang 2022-04-08 19:12:30 +08:00
parent d8907769ee
commit 37f4f65ca3

View File

@ -98,7 +98,7 @@ def compute_fbank_wenetspeech_splits(args):
device = torch.device("cpu")
if torch.cuda.is_available():
device = torch.device("cuda", 5)
device = torch.device("cuda", 0)
extractor = KaldifeatFbank(KaldifeatFbankConfig(device=device))
logging.info(f"device: {device}")