DN-DETR
DN-DETR copied to clipboard
error : python inference.py
I want to visualize the results, but when I run python inference.py,it broke an error:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper__index_select)
It seems some tensors are put in CPU will some are in GPU. You can put all tensors on the GPU to fix this problem.
Did you find the location of the problem, please?