Skip to content

Commit 5d65a0c

Browse files
Amitav Baruahfacebook-github-bot
Amitav Baruah
authored andcommitted
Rename visualization to vis
Summary: Importing from pytorch3d.visualization is wordy, so shortened the path to the vis module and updated the relevant imports. Reviewed By: nikhilaravi Differential Revision: D24116527 fbshipit-source-id: e0e4da7d48c5afedec07482d7be43362b6822445
1 parent e651a42 commit 5d65a0c

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

docs/notes/visualization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar_label: Plotly Visualization
55

66
# Overview
77

8-
PyTorch3D provides a modular differentiable renderer, but for instances where we want interactive plots or are not concerned with the differentiability of the rendering process, we provide [functions to render meshes and pointclouds in plotly](../../pytorch3d/visualization/plotly_vis.py). These plotly figures allow you to rotate and zoom the rendered images and support plotting batched data as multiple traces in a singular plot or divided into individual subplots.
8+
PyTorch3D provides a modular differentiable renderer, but for instances where we want interactive plots or are not concerned with the differentiability of the rendering process, we provide [functions to render meshes and pointclouds in plotly](../../pytorch3d/vis/plotly_vis.py). These plotly figures allow you to rotate and zoom the rendered images and support plotting batched data as multiple traces in a singular plot or divided into individual subplots.
99

1010

1111
# Examples

docs/tutorials/render_colored_points.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"\n",
6868
"# Data structures and functions for rendering\n",
6969
"from pytorch3d.structures import Pointclouds\n",
70-
"from pytorch3d.visualization import AxisArgs, plot_pointclouds\n",
70+
"from pytorch3d.vis import AxisArgs, plot_pointclouds\n",
7171
"from pytorch3d.renderer import (\n",
7272
" look_at_view_transform,\n",
7373
" FoVOrthographicCameras, \n",

docs/tutorials/render_textured_meshes.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"\n",
9494
"# Data structures and functions for rendering\n",
9595
"from pytorch3d.structures import Meshes\n",
96-
"from pytorch3d.visualization import AxisArgs, plot_meshes\n",
96+
"from pytorch3d.vis import AxisArgs, plot_meshes\n",
9797
"from pytorch3d.renderer import (\n",
9898
" look_at_view_transform,\n",
9999
" FoVPerspectiveCameras, \n",
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)