Based on the error message torch_cluster/sampler.py is raising this error, as LongTensors are expected.



 monee_h.a:

Please note when I change the data type from bool to long for masks I am getting 0s only in pred, 0s only in y_pred, and 0s only in y_true, and this is not should be the case. Please advice.


Converting a BoolTensor to a LongTensor will only return all zeros, if the BoolTensor was containing only False values, so it might be expected.