Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Immutable writer for datasets #1781

Merged
merged 16 commits into from
Jan 9, 2024
Prev Previous commit
Next Next commit
amend
  • Loading branch information
vmoens committed Jan 9, 2024
commit 2cbc8a975cec515b4857791cf8833a868250c4c3
6 changes: 6 additions & 0 deletions torchrl/data/datasets/openx.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,12 @@ def dumps(self, path):
def loads(self, path):
...

def state_dict(self) -> Dict[str, Any]:
return {}

def load_state_dict(self, state_dict: Dict[str, Any]) -> None:
...


OPENX_KEY_MAP = {
"is_first": "is_init",
Expand Down
Loading