本文へ移動
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(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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

日本語の概要は準備中です。原文の説明を表示しています。

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

3ddfa

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

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

3ddfa-v2

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

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

ab3dmot

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

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

acme

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

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

VectorSpaceLab のスキルをすべて見る

このスキルの問題を報告する