awslabs / gluonts

Probabilistic time series modeling in Python
https://ts.gluon.ai
Apache License 2.0
4.64k stars 755 forks source link

Unable to get several datasets #3229

Closed wwdda closed 3 weeks ago

wwdda commented 1 month ago

Description

Error:"ValueError: Cannot obtain default prediction length from frequency ME." occured when getting 'cif_2016' dataset. Error:"ValueError: Cannot obtain default prediction length from frequency min." occured when getting 'london_smart_meters_without_missing' dataset and 'wind_farms_minutely_dataset_without_missing_values' dataset.

To Reproduce

from gluonts.dataset.repository import get_dataset, dataset_names
print(f"Available datasets: {dataset_names}")
dataset = get_dataset("cif_2016") # or 'london_smart_meters_without_missing'```

Error message or code output

Screenshot 2024-10-23 at 10 08 17 PM

Environment

Could you please help update the prediction_length_map for 'ME' and 'min' in _tsf_datasets.py?

Thanks!

lostella commented 3 weeks ago

@wwdda being fixed in #3232, thanks for submitting the issue!