Skip to content

Instantly share code, notes, and snippets.

@davidADSP
Last active January 26, 2021 09:16
Show Gist options
  • Save davidADSP/95d78debdbb8309bb77f90799d18ea3d to your computer and use it in GitHub Desktop.
Save davidADSP/95d78debdbb8309bb77f90799d18ea3d to your computer and use it in GitHub Desktop.
def muzero(config: MuZeroConfig):
storage = SharedStorage()
replay_buffer = ReplayBuffer(config)
for _ in range(config.num_actors):
launch_job(run_selfplay, config, storage, replay_buffer)
train_network(config, storage, replay_buffer)
return storage.latest_network()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment