Commit 1b4b67fd authored by yurimalheiros's avatar yurimalheiros Committed by Facebook GitHub Bot
Browse files

Minor fixes to the Fit Mesh tutorial (#1423)

Summary:
- Fix the numbers in the headers. Currently, there are no header number 2, the tutorial jump from 1 to 3.
- Clean some unnecessary code.

Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1423

Reviewed By: shapovalov

Differential Revision: D42478609

Pulled By: bottler

fbshipit-source-id: c49fc10b7d38c3573c92fea737101e6c06bbea38
parent 9fb452db
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"# Load the dolphin mesh.\n", "# Load the dolphin mesh.\n",
"trg_obj = os.path.join('dolphin.obj')" "trg_obj = 'dolphin.obj'"
] ]
}, },
{ {
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
"id": "dYWDl4VGWHRK" "id": "dYWDl4VGWHRK"
}, },
"source": [ "source": [
"### Visualize the source and target meshes" "## 2. Visualize the source and target meshes"
] ]
}, },
{ {
...@@ -485,7 +485,7 @@ ...@@ -485,7 +485,7 @@
"final_verts = final_verts * scale + center\n", "final_verts = final_verts * scale + center\n",
"\n", "\n",
"# Store the predicted mesh using save_obj\n", "# Store the predicted mesh using save_obj\n",
"final_obj = os.path.join('./', 'final_model.obj')\n", "final_obj = 'final_model.obj'\n",
"save_obj(final_obj, final_verts, final_faces)" "save_obj(final_obj, final_verts, final_faces)"
] ]
}, },
......
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