mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-22 07:10:34 +08:00
suppress errors in vision - batch 1
Reviewed By: pradeep90 Differential Revision: D22628883 fbshipit-source-id: a19c271b4025c0e3c61408604a7e0f9fbcbdfa5b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8b70aa1e85
commit
7cb9d8ea86
@@ -1485,7 +1485,6 @@ def join_meshes_as_batch(meshes: List[Meshes], include_textures: bool = True):
|
||||
# Meshes objects can be iterated and produce single Meshes. We avoid
|
||||
# letting join_meshes_as_batch(mesh1, mesh2) silently do the wrong thing.
|
||||
raise ValueError("Wrong first argument to join_meshes_as_batch.")
|
||||
# pyre-fixme[10]: Name `mesh` is used but not defined.
|
||||
verts = [v for mesh in meshes for v in mesh.verts_list()]
|
||||
faces = [f for mesh in meshes for f in mesh.faces_list()]
|
||||
if len(meshes) == 0 or not include_textures:
|
||||
|
||||
Reference in New Issue
Block a user