Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion muzero-cpp/muzero.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ bool muzero(const MuZeroConfig& config, std::function<std::unique_ptr<AbstractGa
// Start to learn
std::cout << "Starting learning." << std::endl;
if (config.resume) { replay_buffer->load(); }
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.
Expand Down Expand Up @@ -249,4 +250,4 @@ bool muzero(const MuZeroConfig& config, std::function<std::unique_ptr<AbstractGa
return true;
}

} // namespace muzero_cpp
} // namespace muzero_cpp