diff --git a/muzero-cpp/muzero.cpp b/muzero-cpp/muzero.cpp index 338fecc..e5fccec 100644 --- a/muzero-cpp/muzero.cpp +++ b/muzero-cpp/muzero.cpp @@ -211,6 +211,7 @@ bool muzero(const MuZeroConfig& config, std::functionload(); } + if (config.resume) { reanalyze_buffer->load(); } learn(config, &device_manager, replay_buffer, reanalyze_buffer, &trajectory_queue, shared_stats, &stop); // Empty the queue so that the actors can exit. @@ -249,4 +250,4 @@ bool muzero(const MuZeroConfig& config, std::function