Skip to content

Commit 0a2ea52

Browse files
author
Yuval Fernbach
committed
Updated
1 parent b250421 commit 0a2ea52

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

1_Monitoring_your_TensorFlow_scripts.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,9 @@
261261
"\n",
262262
"**You can get your TensorBoard command from the next cell.**\n",
263263
"\n",
264-
"You'll need and AccessKey + SecretKey with access to model_dir for this Event, get those from https://dashboard.eventengine.run/dashboard"
264+
"You'll need and AccessKey + SecretKey with access to model_dir for this Event, get those from https://dashboard.eventengine.run/dashboard. \n",
265+
"\n",
266+
"AWS Console -> copy the Credentials / CLI Snippets and run in your Terminal / CMD."
265267
]
266268
},
267269
{

2_Using_Pipemode_input_for_big_datasets.ipynb

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,15 @@
6767
"dataset = PipeModeDataset(channel=channel_name, record_format='TFRecord')\n",
6868
"```\n",
6969
"\n",
70+
"The new _input function should look as following:\n",
71+
"```python\n",
72+
"def _input(epochs, batch_size, channel, channel_name):\n",
73+
" dataset = PipeModeDataset(channel=channel_name, record_format='TFRecord')\n",
74+
"\n",
75+
" dataset = dataset.repeat(epochs)\n",
76+
" dataset = dataset.prefetch(10)\n",
77+
" ...\n",
78+
"```\n",
7079
"For info see the SageMaker-python-sdk [documentation](https://sagemaker.readthedocs.io/en/stable/using_tf.html#training-with-pipe-mode-using-pipemodedataset)"
7180
]
7281
},
@@ -232,8 +241,17 @@
232241
"nbconvert_exporter": "python",
233242
"pygments_lexer": "ipython3",
234243
"version": "3.6.5"
244+
},
245+
"pycharm": {
246+
"stem_cell": {
247+
"cell_type": "raw",
248+
"source": [],
249+
"metadata": {
250+
"collapsed": false
251+
}
252+
}
235253
}
236254
},
237255
"nbformat": 4,
238256
"nbformat_minor": 4
239-
}
257+
}

0 commit comments

Comments
 (0)