From 403b56ba30ad3f2e3c640bbe8e486e0b1a8a634b Mon Sep 17 00:00:00 2001 From: Evan Shelhamer Date: Thu, 18 Sep 2014 20:46:49 -0700 Subject: [example] groom siamese notebook --- examples/siamese/mnist_siamese.ipynb | 37 +++++++++++++----------------------- 1 file changed, 13 insertions(+), 24 deletions(-) (limited to 'examples') diff --git a/examples/siamese/mnist_siamese.ipynb b/examples/siamese/mnist_siamese.ipynb index 66776fe1..5abd0469 100644 --- a/examples/siamese/mnist_siamese.ipynb +++ b/examples/siamese/mnist_siamese.ipynb @@ -1,7 +1,9 @@ { "metadata": { - "name": "", - "signature": "sha256:ea70e3c13ccbae495d73f30e18b8e01e68ec8c7dc8bbb3635e6139b801c921a9" + "description": "Extracting features and plotting the Siamese network embedding.", + "example_name": "Siamese network embedding", + "include_in_docs": true, + "priority": 6 }, "nbformat": 3, "nbformat_minor": 0, @@ -12,7 +14,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Setup and import caffe" + "### Setup\n", + "\n", + "Import Caffe and the usual modules." ] }, { @@ -39,7 +43,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Load the trained net." + "### Load the trained net\n", + "\n", + "Load the model definition and weights and set to CPU mode TEST phase computation with input scaling." ] }, { @@ -91,7 +97,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Run the data through the net" + "### Generate the Siamese features" ] }, { @@ -114,7 +120,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Plot the results" + "### Visualize the learned Siamese embedding" ] }, { @@ -144,26 +150,9 @@ } ], "prompt_number": 5 - }, - { - "cell_type": "code", - "collapsed": false, - "input": [], - "language": "python", - "metadata": {}, - "outputs": [], - "prompt_number": 5 - }, - { - "cell_type": "code", - "collapsed": false, - "input": [], - "language": "python", - "metadata": {}, - "outputs": [] } ], "metadata": {} } ] -} \ No newline at end of file +} -- cgit v1.2.3