SOLIDER
SOLIDER copied to clipboard
IndexError: tensors used as indices must be long, byte or bool tensors
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
Hi authors - the code is not finetunable when mask_ids is empty - can you give a pointer on what to do? I tried indenting that line and got a tensor size mismatch error (16 vs. 8).