Skip to content

Commit bc4ceff

Browse files
Merge pull request #264 from raanyild:colab_notebook
PiperOrigin-RevId: 308831008
2 parents b5a7247 + a54e3d6 commit bc4ceff

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tensorflow_graphics/notebooks/6dof_alignment.ipynb

+12-12
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
},
4343
"source": [
4444
"# Object pose alignment\n",
45-
"\u003ctable class=\"tfo-notebook-buttons\" align=\"left\"\u003e\n",
46-
" \u003ctd\u003e\n",
47-
" \u003ca target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/6dof_alignment.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" /\u003eRun in Google Colab\u003c/a\u003e\n",
48-
" \u003c/td\u003e\n",
49-
" \u003ctd\u003e\n",
50-
" \u003ca target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/6dof_alignment.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eView source on GitHub\u003c/a\u003e\n",
51-
" \u003c/td\u003e\n",
52-
"\u003c/table\u003e"
45+
"<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
46+
" <td>\n",
47+
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/6dof_alignment.ipynb\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
48+
" </td>\n",
49+
" <td>\n",
50+
" <a target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/6dof_alignment.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on GitHub</a>\n",
51+
" </td>\n",
52+
"</table>"
5353
]
5454
},
5555
{
@@ -80,7 +80,7 @@
8080
"id": "PNQ29y8Q4_cH"
8181
},
8282
"source": [
83-
"## Setup \u0026 Imports\n",
83+
"## Setup & Imports\n",
8484
"If Tensorflow Graphics is not installed on your system, the following cell can install the Tensorflow Graphics package for you."
8585
]
8686
},
@@ -94,7 +94,7 @@
9494
},
9595
"outputs": [],
9696
"source": [
97-
"!pip install tensorflow_graphics"
97+
"!pip install https://github.com/tensorflow/graphics/archive/master.zip"
9898
]
9999
},
100100
{
@@ -316,7 +316,7 @@
316316
" def on_epoch_end(self, batch, logs={}):\n",
317317
" self.current_epoch += 1.\n",
318318
" training_percentage = int(self.current_epoch * 100.0 / self.num_epochs)\n",
319-
" if training_percentage - self.last_percentage_report \u003e= self.step:\n",
319+
" if training_percentage - self.last_percentage_report >= self.step:\n",
320320
" print('Training ' + str(\n",
321321
" training_percentage) + '% complete. Training loss: ' + str(\n",
322322
" logs.get('loss')) + ' | Validation loss: ' + str(\n",
@@ -678,4 +678,4 @@
678678
},
679679
"nbformat": 4,
680680
"nbformat_minor": 0
681-
}
681+
}

0 commit comments

Comments
 (0)