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
I noticed that some .obj files of ShapeNetV2 cannot be correctly evaluateed. They can be generated when [generate_meshes = True] on useful_scripts.py ,but an error will happen when evaluate_patch_network_metrics runs again with [generate_meshes = False]
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/root/miniconda3/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "useful_scripts.py", line 1101, in _evaluate_object
iou = intersection_over_union(groundtruth_mesh_file, regressed_trimesh)
File "useful_scripts.py", line 1028, in intersection_over_union
watertight_result = precompute_iou_on_watertight(groundtruth_mesh_file, num_points=num_points) # num_points x 4 (x,y,z, 1.0f if inside else 0.0f)
File "useful_scripts.py", line 1013, in precompute_iou_on_watertight
max_bb, min_bb = _get_bounding_box(groundtruth_trimesh.vertices)
AttributeError: 'Scene' object has no attribute 'vertices'
Is it because these objects are nor water-tight? And how to fix it?
The text was updated successfully, but these errors were encountered:
I noticed that some .obj files of ShapeNetV2 cannot be correctly evaluateed. They can be generated when [generate_meshes = True] on useful_scripts.py ,but an error will happen when evaluate_patch_network_metrics runs again with [generate_meshes = False]
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/root/miniconda3/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "useful_scripts.py", line 1101, in _evaluate_object
iou = intersection_over_union(groundtruth_mesh_file, regressed_trimesh)
File "useful_scripts.py", line 1028, in intersection_over_union
watertight_result = precompute_iou_on_watertight(groundtruth_mesh_file, num_points=num_points) # num_points x 4 (x,y,z, 1.0f if inside else 0.0f)
File "useful_scripts.py", line 1013, in precompute_iou_on_watertight
max_bb, min_bb = _get_bounding_box(groundtruth_trimesh.vertices)
AttributeError: 'Scene' object has no attribute 'vertices'
Is it because these objects are nor water-tight? And how to fix it?
The text was updated successfully, but these errors were encountered: