技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
dataset-loaders【数据与研究】Guides safe selection and use of PyTorch Geometric Temporal dataset loaders, including signatures, return signal types, cache and network side effects, and dataset-specific window parameters.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to choose or call a built-in loader from torch_geometric_temporal.dataset, understand what get_dataset returns, plan traffic/PDE/JSON data access, or inspect loader signatures without triggering downloads.
Do not instantiate a loader until you have decided whether network access and cache writes are acceptable. Many loaders fetch data in __init__, not in get_dataset.
*DatasetLoader classes exported by torch_geometric_temporal.dataset.get_dataset arguments, return signal types, and loader-specific lags/window/feature parameters.raw_data_dir for METR-LA, PeMS-Bay, PeMS, PeMS-All-LA, and WindmillLarge before construction.temporal_signal_split, slicing, and creating custom signals from arrays: use the temporal-signals sub-skill.get_index_dataset, dataloader return tuple unpacking, index=True, allGPU, world_size, ddp_rank, Dask-DDP, and sequence-to-sequence index batches: use the index-batching sub-skill.scripts/list_dataset_loaders.py to list exported loader classes and method signatures. This imports classes but never instantiates them.references/dataset-loader-reference.md to match the loader to StaticGraphTemporalSignal, DynamicGraphTemporalSignal, or index-only behavior.references/data-sources.md before constructing any loader. Treat constructor-time downloads as the default unless the reference says the loader is unavailable or can be fully pre-staged.lags, frames, num_timesteps_in, num_timesteps_out, target_var, feature_vars, event_id, N, and feature_mode up front; changing them after construction is usually safe, but construction may already have downloaded data.raw_data_dir, pre-stage the expected files or point to an expendable cache directory. Do not use a shared working directory when evaluating unknown prompts.get_dataset, inspect one snapshot's edge_index, edge_attr, x, and y, then hand off iterator mechanics or model loops to the appropriate sub-skill.ChickenpoxDatasetLoader, PedalMeDatasetLoader, WikiMathsDatasetLoader, MontevideoBusDatasetLoader, MTMDatasetLoader.EnglandCovidDatasetLoader, TwitterTennisDatasetLoader.METRLADatasetLoader or PemsBayDatasetLoader with get_dataset(num_timesteps_in=..., num_timesteps_out=...).PemsDatasetLoader and PemsAllLADatasetLoader do not provide ordinary get_dataset; plan index batching separately.AdvectionDiffusionDatasetLoader, SIDiffusionDatasetLoader, WaveEquationDatasetLoader download remote NumPy/PyTorch payloads at construction and return static graph temporal signals.WindmillOutputSmallDatasetLoader and WindmillOutputMediumDatasetLoader are exported but raise a runtime error in the inspected source because their original host is unavailable.references/dataset-loader-reference.md - class-by-class arguments, output types, side effects, and index support notes.references/data-sources.md - remote source families, cache/pre-stage expectations, and no-download alternatives.references/troubleshooting.md - failed downloads, missing optional packages, cache extraction, shape assumptions, and index-only loader errors.