Skip to content

Run test.py Error #42

@KyneWang

Description

@KyneWang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions