xyjbaal / FPCC

MIT License
44 stars 11 forks source link

Error in fpcc_test.py #8

Closed Levaru closed 2 years ago

Levaru commented 2 years ago

When executing fpcc_test.py on my custom trained model I get the following error:

/home/ceres/git/FPCC/utils/test_utils.py:268: RuntimeWarning: invalid value encountered in sqrt
  dis_mask = np.sqrt(dis_mask)
/home/ceres/git/FPCC/utils/test_utils.py:269: RuntimeWarning: invalid value encountered in greater
  pts_corr[np.where(dis_mask > use_3d_mask)] = 999

What could be the cause of that?

xyjbaal commented 2 years ago

dis_mask is a distance matrix of point pairs. I force the feature distance of point pairs whose distances are larger than the model size to 999 so that they cannot be clustered into the same instance. Based on the information you provided, I can't tell where the problem is.

Levaru commented 2 years ago

Ah I see, I misread this as an error. Please disregard this issue.

blandness1217 commented 6 months ago

Ah I see, I misread this as an error. Please disregard this issue.

I met this too! Could you tell me where the problem is and how you solve it?