graspnet/graspnet-baseline

something wrong with "python test.py",how can i get the value of ap?

qwertyshen1001 opened this issue · 1 comments

the terminal shows:
Eval batch: 5700, time: 0.709260s
Loading data path...: 100%
Mean Accuracy for scene:0115 ann:0200 = 38.191ERROR - 2023-12-06 14:27:03,076 - sdf - Singular matrix. Probably a bug
Mean Accuracy for scene:0116 ann:0180 = 49.393ERROR - 2023-12-06 14:27:03,100 - sdf - Singular matrix. Probably a bug
Mean Accuracy for scene:0188 ann:0255 = 35.948

then the program is stuck,it doesn't print result as follow:
print('\nEvaluation Result:\n----------\n{}, AP={}, AP Seen={}, AP Similar={}, AP Novel={}'.format(self.camera, ap[0], ap[1], ap[2], ap[3]))

Try splitting the test data. The test results can be stored and merged easily.