Skip to content

Commit

Permalink
Adds asyncio patch to MNIST tutorial.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 257660361
  • Loading branch information
krzys-ostrowski authored and tensorflower-gardener committed Jul 11, 2019
1 parent 197ce96 commit a13d07c
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,12 @@
"# NOTE: The high-performance executor components used in this tutorial are not\n",
"# yet included in the released pip package; you may need to compile from source.\n",
"!pip install --quiet tensorflow_federated\n",
"!pip install --quiet tf-nightly"
"!pip install --quiet tf-nightly\n",
"\n",
"# NOTE: Jupyter requires a patch to asyncio.\n",
"!pip install --upgrade nest_asyncio\n",
"import nest_asyncio\n",
"nest_asyncio.apply()"
]
},
{
Expand Down

0 comments on commit a13d07c

Please sign in to comment.