Spaces:
Paused
Paused
Commit History
-
chore: clean up dead code, stale comments, and misleading names
Zhen Ye +1: Claude Opus 4.6 (1M context)- Rename gpt_data -> metadata on STrack (tracker.py) - Remove dead inject_metadata method and phantom METADATA_SYNC_KEYS - Fix _sync_data to sync depth_rel (the key actually written) - Remove dead _build_display_label and gpt_distance_m checks - Remove no-op add_no_cache_header middleware - Remove unused get_segmenter_detector import - Cache index.html at module load instead of reading per request - Extract _parse_queries helper to deduplicate query parsing - Remove empty set_track_data calls in segmentation writer loop - Remove sentence-transformers semantic matching from coco_classes - Clean stale GPT/mission references from docstrings - Update CLAUDE.md to reflect stripped-down architecture Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>2e2a601
-
fix: download yolo11m.pt via huggingface_hub to writable /tmp path
Zhen Ye +1: Claude Opus 4.6ultralytics YOLO() tries to download to CWD which is read-only in the container. Use hf_hub_download to fetch weights to /tmp/yolo_weights then load from that path. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>a4e3c2b -
fix: use YOLO("yolo11m.pt") with writable config dir
Zhen Ye +1: Claude Opus 4.6hf:// prefix not supported in installed ultralytics version. Use standard YOLO("yolo11m.pt") which auto-downloads from CDN. Set YOLO_CONFIG_DIR=/tmp/ultralytics so weights download to a writable path in read-only containers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>e745021 -
refactor: rename hf_yolov8 → yolo11 across codebase
Zhen Ye +1: Claude Opus 4.6Rename file yolov8.py → yolov11.py, class HuggingFaceYoloV8Detector → Yolo11Detector, and registry key "hf_yolov8" → "yolo11" in all 11 files. Loads YOLO11m COCO-pretrained via hf://Ultralytics/YOLO11. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>f89fa0b -
feat: replace custom YOLOv8m_defence with YOLO11m COCO-pretrained
Zhen Ye +1: Claude Opus 4.6The custom defence weights (spencercdz/YOLOv8m_defence) hallucinated on standard traffic scenes—detecting road markings as cars while missing actual vehicles. Switch to ultralytics YOLO11m with COCO pretrained weights for reliable general-purpose detection. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>53922f5 -
chore: remove dead code and unused frontend modules
Zhen Yed74c718
-
Handle set-typed missing_keys in Grounding DINO loader
Zhen Ye04d4562 -
Fix Grounding DINO load reliability and writer error handling
Zhen Yea7f0600
-
fix: replaced batch with sequential
Zhen Yeaf0f84f -
Fix: Grounding DINO batch inference
Zhen Ye8bc4370 -
Add diagnostic logging to pinpoint tracker dropping detections
Zhen Ye +1: Claude Opus 4.64 targeted log points across inference.py and utils/tracker.py to diagnose why first-frame preview shows bounding boxes but the processed video has none — the tracker is the prime suspect. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>a70bcf5
-
Fix Grounding DINO detections dropped by ByteTracker threshold mismatch
Zhen Ye +1: Claude Opus 4.6Lower ByteTracker new_track_thresh from 0.40 to 0.30 so DINO scores (≥0.35) can spawn tracks. Harden DINO _post_process to remove bare fallback that silently dropped to HuggingFace default threshold of 0.25. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>0d3be57
-
Fix GroundingDino loading: manually materialize meta tensors to support tied weights
Zhen Yefe2ace8 -
Refine GPT enrichment logic, add relevance badges to UI, and fix minor model/logging issues
Zhen Ye2c4431d
-
feat: Radar historic traces and fix DETR crash
Zhen Yefe670b9
-
Use DETR no_timm revision to avoid timm dependency
Zhen Yed52f7cc -
Fix BGR to RGB conversion for DETR and GroundingDino inference
Zhen Yef78d96f -
fix: Resolve IndentationError in DroneYoloDetector due to displaced import
Zhen Ye4e93b33 -
feat: Implement SAHI Tiling for 4K video detection
Zhen Ye- Added utils/tiling.py for image slicing and NMS - Updated DroneYolo and HFYoloV8 to auto-tile images > 3000px width - Uses 1280x1280 tiles with 20% overlap for maximum small object recallaf29397 -
optimize: Force high-res (1280px) inference for YOLO models to improve small object detection
Zhen Ye284ce20 -
perf: Tune batch sizes and queues for A10 GPUs
Zhen Ye- Increased YOLO (HF/Drone) batch size to 32 - Increased Depth Anything batch size to 16 - Increased SAM3 batch size to 8 - Increased DETR batch size to 8 - Expanded inference.py queue_out to handle 32-frame batch burstsa5f8d15
-
Simplify drone YOLO loading with ultralytics native HF Hub support
Zhen Ye2392266 -
Update Lite model to use spencercdz/YOLOv8m_defence
Zhen Ye38a60a8 -
Remove InternVL2 logic as requested
Zhen Ye29e1c2b -
feat: Integrate InternVL2 and fix SAM3 segmentation batch size issue
Zhen Ye3d32b4a
-
Implement Batch Inference & Queue Backpressure Fixes
Zhen Ye5c36daa
-
Fix YOLO models to support specific GPU assignment
Zhen Yeb5e6df2 -
feat(inference): enable full multi-GPU support for all models
Zhen Ye- Update inference.py to parallelize detection, segmentation, and depth estimation across all available GPUs - Update detectors (YOLOv8, DETR, GroundingDINO, DroneYolo) to accept device argument - Update SAM3 and DepthAnythingV2 to accept device argument - Add device-specific model loading to all model loaders - Remove OwlV2 support45eb65b
-
added drone detector
Zhen Ye537aca9 -
removed owlv2
Zhen Ye6c02470 -
git commit -m "Handle grounding dino post-process API differences"
Zhen Ye65dd451 -
inital commit
Zhen Yeb30e7a3