Skip to content
cccskills
FreePublished on GitHub

edge-connect

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

The English summary is being prepared. Showing the original description.

See how to install

Files included (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 (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

3ddfa

Free

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

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.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

acme

Free

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill