RuntimeError: 別のループの実行中にイベント ループを実行できません
ローカルで tensorflow_federated をセットアップしようとしています。すべてのインポート バージョンは正しいです。
CUDA = 10.1、
パイソン= 3.6.9、
テンソルフロー = 2.2.0、
tf_federated = 最新
このエラーは google Colab では発生していません。しかし、フェデレーション計算を実行しようとすると、ローカル マシンで発生します。ランタイム エラーが発生します: RuntimeError: Cannot run the event loop while another loop is running
RuntimeError                              Traceback (most recent call last)
<ipython-input-5-9c097e9baec9> in <module>
----> 1 tff.federated_computation(lambda: 'hi')()
~\AppData\Local\Continuum\anaconda3\envs\tflocal\lib\asyncio\base_events.py in run_forever(self)
    426         if events._get_running_loop() is not None:
    427             raise RuntimeError(
--> 428                 'Cannot run the event loop while another loop is running')
    429         self._set_coroutine_wrapper(self._debug)
    430         self._thread_id = threading.get_ident()
RuntimeError: Cannot run the event loop while another loop is running