fabiopoiesi / dip

Project page of the paper "Distinctive 3D local deep descriptors" accepted in IEEE International Conference on Pattern Recognition 2020.
64 stars 4 forks source link

RuntimeWarning: divide by zero encountered in double_scalars #19

Open cainiaoshidai opened 2 years ago

cainiaoshidai commented 2 years ago

Dear professor,

  When I run the `Demo_eth.py` ,I get a bug.

E:\project_1\dip-master\lrf.py:47: RuntimeWarning: divide by zero encountered in double_scalars a1 = 1 / np.linalg.norm(np.dot(v, (alpha * beta)[:, np.newaxis])) E:\project_1\dip-master\lrf.py:49: RuntimeWarning: divide by zero encountered in double_scalars xp = 1 / np.linalg.norm(np.dot(v, (alpha * beta)[:, np.newaxis])) * np.dot(v, (alpha * beta)[:, np.newaxis]) E:\project_1\dip-master\lrf.py:49: RuntimeWarning: invalid value encountered in multiply xp = 1 / np.linalg.norm(np.dot(v, (alpha * beta)[:, np.newaxis])) * np.dot(v, (alpha * beta)[:, np.newaxis])

Can you give mo some advice? Thanks. Best.