SoftGroup
SoftGroup copied to clipboard
Ballquery_batch_p’s meaning
hello,author. There is such a function called 'ops.ballquery_batch_p'. May I ask what does it mean?The output is a number ( 66365386):
nActive = ops.ballquery_batch_p(coords, batch_idxs, batch_offsets, idx, start_len, n, meanActive=300, radius=0.04)
if nActive <= n * meanActive(70329600):
break
meanActive = int(nActive // n + 1)
idx = idx[:nActive] # (66365386): [10618,10632,...130336,230608]
return idx, start_len
plus the function 'ops.bfs_cluster'. These two functions are highly encapsulated by the C language and cannot understand the meaning。这两个函数都被C语言高度封装,无法理解意义
Look at this : https://pytorch3d.readthedocs.io/en/latest/_modules/pytorch3d/ops/ball_query.html for ball query and the other is breadth first search clustering. I agree though that the codes are encapsulated in C. Better if was not, but for speeding up the process