From ad1f5d63198915c1902694edfb65705a9646a2f0 Mon Sep 17 00:00:00 2001 From: adamhrv Date: Mon, 21 Jan 2019 11:04:02 +0100 Subject: add cpdp notebook --- .../face_analysis/face_recognition_vgg.ipynb | 63 ++-------------------- 1 file changed, 3 insertions(+), 60 deletions(-) (limited to 'megapixels/notebooks/face_analysis/face_recognition_vgg.ipynb') 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,46 +287,11 @@ "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": {}, @@ -356,26 +319,6 @@ "```" ] }, - { - "cell_type": "code", - "execution_count": 109, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "array(['93/nm0000093_rm2362088192_1963-12-18_2008.jpg'], dtype='