moabitcoin / cherry-pytorch

Reinforcement Learning Tutorials & other bedtime stories in PyTorch
MIT License
11 stars 1 forks source link

Using PyTorch Dataset to wrap around the memory buffer #4

Closed sandhawalia closed 4 years ago

sandhawalia commented 4 years ago

Use PyTorch dataloader class to read from buffer/replay than running sequential over the batch

sandhawalia commented 4 years ago

Not required since the buffer is in RAM and access is not a bottleneck.