|
51 | 51 | "cell_type": "code",
|
52 | 52 | "execution_count": null,
|
53 | 53 | "metadata": {
|
| 54 | + "collapsed": true, |
54 | 55 | "scrolled": false
|
55 | 56 | },
|
56 | 57 | "outputs": [],
|
|
105 | 106 | "cell_type": "code",
|
106 | 107 | "execution_count": null,
|
107 | 108 | "metadata": {
|
| 109 | + "collapsed": true, |
108 | 110 | "scrolled": false
|
109 | 111 | },
|
110 | 112 | "outputs": [],
|
|
116 | 118 | "estimator = TensorFlow(entry_point='resnet_cifar_10.py',\n",
|
117 | 119 | " source_dir=source_dir,\n",
|
118 | 120 | " role=role,\n",
|
119 |
| - " hyperparameters={'min_eval_frequency': 10},\n", |
| 121 | + " hyperparameters={'throttle_secs': 30},\n", |
120 | 122 | " training_steps=1000, evaluation_steps=100,\n",
|
121 | 123 | " train_instance_count=2, train_instance_type='ml.c4.xlarge', \n",
|
122 | 124 | " base_job_name='tensorboard-example')\n",
|
|
138 | 140 | "\n",
|
139 | 141 | "It takes a few minutes to provision containers and start the training job.**TensorBoard** will start to display metrics shortly after that.\n",
|
140 | 142 | "\n",
|
141 |
| - "You can access **TensorBoard** locally at [http://localhost:6006](http://localhost:6006) or using your SageMaker notebook instance [proxy/6006/](/proxy/6006/)(TensorBoard will not work if forget to put the slash, '/', in end of the url). If TensorBoard started on a different port, adjust these URLs to match.", |
142 |
| - "This example uses the optional hyperparameter **```min_eval_frequency```** to generate training evaluations more often, allowing to visualize **TensorBoard** scalar data faster. You can find the available optional hyperparameters [here](https://github.com/aws/sagemaker-python-sdk#optional-hyperparameters)**." |
| 143 | + "You can access **TensorBoard** locally at [http://localhost:6006](http://localhost:6006) or using your SageMaker notebook instance [proxy/6006/](/proxy/6006/)(TensorBoard will not work if forget to put the slash, '/', in end of the url). If TensorBoard started on a different port, adjust these URLs to match.This example uses the optional hyperparameter **```throttle_secs```** to generate training evaluations more often, allowing to visualize **TensorBoard** scalar data faster. You can find the available optional hyperparameters [here](https://github.com/aws/sagemaker-python-sdk#optional-hyperparameters)." |
143 | 144 | ]
|
144 | 145 | },
|
145 | 146 | {
|
|
185 | 186 | }
|
186 | 187 | ],
|
187 | 188 | "metadata": {
|
188 |
| - "notice": "Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the \"License\"). You may not use this file except in compliance with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ or in the \"license\" file accompanying this file. This file is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.", |
189 | 189 | "kernelspec": {
|
190 |
| - "display_name": "Environment (conda_tensorflow_p27)", |
| 190 | + "display_name": "conda_tensorflow_p27", |
191 | 191 | "language": "python",
|
192 | 192 | "name": "conda_tensorflow_p27"
|
193 | 193 | },
|
194 | 194 | "language_info": {
|
195 | 195 | "codemirror_mode": {
|
196 | 196 | "name": "ipython",
|
197 |
| - "version": 3 |
| 197 | + "version": 2 |
198 | 198 | },
|
199 | 199 | "file_extension": ".py",
|
200 | 200 | "mimetype": "text/x-python",
|
201 | 201 | "name": "python",
|
202 | 202 | "nbconvert_exporter": "python",
|
203 |
| - "pygments_lexer": "ipython3", |
204 |
| - "version": "2.7.13" |
205 |
| - } |
| 203 | + "pygments_lexer": "ipython2", |
| 204 | + "version": "2.7.11" |
| 205 | + }, |
| 206 | + "notice": "Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the \"License\"). You may not use this file except in compliance with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ or in the \"license\" file accompanying this file. This file is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License." |
206 | 207 | },
|
207 | 208 | "nbformat": 4,
|
208 | 209 | "nbformat_minor": 2
|
|
0 commit comments