Skip to content

Commit

Permalink
[example] groom siamese notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
shelhamer committed Sep 19, 2014
1 parent 7c3c089 commit 403b56b
Showing 1 changed file with 13 additions and 24 deletions.
37 changes: 13 additions & 24 deletions examples/siamese/mnist_siamese.ipynb
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -12,7 +14,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Setup and import caffe"
"### Setup\n",
"\n",
"Import Caffe and the usual modules."
]
},
{
Expand All @@ -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."
]
},
{
Expand Down Expand Up @@ -91,7 +97,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Run the data through the net"
"### Generate the Siamese features"
]
},
{
Expand All @@ -114,7 +120,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Plot the results"
"### Visualize the learned Siamese embedding"
]
},
{
Expand Down Expand Up @@ -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": {}
}
]
}
}

0 comments on commit 403b56b

Please sign in to comment.