SOLIDER icon indicating copy to clipboard operation
SOLIDER copied to clipboard

IndexError: tensors used as indices must be long, byte or bool tensors

Open Peter-jj opened this issue 1 year ago • 1 comments

when I run the resume_solider.sh,it maybe traceback with File "main_solider.py", line 398, in train_one_epoch semantic_weight = [torch.cat(semantic_weight)[torch.from_numpy(mask_idxs)]]
IndexError: tensors used as indices must be long, byte or bool tensors how can I deal with it

Peter-jj avatar Jul 11 '23 15:07 Peter-jj