Skip to content

Commit f247c86

Browse files
bottlerfacebook-github-bot
authored andcommitted
Update tutorials for 0.7.6
Summary: version number changed with `sed -i "s/2.1\./2.2./" *b` Reviewed By: cijose Differential Revision: D53852986 fbshipit-source-id: 1662c8e6d671321887a3263bc3880d5c33d1f866
1 parent ae9d878 commit f247c86

12 files changed

+12
-12
lines changed

docs/tutorials/bundle_adjustment.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"except ModuleNotFoundError:\n",
9090
" need_pytorch3d=True\n",
9191
"if need_pytorch3d:\n",
92-
" if torch.__version__.startswith(\"2.1.\") and sys.platform.startswith(\"linux\"):\n",
92+
" if torch.__version__.startswith(\"2.2.\") and sys.platform.startswith(\"linux\"):\n",
9393
" # We try to install PyTorch3D via a released wheel.\n",
9494
" pyt_version_str=torch.__version__.split(\"+\")[0].replace(\".\", \"\")\n",
9595
" version_str=\"\".join([\n",

docs/tutorials/camera_position_optimization_with_differentiable_rendering.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"except ModuleNotFoundError:\n",
7777
" need_pytorch3d=True\n",
7878
"if need_pytorch3d:\n",
79-
" if torch.__version__.startswith(\"2.1.\") and sys.platform.startswith(\"linux\"):\n",
79+
" if torch.__version__.startswith(\"2.2.\") and sys.platform.startswith(\"linux\"):\n",
8080
" # We try to install PyTorch3D via a released wheel.\n",
8181
" pyt_version_str=torch.__version__.split(\"+\")[0].replace(\".\", \"\")\n",
8282
" version_str=\"\".join([\n",

docs/tutorials/dataloaders_ShapeNetCore_R2N2.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"except ModuleNotFoundError:\n",
5252
" need_pytorch3d=True\n",
5353
"if need_pytorch3d:\n",
54-
" if torch.__version__.startswith(\"2.1.\") and sys.platform.startswith(\"linux\"):\n",
54+
" if torch.__version__.startswith(\"2.2.\") and sys.platform.startswith(\"linux\"):\n",
5555
" # We try to install PyTorch3D via a released wheel.\n",
5656
" pyt_version_str=torch.__version__.split(\"+\")[0].replace(\".\", \"\")\n",
5757
" version_str=\"\".join([\n",

docs/tutorials/deform_source_mesh_to_target_mesh.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"except ModuleNotFoundError:\n",
9191
" need_pytorch3d=True\n",
9292
"if need_pytorch3d:\n",
93-
" if torch.__version__.startswith(\"2.1.\") and sys.platform.startswith(\"linux\"):\n",
93+
" if torch.__version__.startswith(\"2.2.\") and sys.platform.startswith(\"linux\"):\n",
9494
" # We try to install PyTorch3D via a released wheel.\n",
9595
" pyt_version_str=torch.__version__.split(\"+\")[0].replace(\".\", \"\")\n",
9696
" version_str=\"\".join([\n",

docs/tutorials/fit_simple_neural_radiance_field.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"except ModuleNotFoundError:\n",
5757
" need_pytorch3d=True\n",
5858
"if need_pytorch3d:\n",
59-
" if torch.__version__.startswith(\"2.1.\") and sys.platform.startswith(\"linux\"):\n",
59+
" if torch.__version__.startswith(\"2.2.\") and sys.platform.startswith(\"linux\"):\n",
6060
" # We try to install PyTorch3D via a released wheel.\n",
6161
" pyt_version_str=torch.__version__.split(\"+\")[0].replace(\".\", \"\")\n",
6262
" version_str=\"\".join([\n",

docs/tutorials/fit_textured_mesh.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"except ModuleNotFoundError:\n",
6969
" need_pytorch3d=True\n",
7070
"if need_pytorch3d:\n",
71-
" if torch.__version__.startswith(\"2.1.\") and sys.platform.startswith(\"linux\"):\n",
71+
" if torch.__version__.startswith(\"2.2.\") and sys.platform.startswith(\"linux\"):\n",
7272
" # We try to install PyTorch3D via a released wheel.\n",
7373
" pyt_version_str=torch.__version__.split(\"+\")[0].replace(\".\", \"\")\n",
7474
" version_str=\"\".join([\n",

