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
In each dataset, src_nodes and dst_nodes are calculated which are meant to be used for point cloud featurization, however in the majority of cases, point clouds are not used for training and instead graphs are constructed. Due to always having the point cloud computation step set the src_nodes and dst_nodes attributes in the dataset, this step of DGL conversion (similarly, this step of PyG conversion) will never run, which constructs a graph based on the cutoff radius and distance matrix. The result of skipping this step if a graph that only contains self loops.
More undesired behavior manifests itself, as seen in failing tests, where not using full_pairwise option for the point cloud featurization will cause problems with the graph construction due to not having an appropriated src to dst node mapping (len(src_nodes) > len(dst_nodes)).
Expected behavior
I would expect a DGL or PyG graph to consist of more than just self-loops when constructed without using the
PeriodicPropertiesTransform
.Actual behavior
(First mentioned here in #132.)
In each dataset,
src_nodes
anddst_nodes
are calculated which are meant to be used for point cloud featurization, however in the majority of cases, point clouds are not used for training and instead graphs are constructed. Due to always having the point cloud computation step set thesrc_nodes
anddst_nodes
attributes in the dataset, this step of DGL conversion (similarly, this step of PyG conversion) will never run, which constructs a graph based on the cutoff radius and distance matrix. The result of skipping this step if a graph that only contains self loops.More undesired behavior manifests itself, as seen in failing tests, where not using
full_pairwise
option for the point cloud featurization will cause problems with the graph construction due to not having an appropriated src to dst node mapping (len(src_nodes) > len(dst_nodes)).Steps to reproduce the problem
Example 1 (Inspect the graph edges):
Example 2:
Specifications
Latest and greatest.
The text was updated successfully, but these errors were encountered: