pytorch_fft icon indicating copy to clipboard operation
pytorch_fft copied to clipboard

Run test.py Error

Open KyneWang opened this issue 6 years ago • 0 comments

Please help me to solve this issue.

Traceback (most recent call last): torch.Size([3, 4, 5, 7]) torch.Size([3, 4, 5, 7]) torch.Size([3, 4, 5, 7]) torch.Size([3, 4, 5, 7]) File "F:/PycharmProjects/KGEProject2.0/utils/seqFea_test.py", line 182, in test_c2c(*args) File "F:/PycharmProjects/KGEProject2.0/utils/seqFea_test.py", line 47, in test_c2c run_c2c(x, z, _f1, _f2, _if1, _if2, 1e-6) File "F:/PycharmProjects/KGEProject2.0/utils/seqFea_test.py", line 28, in run_c2c y1, y2 = _f1(x, z) File "D:\Anaconda3\lib\site-packages\pytorch_fft-0.14-py3.6-win-amd64.egg\pytorch_fft\fft\fft.py", line 28, in fft return _fft(X_re, X_im, f, 1) File "D:\Anaconda3\lib\site-packages\pytorch_fft-0.14-py3.6-win-amd64.egg\pytorch_fft\fft\fft.py", line 18, in fft f(X_re, X_im, Y1, Y2) File "D:\Anaconda3\lib\site-packages\torch\utils\ffi_init.py", line 202, in safe_call result = torch._C._safe_call(*args, **kwargs) torch.FatalError: invalid argument 2: out of range at d:\pytorch\pytorch\torch\lib\thc\generic/THCTensor.c:23

KyneWang avatar Oct 17 '19 14:10 KyneWang