Fixing continuous build error on previous CL by adding notation to skip loading of the TensorBoard extension & following cells.
},
"outputs": [],
"source": [
+ "#@test {\"skip\": true}\n",
"%load_ext tensorboard"
]
},
},
"outputs": [],
"source": [
+ "#@test {\"skip\": true}\n",
"logdir = \"/tmp/logs/scalars/training/\"\n",
"summary_writer = tf.summary.create_file_writer(logdir)\n",
"state = iterative_process.initialize()"
},
"outputs": [],
"source": [
+ "#@test {\"skip\": true}\n",
"with summary_writer.as_default():\n",
" for round_num in range(1, NUM_ROUNDS):\n",
" state, metrics = iterative_process.next(state, federated_train_data)\n",
},
"outputs": [],
"source": [
+ "#@test {\"skip\": true}\n",
"%tensorboard --logdir /tmp/logs/scalars/ --port=0"
]
},
},
"outputs": [],
"source": [
+ "#@test {\"skip\": true}\n",
"# Run this this cell to clean your directory of old output for future graphs from this directory. \n",
"!rm -R /tmp/logs/scalars/*"
]
