mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-17 13:12:16 +00:00
fix tensor device type incompatibility
This commit is contained in:
parent
b3a90b1dcf
commit
4544a4e9f1
@ -69,7 +69,7 @@ class OfflineFeature(nn.Module):
|
||||
for w in waves
|
||||
]
|
||||
|
||||
strided = [self.convert_samples_to_frames(w) for w in waves]
|
||||
strided = [self.convert_samples_to_frames(w.to(self.opts.device)) for w in waves]
|
||||
strided = torch.cat(strided, dim=0)
|
||||
|
||||
features = self.compute(strided, vtln_warp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user