Skip to content

Commit 91ae9eb

Browse files
committed
Update batch generator input dimensions in user guide notebook for improved performance
1 parent f1d101c commit 91ae9eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/user-guide/training-a-neural-network-with-Pytorch-and-xbatcher.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@
8585
"source": [
8686
"# Define batch generators\n",
8787
"X_bgen = xb.BatchGenerator(\n",
88-
" ds['images'], input_dims={'sample': 2000, 'channel': 1, 'height': 28, 'width': 28}\n",
88+
" ds['images'], input_dims={'sample': 3000, 'channel': 1, 'height': 28, 'width': 28}\n",
8989
")\n",
90-
"y_bgen = xb.BatchGenerator(ds['labels'], input_dims={'sample': 2000})\n",
90+
"y_bgen = xb.BatchGenerator(ds['labels'], input_dims={'sample': 3000})\n",
9191
"X_bgen[0]"
9292
]
9393
},

0 commit comments

Comments
 (0)