Skip to content
Agentmart
Submit a tool

fcos

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

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Chalk Labs

Need help deploying fcos?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-fcos

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

Use cases: data, ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/fcos

What's inside

Skill name
fcos
Description
Routes FCOS object-detection repo tasks for inference demos, config/data setup, training/evaluation, ONNX export, and legacy PyTorch internals.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
50 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (38)

  • SKILL.md
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • check_fcos_environment.py · scripts/
  • SKILL.md · sub-skills/data-configs/
  • configuration.md · sub-skills/data-configs/references/
  • data-formats.md · sub-skills/data-configs/references/
  • model-catalog.md · sub-skills/data-configs/references/
  • troubleshooting.md · sub-skills/data-configs/references/
  • validate_dataset_layout.py · sub-skills/data-configs/scripts/
  • validate_fcos_config.py · sub-skills/data-configs/scripts/
  • SKILL.md · sub-skills/inference-demo/
  • api-reference.md · sub-skills/inference-demo/references/
  • model-overview.md · sub-skills/inference-demo/references/
  • troubleshooting.md · sub-skills/inference-demo/references/
  • workflows.md · sub-skills/inference-demo/references/
  • fcos_cli_safe_wrapper.py · sub-skills/inference-demo/scripts/
  • prepare_image_for_fcos.py · sub-skills/inference-demo/scripts/
  • SKILL.md · sub-skills/internals-maintenance/
  • api-reference.md · sub-skills/internals-maintenance/references/
  • architecture.md · sub-skills/internals-maintenance/references/
  • testing-reference.md · sub-skills/internals-maintenance/references/
  • troubleshooting.md · sub-skills/internals-maintenance/references/
  • inspect_fcos_components.py · sub-skills/internals-maintenance/scripts/
  • SKILL.md · sub-skills/onnx-export/
  • output-contract.md · sub-skills/onnx-export/references/
  • troubleshooting.md · sub-skills/onnx-export/references/
  • workflows.md · sub-skills/onnx-export/references/
  • build_onnx_export_command.py · sub-skills/onnx-export/scripts/
  • SKILL.md · sub-skills/training-evaluation/
  • checkpoints.md · sub-skills/training-evaluation/references/
  • cli-reference.md · sub-skills/training-evaluation/references/
  • troubleshooting.md · sub-skills/training-evaluation/references/
  • workflows.md · sub-skills/training-evaluation/references/
  • build_eval_command.py · sub-skills/training-evaluation/scripts/
  • build_train_command.py · sub-skills/training-evaluation/scripts/
  • remove_solver_states.py · sub-skills/training-evaluation/scripts/

SKILL.md (first lines)

# 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`](scripts/check_fcos_environment.py) when import, CUDA, extension, or config availability matters.
3. Read [`references/repo-provenance.md`](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`](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:

```bash
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`](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`](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`](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`](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`](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.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get fcos running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying fcos?

CallGet help
Cite this page

fcos skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-fcos (last updated 2026-10-24)