torch-ac icon indicating copy to clipboard operation
torch-ac copied to clipboard

Small bug in ppo.py, in _get_batches_starting_indexes function

Open mansur007 opened this issue 4 years ago • 0 comments

Hi, when self.recurrence is 1, indexes = indexes[(indexes + self.recurrence) % self.num_frames_per_proc != 0] removes the self.num_frames_per_proc-1 from indexes. I think it is a bug. Can you check? Thank you

mansur007 avatar Sep 17 '21 04:09 mansur007