-
Notifications
You must be signed in to change notification settings - Fork 732
Closed
Description
pytorch is changing its behavior with respect to integer division, e.g. #888. Has any other instances occurred?
Once the error below has been resolved, we can close this issue if no other occurrence is raised.
File "/Users/faro/repositories/open-unmix-pytorch-dev/env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/Users/faro/repositories/open-unmix-pytorch-dev/env/lib/python3.7/site-packages/torchaudio/transforms.py", line 596, in forward
waveform = kaldi.resample_waveform(waveform, self.orig_freq, self.new_freq)
File "/Users/faro/repositories/open-unmix-pytorch-dev/env/lib/python3.7/site-packages/torchaudio/compliance/kaldi.py", line 930, in resample_waveform
window_width, lowpass_cutoff, lowpass_filter_width, device, dtype)
File "/Users/faro/repositories/open-unmix-pytorch-dev/env/lib/python3.7/site-packages/torchaudio/compliance/kaldi.py", line 807, in _get_LR_indices_and_weights
assert lowpass_cutoff < min(orig_freq, new_freq) / 2
RuntimeError: Integer division of tensors using div or / is no longer supported, and in a future release div will perform true division as in Python 3. Use true_divide or floor_divide (// in Python) instead.
Metadata
Metadata
Assignees
Labels
No labels