inoryy/reaver

Tensorflow 2.X issue

pokaxpoka opened this issue · 1 comments

Hi,

Thank you very much for the nice open-source project! After installation, I have a tf.summary.FileWriter is not compatible with eager execution error when I try agent = rvr.agents.A2C(env.obs_spec(), env.act_spec(), rvr.models.build_fully_conv, rvr.models.SC2MultiPolicy, n_envs=4). I think this is because of tensorflow version issue. I wonder how did you handle this issue!

Thanks

I resolved this issue by disabling tf v2 behavior tf.disable_v2_behavior()!