You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to run your code and got the following error:
Traceback (most recent call last):
File "tools/5_evaluation_bop_basic.py", line 310, in <module>
obj_pix2pose[obj_order_id].est_pose(image_t,roi.astype(np.int))
File "/host_home/repos/Pix2Pose/pix2pose_model/recognition.py", line 89, in est_pose
base_image[vv1:vv2,uu1:uu2] = image_no_mask_zero
ValueError: could not broadcast input array from shape (462,56,3) into shape (0,56,3)
I have tracked the code, and it happened when some of the bounding box indices are negative, and the shifting does not work sometimes.
Below are the numbers that the error happens for them:
Inpix2pose.get_boxes() method, the bbox input is: [-65 128 -27 163] v_max, u_maxare 480, 640, respectively.
and the output for vv1,vv2,uu1,uu2 are 71 52 0 52.
The value for vv1, vv2 pair is clearly wrong. Could you please help?
Hi,
I am trying to run your code and got the following error:
I have tracked the code, and it happened when some of the bounding box indices are negative, and the shifting does not work sometimes.
Below are the numbers that the error happens for them:
In
pix2pose.get_boxes()
method, thebbox
input is:[-65 128 -27 163]
v_max, u_max
are480, 640
, respectively.and the output for
vv1,vv2,uu1,uu2
are71 52 0 52
.The value for
vv1, vv2
pair is clearly wrong. Could you please help?Below is my config file:
The text was updated successfully, but these errors were encountered: