Open WurmD opened 3 years ago
I had the same problem but I found the solution
The error happened in the ./model/Temporal_shift/cuda/shift.py
and from the error, we know that the input must be contiguous
The simple solution is to convert the input to be contiguous first with:
input = input.contiguous()
before this line
output = shift_cuda.forward(input,xpos,ypos,stride)
Here is the reference
Hope it helps 😄
Indeed it works! Thanks! I'll leave the Issue open until that fix is implemented in the repo
I had the same problem but I found the solution
The error happened in the
./model/Temporal_shift/cuda/shift.py
and from the error, we know that the input must be contiguous The simple solution is to convert the input to be contiguous first with:input = input.contiguous()
before this lineoutput = shift_cuda.forward(input,xpos,ypos,stride)
Here is the reference
Hope it helps 😄
You're a genius! Thanks so much!
Hi, did this ever happen to you?
Full trace:
Input
fp
:Minimal exemple: