Soft-Actor-Critic-and-Extensions icon indicating copy to clipboard operation
Soft-Actor-Critic-and-Extensions copied to clipboard

Use of sum trees

Open yk287 opened this issue 4 years ago • 0 comments

Hello, in the original PER paper I believe sum tree was used to speed up sampling, and I believe ERE also mentions using it in their PER implementation and PER + ERE implementation as well. It seems that your code uses simple np.random.choice to sample instead.

Have you tried implementing the tree data structure to see if that speeds up the code at all?

Thanks!

yk287 avatar Jan 07 '21 04:01 yk287