baselines
baselines copied to clipboard
Module 'tensorflow' has no attribute 'set_random_seed' error when running baselines
When I tried to run the PPO2 baseline, I encountered this error:
Module 'tensorflow' has no attribute 'set_random_seed'
As I dig deeper I realized that in the TF2 this function has been changed to tf.random.set_seed(seed)
. However, this change has not been projected to OpenAI GYM baselines. So, I opened this issue to inform you of this incompatibility.
Did you cloned the 'tf2' branch to run this PPO2 agent (https://github.com/openai/baselines/tree/tf2/baselines/ppo2)?