DirtyHarryLYL / DJ-RN

As a part of HAKE project (HAKE-3D). Code for our CVPR2020 paper "Detailed 2D-3D Joint Representation for Human-Object Interaction".
Apache License 2.0
100 stars 13 forks source link

For obj_index=10 the scores matrix have no value #36

Closed mary-arch closed 3 years ago

mary-arch commented 3 years ago

Hello when I run "python ./-Results/Generate_detection.py --model /home/DJ-RN-master/-Results/400000_DJR" I have this error: Traceback (most recent call last): File "./-Results/Generate_detection.py", line 27, in scores[obj_index] = np.concatenate(scores[obj_index], axis=0) File "<__array_function__ internals>", line 6, in concatenate ValueError: need at least one array to concatenate For obj_index=10 the scores matrix have no value. What do I do?

mary-arch commented 3 years ago

Because I took a small amount of test data that does not have a value for some objects in scores. How can I correct the code? I took 50 test data for exam

Foruck commented 3 years ago

Did you test your model on the full HICO-DET test set? If not, the number of pairs would not be matching and our NIS could not be successfully performed. Maybe you could skip the NIS procedure.