GCNet
GCNet copied to clipboard
The trainning error
dear sir
when I trainning the model ,i meet the error. as follows. @zhulf0804 @qsisi
can you know how to solve it?
Thanks
Looks like something goes wrong with the variable coors. Maybe you could consider printing it out for further debugging.
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