Skip to content

Commit

Permalink
Merge pull request fastai#81 from Kagan777/statefarm-update
Browse files Browse the repository at this point in the history
batches shuffle must be set to False when pre-computing features
  • Loading branch information
jph00 authored May 12, 2017
2 parents 2913c7c + b4b5dbe commit a5c3183
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions deeplearning1/nbs/statefarm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,18 @@
"conv_model = Sequential(conv_layers)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# batches shuffle must be set to False when pre-computing features\n",
"batches = get_batches(path+'train', batch_size=batch_size, shuffle=False)"
]
},
{
"cell_type": "code",
"execution_count": 16,
Expand Down Expand Up @@ -2408,7 +2420,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.12"
"version": "2.7.13"
},
"nav_menu": {},
"nbpresent": {
Expand Down Expand Up @@ -2466,10 +2478,6 @@
"toc_cell": false,
"toc_section_display": "block",
"toc_window_display": false
},
"widgets": {
"state": {},
"version": "1.1.2"
}
},
"nbformat": 4,
Expand Down

0 comments on commit a5c3183

Please sign in to comment.