GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Six-of-Sheep/SparseRTDETR_VisDrone: Code for studying sampling-density allocation in UAV small-object detection with RT-DETRv2 on VisDrone and UAVDT.

BranchesTags
Open more actions menu

Latest commit

 

History

38 Commits
38 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
configs
configs
 
 
docs
docs
 
 
environment
environment
 
 
manifests
manifests
 
 
scripts
scripts
 
 
src/sparse_rtdetr
src/sparse_rtdetr
 
 
tests
tests
 
 
tools
tools
 
 
vendor/rtdetrv2_pytorch
vendor/rtdetrv2_pytorch
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CLAUDE.md
CLAUDE.md
 
 
README.md
README.md
 
 
infer_seed.py
infer_seed.py
 
 
pyproject.toml
pyproject.toml
 
 
slice_core.py
slice_core.py
 
 

Repository files navigation

SparseRTDETR · Sampling density for small-object detection

How should a detector spend a fixed number of pixels on a UAV image? This study compares how RT-DETRv2-R18 samples a common 1152 × 2016 input onto a 768 × 1344 detection canvas (height × width). Each image goes through the detector once. A larger uniform canvas provides a reference for spending more pixels.

Paper code guide · Sampling code · Experiment drivers · CPU quick start

The default branch holds this guide and the shared evaluation utilities. Open the paper source snapshot to browse the detector and samplers together. The implementation links below point to the commits used for each comparison.

中文读者可按论文中的组名、训练种子和评价数据集定位到每次实验使用的提交。论文代码索引

Sampling methods and controls

Arm How the image is sampled Code at the recorded revision
L0 Uniformly downsample to 768 × 1344. Uniform baseline
K Use the same bounded allocation as W with one spatial prior averaged from training annotations. Fixed-prior control
W Predict demand for each image and distribute samples along each axis within fixed magnification bounds. Allocation · Detector and box mapping
F and F_geo Apply a FOVEA-style mapping to the same per-image demand as W. F uses a kernel width of 4. F_geo uses 19.03125, selected from training-set geometry. F · F_geo · Upstream FOVEA
S15 Keep the uniform 1152 × 2016 canvas for continued training and evaluation. Large-canvas reference

Results

VisDrone. All three detector training seeds were evaluated on the same 548 development images. The image-dependent samplers share one frozen demand network trained with seed 0. Each cell gives the paired difference in average precision (AP), in percentage points, for seeds 0 / 1 / 2 at 600 candidates per image.

Comparison Small-object AP Small-object AP at IoU 0.75
F_geo − L0 +2.03 / +1.75 / +1.63 +2.33 / +1.90 / +2.06
W − L0 +1.77 / +1.60 / +1.54 +2.55 / +2.09 / +2.46
W − F_geo −0.27 / −0.15 / −0.09 +0.22 / +0.19 / +0.40

Both mappings improved small-object AP over uniform sampling. Their ordering depended on the metric, and F_geo and W delivered different magnifications. W also reduced medium-object AP relative to L0 by 0.69, 1.08 and 0.52 points. F_geo replication · W replication

UAVDT. We evaluated the frozen VisDrone checkpoints without fine-tuning, using a single vehicle category and 300 candidates per frame. The small-object AP differences for F_geo versus L0 were +0.148, +0.164 and −0.169 points. The larger S15 canvas also produced both gains and losses in small-object AP across seeds. External evaluation and per-seed results

CPU quick start

With PyTorch, NumPy and pytest installed, these commands check W's sampling allocation against an independent numerical reference on synthetic inputs. This example runs on CPU without a dataset or checkpoint.

git clone --depth 1 --branch journal-mva-baseline-20261122 https://github.com/Six-of-Sheep/SparseRTDETR_VisDrone.git paper-sampler
cd paper-sampler
python -m pytest -q tests/test_r28_warp.py::test_waterfill_random_marginals

The source tag resolves to 3c491df1a4765d9826f69e247cb295ecb00dc04c. For a reported score, select the commit for the specific arm and seed. The W replication and supplementary analyses have separate revisions. Reproducing scores also requires the matching model states, data splits, ignore rules and run inputs, which are managed separately. Experiment revisions · Reproduction requirements

Earlier experiments and repository maintenance

The legacy SAHI drivers and CPU tests have their own directories. The evaluation code imports image loading and score conversion and slice geometry from the repository root.

The earlier whole-image and four-tile comparison has its own results and protocol, frozen manifest, and archived project overview. The experiment index, source import record, and development guide document the original repository and its checks.

About

Code for studying sampling-density allocation in UAV small-object detection with RT-DETRv2 on VisDrone and UAVDT.

Topics

computer-visionobject-detectionsmall-object-detectionuavdtvisdrone

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.