DeepLearnPhysics / lartpc_mlreco3d

9 stars 32 forks source link

Resolve `adapt_labels` memory issue #93

Closed dkoh0207 closed 2 years ago

dkoh0207 commented 2 years ago

adapt_labels_knn will use torch_cluster.knn to assign predicted nonghost / true ghost voxels the nearest neighbor's label information. This saves CUDA memory and shortens iteration time while keeping the same behavior as that of adapt_labels.