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
您好,最近在github上看你们的代码,这里我把你们数据集的前110个scene使用convert脚本转换成.npy文件,使用exam_eval.py脚本进行评估,遇到了以下错误:
Traceback (most recent call last):
File "/home/robot/graspnetAPI-master/examples/exam_eval.py", line 21, in
acc = ge_r.eval_scene(scene_id=sceneId, dump_folder=dump_folder)
File "/home/robot/graspnetAPI-master/graspnetAPI/graspnet_eval.py", line 144, in eval_scene
grasp_list, score_list, collision_mask_list = eval_grasp(grasp_group, model_sampled_list, dexmodel_list, pose_list, config, table=table_trans, voxel_size=0.008, TOP_K = TOP_K)
File "/home/robot/graspnetAPI-master/graspnetAPI/utils/eval_utils.py", line 340, in eval_grasp
indices = compute_closest_points(grasp_group.translations, scene)
File "/home/robot/graspnetAPI-master/graspnetAPI/utils/eval_utils.py", line 133, in compute_closest_points
dists = compute_point_distance(A, B)
File "/home/robot/graspnetAPI-master/graspnetAPI/utils/eval_utils.py", line 114, in compute_point_distance
dists = np.linalg.norm(A-B, axis=-1)
ValueError: operands could not be broadcast together with shapes (2754,1,0) (1,5328,3)
Process finished with exit code 1
看了每个函数的定义,不知道怎么解决,期待您的回复!!
The text was updated successfully, but these errors were encountered:
您好,最近在github上看你们的代码,这里我把你们数据集的前110个scene使用convert脚本转换成.npy文件,使用exam_eval.py脚本进行评估,遇到了以下错误:
Traceback (most recent call last):
File "/home/robot/graspnetAPI-master/examples/exam_eval.py", line 21, in
acc = ge_r.eval_scene(scene_id=sceneId, dump_folder=dump_folder)
File "/home/robot/graspnetAPI-master/graspnetAPI/graspnet_eval.py", line 144, in eval_scene
grasp_list, score_list, collision_mask_list = eval_grasp(grasp_group, model_sampled_list, dexmodel_list, pose_list, config, table=table_trans, voxel_size=0.008, TOP_K = TOP_K)
File "/home/robot/graspnetAPI-master/graspnetAPI/utils/eval_utils.py", line 340, in eval_grasp
indices = compute_closest_points(grasp_group.translations, scene)
File "/home/robot/graspnetAPI-master/graspnetAPI/utils/eval_utils.py", line 133, in compute_closest_points
dists = compute_point_distance(A, B)
File "/home/robot/graspnetAPI-master/graspnetAPI/utils/eval_utils.py", line 114, in compute_point_distance
dists = np.linalg.norm(A-B, axis=-1)
ValueError: operands could not be broadcast together with shapes (2754,1,0) (1,5328,3)
Process finished with exit code 1
看了每个函数的定义,不知道怎么解决,期待您的回复!!
The text was updated successfully, but these errors were encountered: