Open rarilurelo opened 5 years ago
iterate_rnn in Traj class makes iterator of batches. A tail of the batches are zero padded for arranging length of episodes. For this reason we couldn't control number of steps in a batch.
iterate_rnn
This problem can be solved by incorporating random_batch_rnn to iterate_rnn.
random_batch_rnn
iterate_rnn
in Traj class makes iterator of batches. A tail of the batches are zero padded for arranging length of episodes. For this reason we couldn't control number of steps in a batch.