Fix china/flower order bug

main
Aurélien Geron 2016-09-28 12:37:31 +02:00
parent 049df7240a
commit 08ab23ae2e
1 changed files with 3 additions and 5 deletions

View File

@ -260,7 +260,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 13, "execution_count": 12,
"metadata": { "metadata": {
"collapsed": false "collapsed": false
}, },
@ -282,7 +282,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 14, "execution_count": 13,
"metadata": { "metadata": {
"collapsed": false "collapsed": false
}, },
@ -306,14 +306,12 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 15, "execution_count": 14,
"metadata": { "metadata": {
"collapsed": false "collapsed": false
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"from sklearn.datasets import load_sample_images\n",
"dataset = np.array(load_sample_images().images, dtype=np.float32)\n",
"batch_size, height, width, channels = dataset.shape\n", "batch_size, height, width, channels = dataset.shape\n",
"\n", "\n",
"filters = np.zeros(shape=(7, 7, channels, 2), dtype=np.float32)\n", "filters = np.zeros(shape=(7, 7, channels, 2), dtype=np.float32)\n",