declearn.dataset.load_dataset_from_json
Instantiate a dataset based on a JSON dump file.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path |
str
|
Path to a JSON file output by the |
required |
Returns:
Name | Type | Description |
---|---|---|
dataset |
Dataset
|
Dataset (subclass) instance, reloaded from JSON. |
Source code in declearn/dataset/_base.py
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
|