跳到正文
cccskills
免费在 GitHub 公开

deepxde

Use DeepXDE for scientific machine learning, PINNs, DeepONet/operator learning, backend selection, training, and troubleshooting.

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

查看安装方法

包含的文件(26)

  • SKILL.md5.0 KB
  • references/backend-and-installation.md4.0 KB
  • references/repo-provenance.md2.2 KB
  • references/repo-routing-metadata.json419 B
  • references/troubleshooting.md4.4 KB
  • scripts/smoke_deepxde.py6.1 KB
  • sub-skills/backend-and-configuration/references/backend-selection.md4.1 KB
  • sub-skills/backend-and-configuration/references/configuration.md6.8 KB
  • sub-skills/backend-and-configuration/references/troubleshooting.md6.0 KB
  • sub-skills/backend-and-configuration/scripts/check_backend.py14.6 KB
  • sub-skills/backend-and-configuration/SKILL.md2.9 KB
  • sub-skills/operator-learning/references/api-reference.md6.9 KB
  • sub-skills/operator-learning/references/operator-workflows.md10.6 KB
  • sub-skills/operator-learning/references/troubleshooting.md6.3 KB
  • sub-skills/operator-learning/scripts/smoke_deeponet_aligned.py6.0 KB
  • sub-skills/operator-learning/SKILL.md2.6 KB
  • sub-skills/pinn-problem-setup/references/api-reference.md11.7 KB
  • sub-skills/pinn-problem-setup/references/pinn-workflows.md14.2 KB
  • sub-skills/pinn-problem-setup/references/troubleshooting.md9.0 KB
  • sub-skills/pinn-problem-setup/scripts/smoke_poisson_1d.py4.4 KB
  • sub-skills/pinn-problem-setup/SKILL.md2.9 KB
  • sub-skills/training-workflows/references/data-and-function-workflows.md7.5 KB
  • sub-skills/training-workflows/references/model-lifecycle.md11.3 KB
  • sub-skills/training-workflows/references/troubleshooting.md6.4 KB
  • sub-skills/training-workflows/scripts/smoke_function_approximation.py5.1 KB
  • sub-skills/training-workflows/SKILL.md2.8 KB

SKILL.md(原文)

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

DeepXDE repo skill

Use this skill when a task involves DeepXDE, physics-informed neural networks (PINNs), scientific machine learning for ODE/PDE/IDE/FPDE problems, DeepONet/operator learning, or DeepXDE backend/training troubleshooting.

This skill is self-contained for future use: it distills the package source, docs, examples, and verified PyTorch CPU inspection into bundled routes, references, and smoke scripts. It does not require the original repository checkout.

Verified baseline

  • Package/distribution: DeepXDE, import name deepxde.
  • Python: package metadata requires Python >=3.9.
  • Base package dependencies: matplotlib, numpy, scikit-learn, scikit-optimize>=0.10.2, and scipy.
  • Tensor backend requirement: install at least one DeepXDE backend package before use.
  • Runtime verified by this construction: PyTorch backend on CPU for import, simple PDE assembly, FNN, Model.compile, one-step Model.train, and Model.predict.
  • Optional/alternative paths that require target-environment verification: TensorFlow 1.x compatibility, TensorFlow 2.x + TensorFlow Probability, JAX + Flax + Optax, PaddlePaddle, GPU, Horovod/MPI, and long training examples.

Minimal installation and import check

For a CPU-safe DeepXDE setup, install DeepXDE plus PyTorch in an isolated Python environment, then select the backend before importing DeepXDE:

python -m pip install deepxde torch
DDE_BACKEND=pytorch python - <<'PY'
import deepxde as dde
print(dde.__version__)
print(dde.backend.backend_name)
PY

Use package-manager-appropriate PyTorch wheels for CPU, CUDA, ROCm, or MPS in the target environment. Do not treat a CPU import as proof of GPU or Horovod correctness.

Route by task

If the user asks to...Read
install DeepXDE, choose DDE_BACKEND, debug missing TensorFlow/JAX/Paddle/PyTorch packages, check GPU visibility, set dtype/autodiff/random seed/XLA/parallel scalingsub-skills/backend-and-configuration/SKILL.md
build a forward or inverse PINN for an ODE/PDE/IDE/FPDE, define geometry, BC/IC/point-set constraints, residuals, gradients, hard constraints, or adaptive pointssub-skills/pinn-problem-setup/SKILL.md
compile/train a dde.Model, choose optimizers, callbacks, metrics, save/restore, predict residuals/outputs, fit functions/tabular data, or use multifidelity datasub-skills/training-workflows/SKILL.md
build DeepONet, POD-DeepONet, MIONet, PI-DeepONet, Cartesian-product operator data, function spaces, ZCS, or troubleshoot branch/trunk/data-shape errorssub-skills/operator-learning/SKILL.md

Cross-cutting references and scripts

Run the root smoke before adapting a task when the environment is uncertain:

python scripts/smoke_deepxde.py --backend pytorch --train-steps 1
python scripts/smoke_deepxde.py --backend pytorch --json

Operating rules for future agents

  1. Set DDE_BACKEND before importing any DeepXDE module. Backend selection happens during import.
  2. Use backend-native tensor operations inside residuals and operators; use dde.grad.jacobian and dde.grad.hessian for derivatives.
  3. Keep problem definition separate from training: assemble geometry/icbc/data in the PINN or operator sub-skill, then use training-workflows for Model.compile, train, callbacks, and checkpoints.
  4. Do not assume every example supports every backend. Many examples document supported backends; this skill distills the common PyTorch CPU-safe path and marks other paths optional.
  5. Do not run long examples, notebooks, benchmarks, GPU/Horovod jobs, or data-download workflows as smoke tests unless the user explicitly requests that cost and the required backend/data are available.
  6. If the package commit, public APIs, backend dependencies, or example layout differ from repo provenance, refresh this skill before relying on stale guidance.

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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 的全部技能

报告此技能的问题