docs/tutorials/fit_textured_volume.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"except ModuleNotFoundError:\n",
4848
" need_pytorch3d=True\n",
4949
"if need_pytorch3d:\n",
50-
" if torch.__version__.startswith(\"2.1.\") and sys.platform.startswith(\"linux\"):\n",
50+
" if torch.__version__.startswith(\"2.2.\") and sys.platform.startswith(\"linux\"):\n",
5151
" # We try to install PyTorch3D via a released wheel.\n",
5252
" pyt_version_str=torch.__version__.split(\"+\")[0].replace(\".\", \"\")\n",
5353
" version_str=\"\".join([\n",

docs/tutorials/implicitron_config_system.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"except ModuleNotFoundError:\n",
7979
" need_pytorch3d=True\n",
8080
"if need_pytorch3d:\n",
81-
" if torch.__version__.startswith(\"2.1.\") and sys.platform.startswith(\"linux\"):\n",
81+
" if torch.__version__.startswith(\"2.2.\") and sys.platform.startswith(\"linux\"):\n",
8282
" # We try to install PyTorch3D via a released wheel.\n",
8383
" pyt_version_str=torch.__version__.split(\"+\")[0].replace(\".\", \"\")\n",
8484
" version_str=\"\".join([\n",

docs/tutorials/implicitron_volumes.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"except ModuleNotFoundError:\n",
7373
" need_pytorch3d=True\n",
7474
"if need_pytorch3d:\n",
75-
" if torch.__version__.startswith(\"2.1.\") and sys.platform.startswith(\"linux\"):\n",
75+
" if torch.__version__.startswith(\"2.2.\") and sys.platform.startswith(\"linux\"):\n",
7676
" # We try to install PyTorch3D via a released wheel.\n",
7777
" pyt_version_str=torch.__version__.split(\"+\")[0].replace(\".\", \"\")\n",
7878
" version_str=\"\".join([\n",

docs/tutorials/render_colored_points.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"except ModuleNotFoundError:\n",
5151
" need_pytorch3d=True\n",
5252
"if need_pytorch3d:\n",
53-
" if torch.__version__.startswith(\"2.1.\") and sys.platform.startswith(\"linux\"):\n",
53+
" if torch.__version__.startswith(\"2.2.\") and sys.platform.startswith(\"linux\"):\n",
5454
" # We try to install PyTorch3D via a released wheel.\n",
5555
" pyt_version_str=torch.__version__.split(\"+\")[0].replace(\".\", \"\")\n",
5656
" version_str=\"\".join([\n",

docs/tutorials/render_densepose.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"except ModuleNotFoundError:\n",
5858
" need_pytorch3d=True\n",
5959
"if need_pytorch3d:\n",
60-
" if torch.__version__.startswith(\"2.1.\") and sys.platform.startswith(\"linux\"):\n",
60+
" if torch.__version__.startswith(\"2.2.\") and sys.platform.startswith(\"linux\"):\n",
6161
" # We try to install PyTorch3D via a released wheel.\n",
6262
" pyt_version_str=torch.__version__.split(\"+\")[0].replace(\".\", \"\")\n",
6363
" version_str=\"\".join([\n",

docs/tutorials/render_textured_meshes.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"except ModuleNotFoundError:\n",
7474
" need_pytorch3d=True\n",
7575
"if need_pytorch3d:\n",
76-
" if torch.__version__.startswith(\"2.1.\") and sys.platform.startswith(\"linux\"):\n",
76+
" if torch.__version__.startswith(\"2.2.\") and sys.platform.startswith(\"linux\"):\n",
7777
" # We try to install PyTorch3D via a released wheel.\n",
7878
" pyt_version_str=torch.__version__.split(\"+\")[0].replace(\".\", \"\")\n",
7979
" version_str=\"\".join([\n",

0 commit comments

Comments
 (0)