A potential bug in demo.py (ygCoconut/mAP_3Dvolume)

A potential bug in demo.py (ygCoconut/mAP_3Dvolume)  

  By: ngchc on Dec. 9, 2020, 12:50 p.m.

Dear organizers,

For the evaluation code provided in https://github.com/ygCoconut/mAP_3Dvolume/tree/grand-challenge, I found a potential bug in LINE 74-75.

For example, when "pred_score=np.ones([100,2],int)", "np.any(pred_score.shape==2)" yields False and thus raises a ValueError.

Looking forward to your reply.

Thanks, Chang

Re: A potential bug in demo.py (ygCoconut/mAP_3Dvolume)  

  By: weiddoonngglai on Dec. 15, 2020, 12:37 a.m.

Hi Chang:

Thanks for the bug report and your interest in the challenge!

You are right. I've just pushed a commit to make the shape as a numpy array:

np.array(pred_score.shape)

Thanks D.