Thanks for sharing your source code! I am trying SSTNet to train S3DIS dataset, I have encountered an error and can't find how to get it wrong, I hope the author has time to help me solve it. Here is my error message.
Traceback (most recent call last):
File "/home/deep/3D-Instance-Segmentation/SSTNet-workspace/SSTNet/train.py", line 311, in <module>
gorilla.launch(
File "/home/deep/anaconda3/envs/SSTNet/lib/python3.8/site-packages/gorilla/core/launch.py", line 72, in launch
main_func(*args)
File "/home/deep/3D-Instance-Segmentation/SSTNet-workspace/SSTNet/train.py", line 301, in main
do_train(model, cfg, logger)
File "/home/deep/3D-Instance-Segmentation/SSTNet-workspace/SSTNet/train.py", line 130, in do_train
ret = model(input_,
File "/home/deep/anaconda3/envs/SSTNet/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/deep/3D-Instance-Segmentation/SSTNet-workspace/SSTNet/sstnet/model/sstnet.py", line 429, in forward
self.hierarchical_fusion_step(superpoint,
File "/home/deep/3D-Instance-Segmentation/SSTNet-workspace/SSTNet/sstnet/model/sstnet.py", line 276, in hierarchical_fusion_step
hierarchical_tree_list, tree_list, fusion_features_list, fusion_labels_list, nodes_list = build_hierarchical_tree(
File "/home/deep/3D-Instance-Segmentation/SSTNet-workspace/SSTNet/sstnet/model/func_helper.py", line 66, in build_hierarchical_tree
tree_connection = linkage(affinity_np, method="average", with_observation=True)
File "/home/deep/anaconda3/envs/SSTNet/lib/python3.8/site-packages/cluster/hierarchy.py", line 1065, in linkage
n = int(distance.num_obs_y(y))
File "/home/deep/anaconda3/envs/SSTNet/lib/python3.8/site-packages/scipy/spatial/distance.py", line 2572, in num_obs_y
raise ValueError("The number of observations cannot be determined on "
ValueError: The number of observations cannot be determined on an empty distance matrix.
This is the configuration file corresponding to my S3DIS.
Thanks for sharing your source code! I am trying SSTNet to train S3DIS dataset, I have encountered an error and can't find how to get it wrong, I hope the author has time to help me solve it. Here is my error message.
This is the configuration file corresponding to my S3DIS.