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

Load Multivariate informer #532

Open
Libardo1 opened this issue Nov 22, 2024 · 0 comments
Open

Load Multivariate informer #532

Libardo1 opened this issue Nov 22, 2024 · 0 comments

Comments

@Libardo1
Copy link

Libardo1 commented Nov 22, 2024

The dataset load is not working.
`from datasets import load_dataset

dataset = load_dataset("monash_tsf", "traffic_hourly")
Generating train split:   0%
 0/862 [00:06<?, ? examples/s]
/root/.cache/huggingface/modules/datasets_modules/datasets/monash_tsf/fc869f3ae1577c9def2a919ab1dd0c3d4a7a44826b8e0e8fa423bb0161b629e2/monash_tsf.py:484: FutureWarning: 'H' is deprecated and will be removed in a future version, please use 'h' instead.
freq = to_offset(freq).name

KeyError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/datasets/builder.py in _prepare_split_single(self, gen_kwargs, fpath, file_format, max_shard_size, split_info, check_duplicate_keys, job_id)
1606 _time = time.time()
-> 1607 for key, record in generator:
1608 if max_shard_size is not None and writer._num_bytes > max_shard_size:

7 frames
KeyError: 'h'

The above exception was the direct cause of the following exception:

DatasetGenerationError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/datasets/builder.py in _prepare_split_single(self, gen_kwargs, fpath, file_format, max_shard_size, split_info, check_duplicate_keys, job_id)
1641 if isinstance(e, SchemaInferenceError) and e.context is not None:
1642 e = e.context
-> 1643 raise DatasetGenerationError("An error occurred while generating the dataset") from e
1644
1645 yield job_id, True, (total_num_examples, total_num_bytes, writer._features, num_shards, shard_lengths)

DatasetGenerationError: An error occurred while generating the dataset`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant