FoveaBox is an advanced anchor-free object detection framework that enhances accuracy and flexibility by directly predicting the existence and bounding box coordinates of objects. Utilizing a Feature Pyramid Network (FPN), it adeptly handles targets of varying scales, particularly excelling with objects of arbitrary aspect ratios. FoveaBox also demonstrates robustness against image deformations.
Iluvatar GPU | IXUCA SDK |
---|---|
MR-V100 | 4.2.0 |
Pretrained model: https://download.openmmlab.com/mmdetection/v2.0/foveabox/fovea_r50_fpn_4x4_1x_coco/fovea_r50_fpn_4x4_1x_coco_20200219-ee4d5303.pth
Dataset: http://images.cocodataset.org/zips/val2017.zip to download the validation dataset.
# Install libGL
## CentOS
yum install -y mesa-libGL
## Ubuntu
apt install -y libgl1-mesa-glx
pip3 install -r requirements.txt
# export onnx model
python3 export.py --weight fovea_r50_fpn_4x4_1x_coco_20200219-ee4d5303.pth --cfg fovea_r50_fpn_4xb4-1x_coco.py --output foveabox.onnx
# Use onnxsim optimize onnx model
onnxsim foveabox.onnx foveabox_opt.onnx
export DATASETS_DIR=/Path/to/coco/
# Accuracy
bash scripts/infer_foveabox_fp16_accuracy.sh
# Performance
bash scripts/infer_foveabox_fp16_performance.sh
Model | BatchSize | Precision | FPS | IOU@0.5 | IOU@0.5:0.95 |
---|---|---|---|---|---|
FoveaBox | 32 | FP16 | 181.304 | 0.531 | 0.346 |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。