跳到正文
cccskills
免费在 GitHub 公开

flow-forecast

Repository operating skill for using Flow Forecast's flood_forecast package for time-series forecasting, data preparation, training, inference, evaluation, and hydrology-oriented advanced models.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(30)

  • SKILL.md5.6 KB
  • references/model-overview.md9.7 KB
  • references/repo-provenance.md2.3 KB
  • references/repo-routing-metadata.json521 B
  • references/troubleshooting.md9.2 KB
  • scripts/check_flow_forecast_env.py8.9 KB
  • sub-skills/data-preparation/references/data-formats.md4.6 KB
  • sub-skills/data-preparation/references/loader-api.md4.7 KB
  • sub-skills/data-preparation/references/troubleshooting.md3.3 KB
  • sub-skills/data-preparation/references/workflows.md2.9 KB
  • sub-skills/data-preparation/scripts/validate_timeseries_csv.py7.9 KB
  • sub-skills/data-preparation/SKILL.md4.3 KB
  • sub-skills/inference/references/api-reference.md3.5 KB
  • sub-skills/inference/references/troubleshooting.md3.7 KB
  • sub-skills/inference/references/workflows.md3.1 KB
  • sub-skills/inference/scripts/check_inference_config.py11.4 KB
  • sub-skills/inference/SKILL.md3.7 KB
  • sub-skills/multimodal-physics/references/api-reference.md4.1 KB
  • sub-skills/multimodal-physics/references/troubleshooting.md2.9 KB
  • sub-skills/multimodal-physics/references/workflows.md2.4 KB
  • sub-skills/multimodal-physics/scripts/synthetic_catchment_smoke.py6.9 KB
  • sub-skills/multimodal-physics/SKILL.md3.8 KB
  • sub-skills/training/references/configuration.md4.7 KB
  • sub-skills/training/references/losses-and-optimizers.md2.1 KB
  • sub-skills/training/references/model-configs.md4.9 KB
  • sub-skills/training/references/troubleshooting.md4.7 KB
  • sub-skills/training/references/workflows.md2.6 KB
  • sub-skills/training/scripts/narx_smoke.py7.5 KB
  • sub-skills/training/scripts/validate_training_config.py11.6 KB
  • sub-skills/training/SKILL.md4.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Flow Forecast Repo Skill

Use this skill when a task involves the Flow Forecast / flood_forecast Python package: deep time-series forecasting, classification/anomaly detection loaders, PyTorch model training, saved-model inference, forecast evaluation, Plotly/SHAP explanations, catchment embeddings, Neural ODEs, or differentiable GR4 hydrology models.

This skill is self-contained. Do not depend on the original repository checkout for runtime instructions. If a current checkout differs from the provenance snapshot, refresh this skill before relying on API details.

Quick Orientation

  • Install from PyPI when a checkout is not being edited: python -m pip install flood-forecast.
  • Public package name in docs: flood-forecast.
  • Python import package and setup distribution: flood_forecast.
  • Core wrapper: flood_forecast.time_model.PyTorchForecast.
  • Config-driven trainer: python -m flood_forecast.trainer -p config.json.
  • Meta/autoencoder trainer: python -m flood_forecast.meta_train -p config.json.
  • Saved-model inference helper: flood_forecast.deployment.inference.InferenceMode.
  • Model names, losses, optimizers, scalers, and optional packages are summarized in references/model-overview.md.

Before using detailed workflows, run the bundled environment/import check when practical:

python scripts/check_flow_forecast_env.py --show-models

The check imports the package, reports PyTorch CPU/CUDA/MPS availability, and lists registry keys without reading any source checkout.

Route Map

User asks for...Read nextWhy
CSV schema checks, forecast_history/forecast_length, temporal features, interpolation, series-id, classification, variable-length, USGS/ASOS/GCS data caveatsdata-preparationOwns loaders and preprocessing that feed training and inference.
Build or validate a JSON training config, choose model/loss/optimizer/scaler names, run or resume PyTorchForecast, use DA-RNN/NARX training, or debug device/checkpoint behaviortrainingOwns config-driven training and evaluation setup.
Load saved weights/configs, forecast from a date, run classification inference, compute metrics, create confidence interval plots, TorchScript export, or SHAP explanationsinferenceOwns prediction/evaluation/deployment-facing APIs.
Use catchment embeddings, contrastive pretraining, CrossViViT, meta-data fusion, Neural ODEs, GR4 dynamics, HybridGR4, or hydrology-specific lossesmultimodal-physicsOwns advanced multimodal and physics/hybrid model surfaces.
Installation/import, dependency pins, optional services, backend selection, W&B/GCS credentials, or broad troubleshootingreferences/troubleshooting.mdCross-cutting failure modes shared by multiple workflows.

When a task spans routes, load them in data-flow order: data-preparation → training/model overview → inference; add multimodal-physics only for catchment/ODE/GR4 work.

Operating Rules

  1. Prefer CPU-safe examples unless the user explicitly asks for CUDA/MPS or the task is about device behavior. Flow Forecast can select CUDA/MPS through device: "auto", but accelerator evidence is optional for most package workflows.
  2. Treat GCS, USGS, ASOS, W&B, and large training loops as network/credential/long-running surfaces. Validate config and data locally first; only run remote calls after the user confirms credentials and side effects.
  3. Use the bundled validation scripts before launching expensive training or inference. They catch missing config keys, impossible loader windows, bad datetime columns, and non-existent local paths without starting model training.
  4. Use references/model-overview.md before claiming a model_name, criterion, optimizer, scaler, or decoder is available. The registry is string-key based and misspellings fail at runtime.
  5. For generated answers, cite bundled references or scripts from this skill rather than original repository docs/tests. Original repo tests were construction evidence, not runtime dependencies.

Shared References And Scripts

Non-goals

  • Do not use this as a release/deployment-maintenance guide for publishing the package.
  • Do not run full CI trainer matrices, remote data downloads, or W&B/GCS uploads without an explicit user request and budget.
  • Do not use source checkout paths in final user instructions. If a recipe needs a helper, use a bundled script from this skill.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题