summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEvan Shelhamer <shelhamer@imaginarynumber.net>2014-09-18 20:46:49 -0700
committerEvan Shelhamer <shelhamer@imaginarynumber.net>2014-09-18 21:38:43 -0700
commit403b56ba30ad3f2e3c640bbe8e486e0b1a8a634b (patch)
tree6c7defe83d90c70b74312acfeccebbee31235d31 /examples
parent7c3c089a59c9f0301ec57a2b1317c588e2be5a8e (diff)
downloadcaffeonacl-403b56ba30ad3f2e3c640bbe8e486e0b1a8a634b.tar.gz
caffeonacl-403b56ba30ad3f2e3c640bbe8e486e0b1a8a634b.tar.bz2
caffeonacl-403b56ba30ad3f2e3c640bbe8e486e0b1a8a634b.zip
[example] groom siamese notebook
Diffstat (limited to 'examples')
-rw-r--r--examples/siamese/mnist_siamese.ipynb37
1 files changed, 13 insertions, 24 deletions
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
+}