"docs/vscode:/vscode.git/clone" did not exist on "87e029bc5dd0bd728758db35125aa51e9f4a0077"
Commit fe39cc7b authored by Pyre Bot Jr's avatar Pyre Bot Jr Committed by Facebook GitHub Bot
Browse files

suppress errors in `vision/fair/pytorch3d`

Differential Revision: D28766465

fbshipit-source-id: 9c5b123ac279e25965ebc8827d9a947bbb6f3ac5
parent 4efadaec
...@@ -537,7 +537,7 @@ def _add_mesh_trace( ...@@ -537,7 +537,7 @@ def _add_mesh_trace(
row, col = subplot_idx // ncols + 1, subplot_idx % ncols + 1 row, col = subplot_idx // ncols + 1, subplot_idx % ncols + 1
fig.add_trace( fig.add_trace(
go.Mesh3d( # pyre-ignore[16] go.Mesh3d(
x=verts[:, 0], x=verts[:, 0],
y=verts[:, 1], y=verts[:, 1],
z=verts[:, 2], z=verts[:, 2],
...@@ -621,7 +621,7 @@ def _add_pointcloud_trace( ...@@ -621,7 +621,7 @@ def _add_pointcloud_trace(
row = subplot_idx // ncols + 1 row = subplot_idx // ncols + 1
col = subplot_idx % ncols + 1 col = subplot_idx % ncols + 1
fig.add_trace( fig.add_trace(
go.Scatter3d( # pyre-ignore[16] go.Scatter3d(
x=verts[:, 0], x=verts[:, 0],
y=verts[:, 1], y=verts[:, 1],
z=verts[:, 2], z=verts[:, 2],
...@@ -682,9 +682,7 @@ def _add_camera_trace( ...@@ -682,9 +682,7 @@ def _add_camera_trace(
row, col = subplot_idx // ncols + 1, subplot_idx % ncols + 1 row, col = subplot_idx // ncols + 1, subplot_idx % ncols + 1
fig.add_trace( fig.add_trace(
go.Scatter3d( # pyre-ignore [16] go.Scatter3d(x=x, y=y, z=z, marker={"size": 1}, name=trace_name),
x=x, y=y, z=z, marker={"size": 1}, name=trace_name
),
row=row, row=row,
col=col, col=col,
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment