跳到正文
cccskills
免费在 GitHub 公开

edge-connect

Route EdgeConnect requests for image inpainting setup, data preparation, training, checkpoint-backed testing, and evaluation.

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

实测评分 未实测

查看安装方法

包含的文件(29)

  • SKILL.md4.0 KB
  • references/installation.md2.8 KB
  • references/repo-provenance.md1.5 KB
  • references/repo-routing-metadata.json322 B
  • references/troubleshooting.md3.0 KB
  • scripts/check_env.py6.9 KB
  • sub-skills/data-preparation/references/configuration.md3.6 KB
  • sub-skills/data-preparation/references/data-formats.md3.9 KB
  • sub-skills/data-preparation/references/troubleshooting.md3.3 KB
  • sub-skills/data-preparation/scripts/build_flist.py2.9 KB
  • sub-skills/data-preparation/scripts/validate_config.py12.1 KB
  • sub-skills/data-preparation/SKILL.md3.5 KB
  • sub-skills/evaluation/references/evaluation-workflows.md2.8 KB
  • sub-skills/evaluation/references/metrics-reference.md2.2 KB
  • sub-skills/evaluation/references/troubleshooting.md2.5 KB
  • sub-skills/evaluation/scripts/check_eval_inputs.py7.5 KB
  • sub-skills/evaluation/scripts/compute_pixel_metrics.py6.5 KB
  • sub-skills/evaluation/SKILL.md2.2 KB
  • sub-skills/testing/references/checkpoint-layout.md5.5 KB
  • sub-skills/testing/references/testing-workflows.md7.9 KB
  • sub-skills/testing/references/troubleshooting.md7.0 KB
  • sub-skills/testing/scripts/build_test_command.py1.8 KB
  • sub-skills/testing/scripts/check_checkpoints.py7.0 KB
  • sub-skills/testing/SKILL.md3.0 KB
  • sub-skills/training/references/model-overview.md3.4 KB
  • sub-skills/training/references/training-workflows.md4.5 KB
  • sub-skills/training/references/troubleshooting.md3.1 KB
  • sub-skills/training/scripts/make_training_config.py9.5 KB
  • sub-skills/training/SKILL.md1.3 KB

SKILL.md(原文)

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

EdgeConnect

EdgeConnect is a generative image inpainting repository built around adversarial edge learning. The practical workflow is:

  1. prepare images, masks, edges, and file lists,
  2. choose a training stage and checkpoints,
  3. run checkpoint-backed test-time inference,
  4. score the generated outputs.

Use this skill whenever the request names EdgeConnect or refers to the repo's train.py, test.py, config.yml.example, EdgeModel_gen.pth, InpaintingModel_gen.pth, samples/, results/, flist files, masked images, edge maps, or PSNR/SSIM/MAE/FID evaluation on EdgeConnect outputs.

Read first

  • references/repo-provenance.md if you need to know whether this skill matches the current checkout.
  • references/installation.md for the legacy-compatible environment and the recommended smoke check.
  • references/troubleshooting.md for cross-cutting environment, YAML, and checkpoint issues.

Router map

  • sub-skills/data-preparation/ — image, mask, and edge layouts; flists; config path validation.
  • sub-skills/training/ — stage selection, checkpoint resume, losses, sampling, and internal validation.
  • sub-skills/testing/ — checkpoint-backed inference, command construction, and checkpoint layout checks.
  • sub-skills/evaluation/ — PSNR/SSIM/MAE/FID scoring and input validation after outputs exist.

How to choose

  • Pick data-preparation when the user is asking how to lay out images, masks, or edge maps, or how to build and validate file lists.
  • Pick training when the user wants to start, resume, or explain a training run, stage, loss, or checkpoint bundle.
  • Pick testing when the user wants to run test.py, validate checkpoint contents, or construct an inference command.
  • Pick evaluation when the user already has generated outputs and wants pixel metrics or FID input checks.

Environment notes

  • This repo is legacy. Use a compatibility set that keeps scipy.misc.imread, scipy.misc.imresize, and yaml.load(...) working.
  • A known-working baseline is Python 3.7 with CUDA-enabled Torch plus the legacy scientific stack listed in references/installation.md.
  • A modern PyYAML 6.x install breaks src.config.Config; use a compatible PyYAML version or patch the loader call.
  • Do not rely on train.py --help or test.py --help as side-effect-free smoke checks; use scripts/check_env.py instead.

Minimal smoke check

Run the bundled environment checker from a neutral working directory:

python scripts/check_env.py --repo-root <EdgeConnect checkout> --cuda

If you only need CPU importability, omit --cuda. The checker imports the repo modules, instantiates the example config, and performs an optional tiny CUDA allocation when requested.

Key terms

  • MODE selects train, test, or eval.
  • MODEL selects edge, inpaint, edge-inpaint, or joint behavior.
  • MASK=6 is the test-only one-to-one mask mode.
  • EDGE=2 means external edge maps are required.
  • The checkpoint directory is both the config home and the weight home.

Common launch patterns

  • Data prep: build flists, validate config paths, and confirm paired image/mask/edge ordering.
  • Training: generate config.yml, confirm the stage and GPU list, then launch the right model family.
  • Testing: validate the checkpoint directory first, then run stage-appropriate inference.
  • Evaluation: confirm prediction/ground-truth pairings before scoring.

When to read the subskill references

  • Read a subskill's references if you need exact command shape, config fields, data layout rules, or failure recovery steps.
  • Read references/installation.md before creating an environment or changing dependency versions.
  • Read references/troubleshooting.md when import or runtime behavior looks inconsistent with the expected legacy stack.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

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

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

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

3ddfa

免费

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

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

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

3ddfa-v2

免费

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

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

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

ab3dmot

免费

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

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

VectorSpaceLab/AREX-Skill3412026年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-Skill3412026年9月3日 更新

acme

免费

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

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

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

查看 VectorSpaceLab 的全部技能

报告此技能的问题