DiffSBDD icon indicating copy to clipboard operation
DiffSBDD copied to clipboard

move masks to cpu

Open geraseva opened this issue 11 months ago • 0 comments

When running optimize.py and inpaint.py, I got the following error:

RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu)

I have corrected this by moving lig_mask tensor to cpu.

geraseva avatar Jan 21 '25 13:01 geraseva