Open woshiqchi opened 3 years ago
The demo code is:
import reaver as rvr
env = rvr.envs.SC2Env(map_name='MoveToBeacon') agent = rvr.agents.A2C(env.obs_spec(), env.act_spec(), rvr.models.build_fully_conv, rvr.models.SC2MultiPolicy, n_envs=4) agent.run(env)
It's probably an incompatibility with the newer TensorFlow versions, try pinning it to 2.1.x.
When I run the demo code shown on the readme page, there is a error occured as below. RuntimeError: v1.summary.FileWriter is not compatible with eager execution. Use
tf.summary.create_file_writer
,or awith v1.Graph().as_default():
context