Faster R-CNN X101-32x4d-FPN: Object detection for autonomous vehicles
2 min readupdated
This model replicates the official 2020 BDD100K detection baseline built on the Faster R-CNN architecture with a ResNeXt-101 backbone and FPN (feature pyramid network for detecting objects of various sizes). The model is trained to detect 10 object classes in dashcam frames: pedestrians, riders, cars, buses, trucks, bikes, motorcycles, traffic lights, traffic signs, and trains. The repository includes a ready-to-use inference script and pinned dependencies to run legacy weights on modern hardware. This model will be useful for computer vision developers, autonomous driving researchers, and anyone working with the BDD100K dataset.
Key features
- Precise recognition: highlights 10 main categories of traffic participants and infrastructure objects.
- Verified compatibility: weights are packaged with launch scripts for modern Python 3.10 and PyTorch 2.0.1.
- Secure startup: weights load via torch.load with the weights_only=True flag, preventing arbitrary code execution.
- Dual format: the model is available in both the original .pth format with all metadata and the secure .safetensors format.
What you can do
- Image processing: run object detection on a single photo or an entire folder of snapshots.
- Video analysis: process a video file from a car dashcam and save the results with bounding boxes.
- Webcam connection: run real-time analysis using a connected camera to test the model.
- Data export: save the coordinates of detected objects in the BDD100K dataset JSON format for further analysis.
Example
hf download dronefreak/bdd100k-mmdet-faster-rcnn-x101-32x4d-fpn-1x --local-dir faster-rcnn --exclude "original/*"
cd faster-rcnn
uv venv --python 3.10 .venv && source .venv/bin/activate
uv pip install -r env/requirements-cpu.txt
python infer.py image.jpg --out runs/Read more
DetailsCOCO mAP@50:95 metrics: 30.8 (mAP@50 is 56.2)
Architecture: Faster R-CNN, ResNeXt-101 32x4d + FPN, RoIAlign
Training: BDD100K train (70k images), 12 epochs, SGD
Performance: about 2.4 seconds per 1280x720 frame on 8 CPU threads
License: BDD100K (commercial use restrictions)










Comments