Skip to content

Commit f4ae0cc

Browse files
authored
Update tensorflow_resnet_cifar10_with_tensorboard.ipynb
1 parent b81fe4b commit f4ae0cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sagemaker-python-sdk/tensorflow_resnet_cifar10_with_tensorboard/tensorflow_resnet_cifar10_with_tensorboard.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
"estimator = TensorFlow(entry_point='resnet_cifar_10.py',\n",
117117
" source_dir=source_dir,\n",
118118
" role=role,\n",
119+
" hyperparameters={'min_eval_frequency': 10},\n",
119120
" training_steps=1000, evaluation_steps=100,\n",
120121
" train_instance_count=2, train_instance_type='ml.c4.xlarge', \n",
121122
" base_job_name='tensorboard-example')\n",
@@ -137,7 +138,8 @@
137138
"\n",
138139
"It takes a few minutes to provision containers and start the training job.**TensorBoard** will start to display metrics shortly after that.\n",
139140
"\n",
140-
"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."
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)**."
141143
]
142144
},
143145
{

0 commit comments

Comments
 (0)