christianhidber / easyagents

Reinforcement Learning for Practitioners.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: module 'tensorflow_probability.python.distributions' has no attribute 'SeedStream'

christianhidber opened this issue · comments

Due to an update in tensorflow_probability tfagents fails.

Quickfix:
instead of
if 'google.colab' in sys.modules:
!pip install easyagents >/dev/null

do
if 'google.colab' in sys.modules:
!pip install easyagents >/dev/null
!pip install -q --ignore-installed tensorflow-probability==0.7.0 2>/dev/null

=> restart the notebook using menu Runtime/Restart runtime.

All jupyter notebooks or the dependencies need to be updated

solved with migration to tensorflow 2.0