You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The paper says "uniformly sample a vertex as the root and perform breadth-first sorting (BFS) algorithm to obtain the topological order of tree G“. But it seems that the code always start from the index 0.
Because out_data is ordered as the input feature, but out_grad is ordered in the breadth-first-search (BFS) manner.
The "weight" in "refine.cu" is already calculated by S(Ei, j), whose gradient is obtained by using the native PyTorch code. Please refer to the distance_func
In the BFS algorithm, different vertexes as the root, the algorithm will output a consistent topology. For convenience, we choose the first vertex as the root.
An excellent work! I've several questions.
TreeFilter-Torch/furnace/kernels/lib_tree_filter/src/refine/refine.cu
Line 184 in 4eed6b6
TreeFilter-Torch/furnace/kernels/lib_tree_filter/src/refine/refine.cu
Line 367 in 4eed6b6
TreeFilter-Torch/furnace/kernels/lib_tree_filter/src/bfs/bfs.cu
Line 79 in 4eed6b6
The text was updated successfully, but these errors were encountered: