When I run valid.py The following error appears:
Traceback (most recent call last):
File "valid.py", line 160, in
predict()
File "valid.py", line 139, in predict
ths, ths_, cnt = Get_Ths(pts_corrval, seg, ins, ths, ths, cnt)
File "/home/hpz8g4/hanrui/SGPN/utils/test_utils.py", line 57, in Get_Ths
hist, bin = np.histogram(pt[pts_in_curins_ind], bins=20)
File "<__array_function__ internals>", line 6, in histogram
File "/home/hpz8g4/anaconda3/envs/hanrui/lib/python3.7/site-packages/numpy/lib/histograms.py", line 856, in histogram
decrement = tmp_a < bin_edges[indices]
IndexError: index -9223372036854775808 is out of bounds for axis 0 with size 21
When I run valid.py The following error appears: Traceback (most recent call last): File "valid.py", line 160, in
predict()
File "valid.py", line 139, in predict
ths, ths_, cnt = Get_Ths(pts_corrval, seg, ins, ths, ths, cnt)
File "/home/hpz8g4/hanrui/SGPN/utils/test_utils.py", line 57, in Get_Ths
hist, bin = np.histogram(pt[pts_in_curins_ind], bins=20)
File "<__array_function__ internals>", line 6, in histogram
File "/home/hpz8g4/anaconda3/envs/hanrui/lib/python3.7/site-packages/numpy/lib/histograms.py", line 856, in histogram
decrement = tmp_a < bin_edges[indices]
IndexError: index -9223372036854775808 is out of bounds for axis 0 with size 21
Thank you for your help