mlii0117 / FFA-IR

The official start-up code for paper "FFA-IR: Towards an Explainable and Reliable Medical Report Generation Benchmark."
MIT License
48 stars 2 forks source link

DataParallel error #7

Open wlufy opened 1 year ago

wlufy commented 1 year ago

hi, i meet the error when i use multi gpus. RuntimeError: Expected tensor for argument #1 'input' to have the same device as tensor for argument #2 'weight'; but device 1 does not equal 0 (while checking arguments for cudnn_convolution)

how can i solve this problem? thanks!