百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

SpineNet-Pytorch

> 编程语言
开源

这个项目是使用 mmdetection 实现 SpineNet(CVPR 2020) 的一种实现。

99 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

这个项目是使用 mmdetection 实现 SpineNet(CVPR 2020) 的一种实现。

SpineNet-Pytorch

SpineNet is a CVPR 2020 paper for object detection. This project is a kind of implementation of SpineNet using mmdetection.

It is based on the

  • the paper SpineNet: Learning Scale-Permuted Backbone for Recognition and Localization
  • official TensorFlow implementation

Models

Variant mAP Params FLOPs mAP in paper Params in paper FLOPs in paper
SpineNet-49S 39.1 11.15M 30.04B 39.9 12.0M 33.8B
SpineNet-49 42.7 28.31M 83.7B 42.8 28.5M 85.4B
SpineNet-96 —— 42.74M 261.35B 47.1 43.0M 265.4B
SpineNet-143 —— —— —— 48.1 66.9M 524.4B
SpineNet-190 —— —— —— —— 163.6M 1885B

Note: The parameters and flops are a little different from paper, so I think there are some difference between my code and official's code. More information about models can see in MODEL_DETAILS.md

Usage

  1. Install mmdetection

    This implementation is based on mmdetection(v1.1.0+8732ed9). Please refer to INSTALL.md for installation and dataset preparation.

  2. Copy the codes to mmdetection directory

    bash
    cp -r mmdet/ ${MMDETECTION_PATH}/
    cp -r configs/ ${MMDETECTION_PATH}/
  3. Prepare data

    The directories should be arranged like this:

    >   mmdetection
    >     ├── mmdet
    >     ├── tools
    >     ├── configs
    >     ├── data
    >     │   ├── coco
    >     │   │   ├── annotations
    >     │   │   ├── train2017
    >     │   │   ├── val2017
    >     │   │   ├── test2017
    
  4. Train D0 with 4 GPUs

    bash
    CONFIG_FILE=configs/spinenet/spinenet_49_B_8gpu.py
    ./ tools/dist_train.py ${CONFIG_FILE} 4
  5. Calculate parameters and flops

    bash
     python tools/get_flops.py ${CONFIG_FILE} --shape $SIZE $SIZE
  6. Test

    bash
    python tools/test.py ${CONFIG_FILE} ${CHECKPOINT_FILE} --out  ${OUTPUT_FILE} --eval bbox

More usages can reference mmdetection documentation.

Update log

  • [2020-05-30] Add SpineNet-49S results.
  • [2020-05-13] Update codes and results.
  • [2020-05-02] Create this repository.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythoncvpr2020detectionmmdetectionnas

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言