Closed littlespray closed 4 years ago
It seems the ground-truth flow ("flowl0") and the the predicted flow ("output[0]") are placed on different GPUs. Not sure why it happens.
You could add
output[0] = output[0].detach().cpu()
flowl0 = flowl0.detach().cpu()
before
vis['AEPE'] = realEPE(output[0].detach(), flowl0.permute(0,3,1,2).detach(),mask,sparse=False)
to transfer data to cpu first. Let me know if the error does not go away.
Thank you so much! I don't know the reason but after I tried the initial commands several times, it worked automatically! Anyway, thank you all the same for your solution.
Hi everyone! I am a beginner in Pytorch and Computer vision. I just cloned the source code(without installing the correlation module, I thought it is not necessary for training?) and began training using the command:
and I got the following traceback:
Thanks very much for any help.