Open Yuichi-Nakababayashi opened 3 years ago
I'm using this repository in my research project, I appreciate this project.
I have a question about a function 'collect_nwe_paths' in MdpPathCollector.
MdpPathCollector
I think the condition to break while loop (while num_steps_collected < num_steps:) is not
while num_steps_collected < num_steps:
if (path_len != max_path_length and not path["terminals"][-1] and discard_incomplete_paths):
but
if (path_len != max_path_length_this_loop and not path["terminals"][-1] and discard_incomplete_paths):
as this if condition is to tell if collected path should be discarded.
Glad if you could give me a reply.
I'm using this repository in my research project, I appreciate this project.
I have a question about a function 'collect_nwe_paths' in
MdpPathCollector
.I think the condition to break while loop (
while num_steps_collected < num_steps:
) is notbut
as this if condition is to tell if collected path should be discarded.
Glad if you could give me a reply.