summaryrefslogtreecommitdiff
path: root/megapixels/notebooks/face_analysis/face_recognition_vgg.ipynb
diff options
context:
space:
mode:
authoradamhrv <adam@ahprojects.com>2019-01-21 11:04:02 +0100
committeradamhrv <adam@ahprojects.com>2019-01-21 11:04:02 +0100
commitad1f5d63198915c1902694edfb65705a9646a2f0 (patch)
tree67a016ed0ace1f8af78aa6aaf06a40a3e93c6e86 /megapixels/notebooks/face_analysis/face_recognition_vgg.ipynb
parentdc56b3326d7776e626039eb144e29562e9fdf355 (diff)
add cpdp notebook
Diffstat (limited to 'megapixels/notebooks/face_analysis/face_recognition_vgg.ipynb')
-rw-r--r--megapixels/notebooks/face_analysis/face_recognition_vgg.ipynb63
1 files changed, 3 insertions, 60 deletions
diff --git a/megapixels/notebooks/face_analysis/face_recognition_vgg.ipynb b/megapixels/notebooks/face_analysis/face_recognition_vgg.ipynb
index 3609efa1..d62495ab 100644
--- a/megapixels/notebooks/face_analysis/face_recognition_vgg.ipynb
+++ b/megapixels/notebooks/face_analysis/face_recognition_vgg.ipynb
@@ -279,9 +279,7 @@
"execution_count": 47,
"metadata": {},
"outputs": [],
- "source": [
- "from scipy.io import loadmat"
- ]
+ "source": []
},
{
"cell_type": "code",
@@ -289,47 +287,12 @@
"metadata": {},
"outputs": [],
"source": [
- "metadata = loadmat('/data_store_hdd/datasets/people/imdb_wiki/imdb/imdb.mat')"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 49,
- "metadata": {},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "dict_keys(['__header__', '__version__', '__globals__', 'imdb'])\n"
- ]
- }
- ],
- "source": [
+ "from scipy.io import loadmat\n",
+ "metadata = loadmat('/data_store_hdd/datasets/people/imdb_wiki/imdb/imdb.mat')\n",
"print(metadata.keys())"
]
},
{
- "cell_type": "code",
- "execution_count": 57,
- "metadata": {},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "1\n"
- ]
- }
- ],
- "source": [
- "for k in metadata['imdb']:\n",
- " print(len(k))\n",
- " print\n",
- " break"
- ]
- },
- {
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -358,26 +321,6 @@
},
{
"cell_type": "code",
- "execution_count": 109,
- "metadata": {},
- "outputs": [
- {
- "data": {
- "text/plain": [
- "array(['93/nm0000093_rm2362088192_1963-12-18_2008.jpg'], dtype='<U45')"
- ]
- },
- "execution_count": 109,
- "metadata": {},
- "output_type": "execute_result"
- }
- ],
- "source": [
- "k[2][0][1968]"
- ]
- },
- {
- "cell_type": "code",
"execution_count": 107,
"metadata": {},
"outputs": [