superpoint_graph icon indicating copy to clipboard operation
superpoint_graph copied to clipboard

ValueError: RANSAC could not find a valid consensus set.

Open Xiaofei-Kevin-Yang opened this issue 4 years ago • 0 comments

Hi,

Thanks for your excellent work on point cloud segmentation. I encountered an issue when running the ssp-spg in my own dataset as below: ValueError: RANSAC could not find a valid consensus set. Traceback (most recent call last): File "supervized_partition/graph_processing.py", line 563, in main() File "supervized_partition/graph_processing.py", line 184, in main reg = RANSACRegressor(random_state=0).fit(xyz[low_points,:2], xyz[low_points,2]) File "/root/miniconda3/lib/python3.7/site-packages/sklearn/linear_model/_ransac.py", line 440, in fit "RANSAC could not find a valid consensus set. All" ValueError: RANSAC could not find a valid consensus set. All max_trials iterations were skipped because each randomly chosen sub-sample failed the passing criteria. See estimator attributes for diagnostics (n_skips*).

Could you tell me how to fix it? I really appreciate your help.

Xiaofei-Kevin-Yang avatar May 24 '21 06:05 Xiaofei-Kevin-Yang