技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-and-cli【数据与研究】Prepare Time-Series-Library data layouts, choose safe run.py flags, validate local files, and understand checkpoints, result folders, and smoke-test commands.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about getting a TSLib command to start correctly: local data files, run.py flags, dataset names, CPU/GPU flags, smoke checks, output locations, or confusing path/download behavior.
--task_name, --data, --root_path, --data_path, --features, --target, and --freq.custom CSV, ETT-style CSV, M4 folder, anomaly folder, or UEA .ts folder.checkpoints/, results/, test_results/, m4_results/, and result text file locations.--no_use_gpu, --gpu, --gpu_type, --use_multi_gpu, or CUDA_VISIBLE_DEVICES for a safe check.../forecasting/SKILL.md.../imputation-anomaly-classification/SKILL.md.../foundation-models-and-customization/SKILL.md.../../references/installation-and-environment.md and ../../references/troubleshooting.md.From this sub-skill directory, point helpers at the user's TSLib checkout:
python ../../scripts/check_tslib_environment.py --repo-root /path/to/Time-Series-Library --check-torch --check-core-imports
python ../../scripts/create_tiny_tslib_dataset.py --output /path/to/Time-Series-Library/dataset/tiny-custom/tiny.csv
python scripts/validate_tslib_data.py \
--task long_term_forecast --data custom \
--root-path /path/to/Time-Series-Library/dataset/tiny-custom \
--data-path tiny.csv --target OT
Then run a task smoke from the TSLib checkout with --no_use_gpu, --train_epochs 1, --num_workers 0, and small windows before scaling up.
--task_name to a loader-compatible --data value. For example, classification normally uses --data UEA, while anomaly detection uses one of PSM, MSL, SMAP, SMD, or SWAT.--root_path points to the directory and --data_path is the filename. If the file is absent, the loader may try a Hub dataset whose config name is derived from the filename.custom, include a date column and a numeric target column. --target defaults to OT.--model_id is the dataset name used to locate <DatasetName>_TRAIN.ts and <DatasetName>_TEST.ts.CUDA_VISIBLE_DEVICES and dataset folders before running.references/data-layouts.md details local files expected for CSV, M4, anomaly, and UEA loaders.references/cli-and-outputs.md explains required flags, GPU controls, setting strings, and output folders.references/troubleshooting.md maps common path, parser, download, and output problems to fixes.scripts/validate_tslib_data.py performs file/header/layout checks without training or downloading data.../../references/cli-arguments.md is the shared root CLI reference.../../references/data-formats.md is the shared cross-task data-format reference.--no_use_gpu unless GPU behavior is the point of the test.