Skip to content
Back to skills

Covid 2d Classification

ASecurity

Route the 2D COVID chest X-ray and CT classification branch.

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
testingapi

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill covid-2d-classification --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Covid 2d Classification?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Covid 2d Classification
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-covid-2d-classification/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-covid-2d-classification)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: covid-2d-classification
description: "Route the 2D COVID chest X-ray and CT classification branch."
metadata:
  disco-role: operating
disable-model-invocation: true
license: MIT
---

# covid-2d-classification

Use this sub-skill for the 2D COVID classification branch only:

- COVIDx chest X-ray classification
- CovidCT chest CT classification
- `COVIDNet` / `CNN` model selection
- `train_covid` training and validation loops
- `MetricTracker`, `accuracy`, and manifest parsing

Do not use this sub-skill for 3D segmentation or 3D COVID segmentation.
Route those tasks to the segmentation-oriented or data-preparation sub-skill instead.

## Start here

1. Read [`references/workflows.md`](./references/workflows.md) for the end-to-end route.
2. Read [`references/data-layout.md`](./references/data-layout.md) before touching manifests.
3. Read [`references/api-reference.md`](./references/api-reference.md) for public class and function contracts.
4. Read [`references/troubleshooting.md`](./references/troubleshooting.md) if imports or sample runs fail.
5. Run [`scripts/smoke_covid_imports.py`](./scripts/smoke_covid_imports.py) for a safe synthetic import check.

## What this branch expects

- 2D RGB inputs only.
- `COVIDx` for 3-class chest X-ray work.
- `COVID_CT` for 2-class chest CT work.
- A local MedicalZooPytorch installation, or an equivalent environment where `lib.*` imports resolve.
- No dependence on the original repository checkout at runtime.

## Important caveats

- `COVIDxDataset` currently has a `__getitem__` / `load_image` keyword mismatch in source.
- `CovidNet` currently uses `pepx` instead of `PEPX` in the constructor.
- `CNN` uses torchvision backbones with `pretrained=True`; do not let smoke checks fetch weights.
- `MetricTracker` averages batch metrics by iteration count, not sample count.

## Public entry points

- Dataset loaders: `lib.medloaders.COVIDxdataset.COVIDxDataset`, `lib.medloaders.covid_ct_dataset.CovidCTDataset`
- Model factory: `lib.medzoo.create_model`
- Training loop: `lib.train.train_covid.train`, `lib.train.train_covid.validation`
- Metrics: `lib.utils.covid_utils.accuracy`, `lib.utils.covid_utils.MetricTracker`
- Helper parser: `lib.utils.covid_utils.read_txt`

Files in this skill

  • SKILL.md2.2 KB
  • references/api-reference.md2.6 KB
  • references/data-layout.md2.8 KB
  • references/troubleshooting.md3 KB
  • references/workflows.md2.8 KB
  • scripts/smoke_covid_imports.py9.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.