SoftGroup icon indicating copy to clipboard operation
SoftGroup copied to clipboard

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

Open uwuwn opened this issue 1 year ago • 3 comments

uwuwn avatar Oct 21 '24 03:10 uwuwn

I came with the same error too, have you solved it already?

YJJ0829 avatar Nov 06 '24 06:11 YJJ0829

Got the same issue.

xiaoxiae avatar Dec 03 '24 12:12 xiaoxiae

@xiaoxiae @YJJ0829 Add a line proposals_idx = proposals_idx.to(mask_inds.device) before the line cur_proposals_idx = proposals_idx[mask_inds].long() in the softgroup/model/softgroup.py file.

LDP626 avatar Mar 02 '25 07:03 LDP626