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

detectron2

Use Detectron2 for object detection, segmentation, configuration, datasets, training, inference, export, and extension workflows.

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

설치 방법 보기

포함된 파일(41)

  • SKILL.md6.0 KB
  • references/repo-provenance.md1.8 KB
  • references/repo-routing-metadata.json501 B
  • references/troubleshooting.md5.3 KB
  • scripts/check_detectron2_env.py6.8 KB
  • sub-skills/configuration-model-zoo/references/configuration.md5.4 KB
  • sub-skills/configuration-model-zoo/references/model-zoo.md4.8 KB
  • sub-skills/configuration-model-zoo/references/troubleshooting.md5.6 KB
  • sub-skills/configuration-model-zoo/scripts/inspect_config.py6.7 KB
  • sub-skills/configuration-model-zoo/SKILL.md2.7 KB
  • sub-skills/data-datasets/references/data-loading.md7.5 KB
  • sub-skills/data-datasets/references/dataset-format.md8.1 KB
  • sub-skills/data-datasets/references/troubleshooting.md6.9 KB
  • sub-skills/data-datasets/scripts/validate_dataset_dicts.py22.1 KB
  • sub-skills/data-datasets/scripts/validate_dataset_registration.py9.8 KB
  • sub-skills/data-datasets/SKILL.md2.6 KB
  • sub-skills/deployment-export/references/analysis-and-benchmarking.md4.6 KB
  • sub-skills/deployment-export/references/export-workflows.md7.0 KB
  • sub-skills/deployment-export/references/model-conversion.md4.3 KB
  • sub-skills/deployment-export/references/troubleshooting.md4.9 KB
  • sub-skills/deployment-export/scripts/analyze_command_builder.py5.3 KB
  • sub-skills/deployment-export/scripts/export_command_builder.py6.6 KB
  • sub-skills/deployment-export/SKILL.md2.9 KB
  • sub-skills/extension-projects/references/extension-patterns.md5.9 KB
  • sub-skills/extension-projects/references/model-components.md5.7 KB
  • sub-skills/extension-projects/references/projects-overview.md5.0 KB
  • sub-skills/extension-projects/references/troubleshooting.md5.7 KB
  • sub-skills/extension-projects/scripts/registry_smoke_check.py3.7 KB
  • sub-skills/extension-projects/SKILL.md3.1 KB
  • sub-skills/inference-visualization/references/inference-workflows.md6.1 KB
  • sub-skills/inference-visualization/references/structures-and-outputs.md6.6 KB
  • sub-skills/inference-visualization/references/troubleshooting.md5.7 KB
  • sub-skills/inference-visualization/scripts/demo_command_builder.py5.8 KB
  • sub-skills/inference-visualization/scripts/visualize_json_schema_check.py10.1 KB
  • sub-skills/inference-visualization/SKILL.md3.0 KB
  • sub-skills/training-evaluation/references/evaluation-checkpointing.md5.3 KB
  • sub-skills/training-evaluation/references/training-workflows.md9.1 KB
  • sub-skills/training-evaluation/references/troubleshooting.md6.2 KB
  • sub-skills/training-evaluation/scripts/evaluation_plan.py4.9 KB
  • sub-skills/training-evaluation/scripts/train_command_builder.py4.9 KB
  • sub-skills/training-evaluation/SKILL.md2.8 KB

SKILL.md(원문)

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

Detectron2 Repo Skill

Use this repo skill when a task mentions Detectron2, Detectron, object detection, instance/keypoint/panoptic/semantic segmentation, Detectron2 model zoo configs, DefaultPredictor, DefaultTrainer, DatasetCatalog, Detectron2 export, or custom Detectron2 model components.

Start Here

Installation Baseline

Detectron2 is a PyTorch-based library with native C++/CUDA extensions. Public installs should start from a compatible PyTorch and torchvision pair, then install Detectron2 from a release wheel or source build appropriate for the platform.

python -m pip install torch torchvision
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
python - <<'PY'
import detectron2
print(detectron2.__version__)
PY

For source builds, ensure torch is importable before running Detectron2 setup. If editable source installation fails because build isolation cannot import torch, retry with a package/build process that disables build isolation after installing torch. OpenCV is optional for core APIs but needed for demo-style image/video visualization workflows.

Route By Task

  • Configs and model zoo: Use sub-skills/configuration-model-zoo/SKILL.md for Yacs YAML configs, LazyConfig Python configs, _BASE_, overrides, LazyCall, instantiate, model-zoo config paths, and checkpoint URLs.
  • Data and datasets: Use sub-skills/data-datasets/SKILL.md for DatasetCatalog, MetadataCatalog, COCO helpers, standard dataset dicts, metadata keys, mappers, augmentations, and train/test data loaders.
  • Training and evaluation: Use sub-skills/training-evaluation/SKILL.md for project-local train/eval driver commands, DefaultTrainer, hooks, launch, checkpointing, evaluators, inference_on_dataset, and solver/LR/batch-size adjustments.
  • Inference and visualization: Use sub-skills/inference-visualization/SKILL.md for DefaultPredictor, direct model inference, Instances, Boxes, masks, model input/output formats, Visualizer, confidence thresholds, CPU overrides, and prediction JSON sanity checks.
  • Deployment and export: Use sub-skills/deployment-export/SKILL.md for TorchScript tracing/scripting, optional Caffe2/ONNX planning, TracingAdapter, scripting_with_instances, model analysis, benchmarking, and safe export command construction.
  • Extensions and projects: Use sub-skills/extension-projects/SKILL.md for registries, custom backbones/ROI heads/meta-architectures, @configurable, custom trainers, and bundled or optional research projects such as PointRend, DeepLab, Panoptic-DeepLab, DensePose, TensorMask, ViTDet, and MViTv2.

Common Decisions

  • Yacs vs LazyConfig: YAML configs use get_cfg(), merge_from_file(), and alternating KEY VALUE overrides. Python configs use LazyConfig.load() and key=value overrides.
  • Weights vs config: Config inspection should not build a model or download weights. Use model-zoo URL helpers for checkpoint URLs, and load weights only when inference/evaluation/export is intentional.
  • Dataset first: Custom training/evaluation needs dataset registration and metadata before cfg.DATASETS.TRAIN/TEST or evaluator logic can work.
  • CPU-only work: Set MODEL.DEVICE cpu for Yacs configs or the matching LazyConfig model device field before constructing predictors/models.
  • Long-running work: Ask before launching training, full evaluation, benchmarks, export runs that load large weights, multi-GPU/multi-machine jobs, or commands that download model/data artifacts.

Bundled Helpers

Source Caveats Captured

  • The source checkout used for this skill had package version 0.6 and a clean git state at the recorded commit in provenance.
  • The source demo CLI was treated as evidence rather than a runtime dependency because its demo.py imports a non-package path in this checkout; use the inference sub-skill helpers and API patterns instead.
  • Caffe2 was not available in the inspection environment, so Caffe2 export guidance is optional and gated behind dependency checks.

리뷰

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

댓글

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

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

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. 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의 스킬 모두 보기

이 스킬의 문제 신고