GCNet icon indicating copy to clipboard operation
GCNet copied to clipboard

The trainning error

Open Kris-Xu96 opened this issue 1 year ago • 2 comments

dear sir when I trainning the model ,i meet the error. as follows. @zhulf0804 @qsisi 图片1 can you know how to solve it?

Thanks

Kris-Xu96 avatar Jul 02 '24 06:07 Kris-Xu96

Looks like something goes wrong with the variable coors. Maybe you could consider printing it out for further debugging.

qsisi avatar Jul 02 '24 07:07 qsisi

inds = torch.norm(coords_src[coors[:, 0]].type(torch.long) - coords_tgt[coors[:, 1]].type(torch.long), dim=1) < (self.pos_radius - 0.001) IndexError: tensors used as indices must be long, byte or bool tensors

polooloo avatar Nov 07 '24 07:11 polooloo