Open jiajia95Murphy opened 1 year ago
VQA runtimeError with GPU The command I entered:python demo_vqa.py with num_gpus=1 load_path="weights/vilt_vqa.ckpt"
python: 3.8 CUDA: 11.7 pytorch: 1.13.0
Any resolution on this issue?
I don't know what's the cause, but manually add patch_index = patch_index.to("cuda:0") should fix this error.
VQA runtimeError with GPU The command I entered:python demo_vqa.py with num_gpus=1 load_path="weights/vilt_vqa.ckpt"
python: 3.8 CUDA: 11.7 pytorch: 1.13.0