본문으로 건너뛰기
cccskills
무료GitHub에 공개

background-matting-v2

Routes BackgroundMattingV2 tasks for background matting inference, export, and training workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(26)

  • SKILL.md3.9 KB
  • references/api-reference.md3.1 KB
  • references/backend-compatibility.md1.8 KB
  • references/data-formats.md1.5 KB
  • references/repo-provenance.md1.4 KB
  • references/repo-routing-metadata.json343 B
  • references/troubleshooting.md3.3 KB
  • references/workflows.md2.4 KB
  • scripts/check_env.py3.3 KB
  • sub-skills/export-and-backends/references/troubleshooting.md2.0 KB
  • sub-skills/export-and-backends/references/workflows.md2.5 KB
  • sub-skills/export-and-backends/scripts/check_export_support.py4.9 KB
  • sub-skills/export-and-backends/scripts/run_export_onnx.py1.5 KB
  • sub-skills/export-and-backends/scripts/run_export_torchscript.py1.5 KB
  • sub-skills/export-and-backends/SKILL.md2.0 KB
  • sub-skills/inference-and-demo/references/troubleshooting.md1.9 KB
  • sub-skills/inference-and-demo/references/workflows.md3.7 KB
  • sub-skills/inference-and-demo/scripts/run_inference_images.py1.7 KB
  • sub-skills/inference-and-demo/scripts/run_inference_video.py1.7 KB
  • sub-skills/inference-and-demo/scripts/smoke_forward.py3.8 KB
  • sub-skills/inference-and-demo/SKILL.md2.1 KB
  • sub-skills/training/references/troubleshooting.md2.0 KB
  • sub-skills/training/references/workflows.md2.4 KB
  • sub-skills/training/scripts/check_data_layout.py5.7 KB
  • sub-skills/training/scripts/run_training.py1.6 KB
  • sub-skills/training/SKILL.md1.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

BackgroundMattingV2

BackgroundMattingV2 is a computer-vision repo for high-resolution background matting with a source-image / background-image pair. Use this root skill as a router, not as a full manual.

Start here

  • Read references/repo-provenance.md when you need to check whether this skill still matches the repository checkout.
  • Run scripts/check_env.py first when you only need a quick import and tiny forward smoke.
  • Read references/workflows.md for the high-level route map and the decision points between inference, export, and training.
  • Read references/api-reference.md for verified model and dataset signatures.
  • Read references/data-formats.md before touching data_path.py or paired foreground/alpha/background directories.
  • Read references/backend-compatibility.md before choosing PyTorch, TorchScript, or ONNX paths.
  • Read references/troubleshooting.md for cross-cutting install, import, and backend issues.

Install and inspect

This repo is source-tree based rather than a packaged wheel. For inspection, create an isolated Python environment, install the runtime stack used by the repo workflows, and then import the source modules from a checkout of this repo. The verified inspection stack used for this skill was Python 3.11 with:

  • torch + matching torchvision
  • kornia
  • opencv-python
  • onnx
  • onnxruntime
  • tensorboard
  • tqdm

A quick smoke is:

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

Use --device cpu when you only need importability and tiny forward coverage. Add onnx when you want the ONNX smoke helper to validate export support.

Route map

Inference and demo

Use sub-skills/inference-and-demo/ when the task is about:

  • inference_images.py
  • inference_video.py
  • inference_webcam.py
  • inference_speed_test.py
  • choosing model type, backbone, refine mode, device, or output types
  • understanding source/background pairing and alignment behavior

Read sub-skills/inference-and-demo/SKILL.md for the trigger terms and linked workflow helpers.

Export and backend compatibility

Use sub-skills/export-and-backends/ when the task is about:

  • export_torchscript.py
  • export_onnx.py
  • TorchScript attribute hoisting
  • ONNX patch crop/replace compatibility choices
  • validating export/runtime combinations

Read sub-skills/export-and-backends/SKILL.md when you need conversion steps or backend troubleshooting.

Training and data setup

Use sub-skills/training/ when the task is about:

  • train_base.py
  • train_refine.py
  • data_path.py
  • paired foreground/alpha/background directory layout
  • training checkpoints, logs, and benchmark evaluation
  • CUDA/DDP assumptions and dataset-name selection

Read sub-skills/training/SKILL.md before configuring data paths or starting a training run.

Public surface summary

The public source-root modules you are expected to know are model, dataset, inference_utils, and data_path. The primary classes are MattingBase and MattingRefine. The main inference CLIs work with source/background image or video pairs and can optionally apply homographic alignment.

What not to do

  • Do not send future agents back to the original repo docs or scripts when a bundled reference or script exists here.
  • Do not assume training or webcam workflows are safe to run without the right hardware, data, and display devices.
  • Do not treat CPU importability as proof of CUDA readiness.

Local entry points

  • scripts/check_env.py
  • sub-skills/inference-and-demo/scripts/smoke_forward.py
  • sub-skills/export-and-backends/scripts/check_export_support.py
  • sub-skills/training/scripts/check_data_layout.py

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 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의 스킬 모두 보기

이 스킬의 문제 신고