Spaces:
Runtime error
Runtime error
Commit History
-
Phase 5: activate make/model identification + car-presence gateβ
Wires up the make/model identifier that was trained in Phase 1.5 but never called, and adds a "is there a car, and where?" gate in front of it β both on the ResNet-50 family (the gate is a COCO Mask R-CNN; masks ignored, boxes used). New modules (ccdp.identification): - car_gate.py β CarGate (COCO maskrcnn_resnet50_fpn) + pure decide()/pad_box; returns the highest-scoring car/truck/bus box or has_car=False. - ml_identifier.py β MLIdentifier inference wrapper around the production identifier checkpoint; maps class idx -> make/model/year via a bundled Stanford Cars class-name resource (no dataset needed). - auto_identify.py β orchestrates gate -> crop -> identifier into one call, returning an IdentificationResult the cost pipelines accept. - data/stanford_cars_classes.json β bundled 196-class name map. Integrations: - car_identifier.identify() gains an opt-in ML stage (use_ml=, injectable), ordered afβ¦c9f7f1e