TorchEx
TorchEx copied to clipboard
About CCL
Why can't I use the torchex.connected_components to get the same result as scipy.parse.csgraph.connected_components? Sometimes it's the same, but sometimes it's different, and the initial estimate is 50-50。
the code is
cluster_inds = connected_components(xyz, class_id, dist[cls_id], num_points[cls_id], 2, False) # torchex
cluster_inds_v2 = find_connected_componets_single_batch(xyz, batch_id, dist[cls_id]) # scipy