跳到正文
cccskills
免费在 GitHub 公开

fcos

Routes FCOS object-detection repo tasks for inference demos, config/data setup, training/evaluation, ONNX export, and legacy PyTorch internals.

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

查看安装方法

包含的文件(38)

  • SKILL.md4.7 KB
  • references/repo-provenance.md1.9 KB
  • references/repo-routing-metadata.json409 B
  • references/troubleshooting.md3.0 KB
  • scripts/check_fcos_environment.py3.4 KB
  • sub-skills/data-configs/references/configuration.md1.7 KB
  • sub-skills/data-configs/references/data-formats.md1.5 KB
  • sub-skills/data-configs/references/model-catalog.md1.3 KB
  • sub-skills/data-configs/references/troubleshooting.md1.3 KB
  • sub-skills/data-configs/scripts/validate_dataset_layout.py1.6 KB
  • sub-skills/data-configs/scripts/validate_fcos_config.py2.1 KB
  • sub-skills/data-configs/SKILL.md1.9 KB
  • sub-skills/inference-demo/references/api-reference.md2.5 KB
  • sub-skills/inference-demo/references/model-overview.md1.5 KB
  • sub-skills/inference-demo/references/troubleshooting.md1.5 KB
  • sub-skills/inference-demo/references/workflows.md2.0 KB
  • sub-skills/inference-demo/scripts/fcos_cli_safe_wrapper.py2.8 KB
  • sub-skills/inference-demo/scripts/prepare_image_for_fcos.py2.0 KB
  • sub-skills/inference-demo/SKILL.md2.6 KB
  • sub-skills/internals-maintenance/references/api-reference.md1.7 KB
  • sub-skills/internals-maintenance/references/architecture.md1.5 KB
  • sub-skills/internals-maintenance/references/testing-reference.md1.1 KB
  • sub-skills/internals-maintenance/references/troubleshooting.md1.3 KB
  • sub-skills/internals-maintenance/scripts/inspect_fcos_components.py2.2 KB
  • sub-skills/internals-maintenance/SKILL.md1.8 KB
  • sub-skills/onnx-export/references/output-contract.md1.0 KB
  • sub-skills/onnx-export/references/troubleshooting.md1.0 KB
  • sub-skills/onnx-export/references/workflows.md1.3 KB
  • sub-skills/onnx-export/scripts/build_onnx_export_command.py1.2 KB
  • sub-skills/onnx-export/SKILL.md1.6 KB
  • sub-skills/training-evaluation/references/checkpoints.md1.1 KB
  • sub-skills/training-evaluation/references/cli-reference.md2.1 KB
  • sub-skills/training-evaluation/references/troubleshooting.md1.4 KB
  • sub-skills/training-evaluation/references/workflows.md1.7 KB
  • sub-skills/training-evaluation/scripts/build_eval_command.py1.5 KB
  • sub-skills/training-evaluation/scripts/build_train_command.py1.4 KB
  • sub-skills/training-evaluation/scripts/remove_solver_states.py1.5 KB
  • sub-skills/training-evaluation/SKILL.md2.1 KB

SKILL.md(原文)

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

FCOS Repo Skill

Use this skill when a task is about FCOS: Fully Convolutional One-Stage Object Detection, the legacy PyTorch/maskrcnn-benchmark implementation for anchor-free object detection. It covers using the public fcos package/API, selecting and validating configs, preparing dataset layouts, building training/evaluation commands, exporting ONNX models, and maintaining FCOS internals.

First Checks

  1. Confirm the user is asking about FCOS-style object detection, FCOS configs, fcos / fcos_core, maskrcnn-benchmark-derived training scripts, or errors such as missing fcos_core._C.
  2. Check the runtime with scripts/check_fcos_environment.py when import, CUDA, extension, or config availability matters.
  3. Read references/repo-provenance.md before deciding whether this skill matches a current checkout or should be refreshed.
  4. For cross-cutting install/import/build failures, read references/troubleshooting.md before changing code or dependencies.

Public Package Baseline

FCOS is a legacy source-install package named fcos with import roots fcos and fcos_core. A practical installation usually needs:

pip install torch torchvision ninja yacs cython matplotlib tqdm opencv-python scikit-image
pip install git+https://github.com/tianzhi0549/FCOS.git
python - <<'PY'
from fcos_core.config import cfg
print(cfg.MODEL.FCOS_ON)
PY

For real model inference/training, a compiled fcos_core._C extension and a PyTorch/CUDA combination compatible with this older maskrcnn-benchmark code are required. Modern PyTorch releases can need compatibility patches; do not promise that a CPU import proves real detector inference.

Route Map

  • Image inference, demos, and public FCOS API → sub-skills/inference-demo/SKILL.md. Use this for installed fcos CLI usage, FCOS.detect, model-name choices, image preprocessing, CPU/GPU selection, output boxes, visualization, and demo troubleshooting.
  • Training, evaluation, distributed launch, checkpoints → sub-skills/training-evaluation/SKILL.md. Use this for --config-file, MODEL.WEIGHT, OUTPUT_DIR, TEST.IMS_PER_BATCH, multi-GPU launch, OOM mitigation, and stripping solver states.
  • Configs, model catalog, and dataset layouts → sub-skills/data-configs/SKILL.md. Use this for configs/fcos selection, MODEL.FCOS keys, COCO/VOC/Cityscapes layout validation, custom dataset planning, and config merge diagnostics.
  • ONNX export and ONNX evaluation planning → sub-skills/onnx-export/SKILL.md. Use this for FCOS ONNX export commands, output tensor names, dummy input constraints, and Caffe2/backend limitations.
  • Source internals and repo maintenance → sub-skills/internals-maintenance/SKILL.md. Use this for FCOS head/loss/postprocess internals, BoxList, compiled extension issues, tests, and porting to newer PyTorch.

Common Decisions

  • If the user only wants to detect objects in one image, route to inference-demo and prefer the high-level fcos.FCOS API or the installed fcos CLI.
  • If the user mentions COCO/VOC/Cityscapes paths, config overrides, class counts, or YAML errors, route to data-configs before training.
  • If the user asks for AP numbers, model weights, batch sizes, or an evaluation command, route to training-evaluation and remind them that datasets and weights are not bundled.
  • If the user asks for ONNX, do not treat it as normal PyTorch evaluation; route to onnx-export because the export script emits backbone/head tensors and the test script does PyTorch post-processing.
  • If the user is editing FCOS code or seeing _C, compiler, torch._six, libc10, or NumPy ABI errors, route to internals-maintenance plus the root troubleshooting reference.

Safety and Scope Notes

  • Do not download pretrained weights, datasets, or run long training/evaluation unless the user approves the cost and runtime.
  • Do not open GUI windows or webcams by default; use no-display/API paths for automated agents.
  • Do not claim benchmark reproduction unless the required dataset, weights, compiled extension, and GPU runtime were actually verified.
  • The bundled scripts are safe diagnostics and command builders. They are replacements for routine guidance, not large model weights or datasets.

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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 的全部技能

报告此技能的问题