mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 20:19:29 +01:00
Fix china/flower order bug
This commit is contained in:
@@ -260,7 +260,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 13,
|
||||
"execution_count": 12,
|
||||
"metadata": {
|
||||
"collapsed": false
|
||||
},
|
||||
@@ -282,7 +282,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 14,
|
||||
"execution_count": 13,
|
||||
"metadata": {
|
||||
"collapsed": false
|
||||
},
|
||||
@@ -306,14 +306,12 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 15,
|
||||
"execution_count": 14,
|
||||
"metadata": {
|
||||
"collapsed": false
|
||||
},
|
||||
"outputs": [],
|
||||
"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",
|
||||
"\n",
|
||||
"filters = np.zeros(shape=(7, 7, channels, 2), dtype=np.float32)\n",
|
||||
|
||||
Reference in New Issue
Block a user