Last active
January 26, 2021 09:16
-
-
Save davidADSP/95d78debdbb8309bb77f90799d18ea3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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