Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Jan 8, 2024
1 parent ea892cc commit da7933a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions torchrl/data/datasets/openml.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

import numpy as np
from tensordict.tensordict import TensorDict

from torchrl.data import ImmutableDatasetWriter
from torchrl.data.replay_buffers import (
LazyMemmapStorage,
Sampler,
Expand All @@ -17,6 +15,8 @@
Writer,
)

from torchrl.data.replay_buffers.writers import ImmutableDatasetWriter


class OpenMLExperienceReplay(TensorDictReplayBuffer):
"""An experience replay for OpenML data.
Expand Down
2 changes: 1 addition & 1 deletion torchrl/data/datasets/roboset.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from torchrl.data.replay_buffers.replay_buffers import TensorDictReplayBuffer
from torchrl.data.replay_buffers.samplers import Sampler
from torchrl.data.replay_buffers.storages import TensorStorage
from torchrl.data.replay_buffers.writers import Writer, ImmutableDatasetWriter
from torchrl.data.replay_buffers.writers import ImmutableDatasetWriter, Writer

_has_tqdm = importlib.util.find_spec("tqdm", None) is not None
_has_h5py = importlib.util.find_spec("h5py", None) is not None
Expand Down

0 comments on commit da7933a

Please sign in to comment.