Commit 8353afc1 authored by szymon's avatar szymon
Browse files

Graph path passed through CLI overrides deserialized path.

parent f3b8346d
......@@ -370,7 +370,11 @@ public:
observation_space = json["observation_space"].get<std::string>();
action_space = json["action_space"].get<std::string>();
n_envs = json["n_envs"].get<int>();
model_filename = json["model_filename"].get<std::string>();
if (model_filename.empty()) {
model_filename = json["model_filename"].get<std::string>();
} else {
std::cout << "filename passed through CLI overrides deserialized one" << std::endl;
}
reset();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment