TobiTob commited on
Commit
59d0a04
1 Parent(s): 67508ed

Update CityLearn.py

Browse files
Files changed (1) hide show
  1. CityLearn.py +6 -37
CityLearn.py CHANGED
@@ -15,10 +15,9 @@ _LICENSE = "Apache-2.0"
15
  # This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
16
  _BASE_URL = "https://huggingface.co/datasets/TobiTob/CityLearn/resolve/main"
17
  _URLS = {
18
- "halfcheetah-expert-v2": f"{_BASE_URL}/halfcheetah-expert-v2.pkl",
19
- "halfcheetah-medium-replay-v2": f"{_BASE_URL}/halfcheetah-medium-replay-v2.pkl",
20
  "test": f"{_BASE_URL}/test.pkl",
21
  "sequences": f"{_BASE_URL}/sequences.pkl",
 
22
  }
23
 
24
 
@@ -41,47 +40,17 @@ class DecisionTransformerGymDataset(datasets.GeneratorBasedBuilder):
41
  # data = datasets.load_dataset('my_dataset', 'second_domain')
42
  BUILDER_CONFIGS = [
43
  datasets.BuilderConfig(
44
- name="halfcheetah-expert-v2",
45
  version=VERSION,
46
- description="Data sampled from an expert policy in the halfcheetah Mujoco environment",
47
  ),
48
  datasets.BuilderConfig(
49
- name="halfcheetah-medium-replay-v2",
50
  version=VERSION,
51
- description="Data sampled from an medium policy in the halfcheetah Mujoco environment",
52
  ),
53
  datasets.BuilderConfig(
54
- name="halfcheetah-medium-v2",
55
- version=VERSION,
56
- description="Data sampled from an medium policy in the halfcheetah Mujoco environment",
57
- ),
58
- datasets.BuilderConfig(
59
- name="hopper-expert-v2",
60
- version=VERSION,
61
- description="Data sampled from an expert policy in the hopper Mujoco environment",
62
- ),
63
- datasets.BuilderConfig(
64
- name="hopper-medium-replay-v2",
65
- version=VERSION,
66
- description="Data sampled from an medium policy in the hopper Mujoco environment",
67
- ),
68
- datasets.BuilderConfig(
69
- name="hopper-medium-v2",
70
- version=VERSION,
71
- description="Data sampled from an medium policy in the hopper Mujoco environment",
72
- ),
73
- datasets.BuilderConfig(
74
- name="walker2d-expert-v2",
75
- version=VERSION,
76
- description="Data sampled from an expert policy in the halfcheetah Mujoco environment",
77
- ),
78
- datasets.BuilderConfig(
79
- name="walker2d-medium-replay-v2",
80
- version=VERSION,
81
- description="Data sampled from an medium policy in the halfcheetah Mujoco environment",
82
- ),
83
- datasets.BuilderConfig(
84
- name="walker2d-medium-v2",
85
  version=VERSION,
86
  description="Data sampled from an medium policy in the halfcheetah Mujoco environment",
87
  ),
 
15
  # This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
16
  _BASE_URL = "https://huggingface.co/datasets/TobiTob/CityLearn/resolve/main"
17
  _URLS = {
 
 
18
  "test": f"{_BASE_URL}/test.pkl",
19
  "sequences": f"{_BASE_URL}/sequences.pkl",
20
+ "halfcheetah-medium-replay-v2": f"{_BASE_URL}/halfcheetah-medium-replay-v2.pkl",
21
  }
22
 
23
 
 
40
  # data = datasets.load_dataset('my_dataset', 'second_domain')
41
  BUILDER_CONFIGS = [
42
  datasets.BuilderConfig(
43
+ name="test",
44
  version=VERSION,
45
+ description="Test Data sampled from an expert policy in CityLearn environment",
46
  ),
47
  datasets.BuilderConfig(
48
+ name="sequences",
49
  version=VERSION,
50
+ description="Test Data sampled from an expert policy in CityLearn environment",
51
  ),
52
  datasets.BuilderConfig(
53
+ name="halfcheetah-medium-replay-v2",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  version=VERSION,
55
  description="Data sampled from an medium policy in the halfcheetah Mujoco environment",
56
  ),