polarnext

PolarNeXt: Rethink Instance Segmentation with Polar Representation

https://github.com/sun15194/polarnext

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

PolarNeXt: Rethink Instance Segmentation with Polar Representation

Basic Info
  • Host: GitHub
  • Owner: Sun15194
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 16.9 MB
Statistics
  • Stars: 15
  • Watchers: 1
  • Forks: 5
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed 11 months ago
Metadata Files
Readme License Citation

README.md

PolarNeXt: Rethink Instance Segmentation with Polar Representation

The code for implementing the PolarNeXt (CVPR 2025).

News

  • Training code is uploaded. It supports training on dual NVIDIA RTX 4090D GPUs with about 16 hours. (2025.06.30)
  • Validation code is updated. It supports inference at 49 FPS speed on a single NVIDIA RTX 4090D GPU. (2024.12.10)
  • This work has been submitted to CVPR 2025. To ensure anonymity, all information regarding the authors and affiliations will remain undisclosed. (2024.11.15)

Results

Figure2

Models

| Backbone | MS train | Lr schd | FPS | APval | APtest | Weights | | :------: | :------: | :-----: | :--: | :--------------: | :---------------: | :--------------------: | | R-50 | N | 1x | 49 | 33.9 | - | - | | R-50 | Y | 3x | 49 | 35.7 | 36.1 | Baidu & Google | | R-101 | Y | 3x | 38 | 37.1 | 37.4 | Baidu & Google |

  • All models are trained on MS-COCO train2017.
  • Data augmentation only contains random flip and scale jitter.
  • For all 3x schedule settings, we default to using SGD to maintain fair comparison with other models. AdamW is recommended for 1x schedule, as using SGD with small batch size may lead to AP fluctuations of 0.2–0.4.

Installation

Our PolarNeXt is fully based on MMDetection v3.3.0. Please check INSTALL.md for installation instructions.

Option 1: Install as a standalone project

You can install this project just like any standard MMDetection-based repository:

bash git clone https://github.com/Sun15194/PolarNeXt.git cd PolarNeXt pip install -U openmim mim install mmengine mim install "mmcv>=2.0.0" pip install -v -e .

Option 2: Integrate into your own MMDetection codebase

You may also directly integrate our project into your existing MMDetection framework by following these steps:

  1. Copy the entire projects/ folder into your MMDetection root directory.
  2. Overwrite the following files in your MMDetection repo with ours:
    • mmdet/structures/mask/structures.py
    • setup.py (from the root directory)
  3. Run the following command in the root directory of your MMDetection repo to install the environment:

bash pip install -v -e .

To avoid potential errors, the following versions are recommanded:

bash Python == 3.10 PyTorch == 2.0.0 CUDA == 11.8 numpy == 1.24.3 matplotlib == 3.5.0

⚠️ Note: Make sure your MMDetection version is exactly v3.3.0 to avoid compatibility issues.

Run

(1) Training command:

  • bash tools/dist_train.sh projects/PolarNeXt/configs/polarnext_r50-torch_fpn_3x_ms_coco.py --auto-scale-lr

(2) Validation command:

  • python tools/test.py projects/PolarNeXt/configs/polarnext_r50-torch_fpn_3x_ms_coco.py $YOUR_PTH_FILE

(3) Inference Speed command:

  • python tools/analysis_tools/benchmark.py projects/PolarNeXt/configs/polarnext_r50-torch_fpn_3x_ms_coco.py --checkpoint $YOUR_PTH_FILE --task 'inference'

Notes: Considering that mask AP calculation requires converting polygons to pixel-level mask format, to ensure a fair comparison of inference speed, please comment out lines #600–603 in projects/PolarNeXt/model/head.py.

Citation

If you use PolarNeXt in your research or wish to refer to the baseline results published here, please use the following BibTeX entry.

@InProceedings{Sun_2025_CVPR, author = {Sun, Jiacheng and Zhou, Xinghong and Wu, Yiqiang and Zhu, Bin and Lu, Jiaxuan and Qin, Yu and Li, Xiaomao}, title = {PolarNeXt: Rethink Instance Segmentation with Polar Representation}, booktitle = {Proceedings of the Computer Vision and Pattern Recognition Conference (CVPR)}, month = {June}, year = {2025}, pages = {19315-19324} }

Oi!

If you find this project helpful, please consider giving it a ⭐️ or a 🍴 on GitHub. Your support motivates us to keep improving!

Owner

  • Name: anonymous
  • Login: Sun15194
  • Kind: user

GitHub Events

Total
  • Issues event: 8
  • Watch event: 11
  • Delete event: 1
  • Issue comment event: 9
  • Push event: 41
  • Fork event: 4
  • Create event: 1
Last Year
  • Issues event: 8
  • Watch event: 11
  • Delete event: 1
  • Issue comment event: 9
  • Push event: 41
  • Fork event: 4
  • Create event: 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 6
  • Total pull requests: 0
  • Average time to close issues: 2 days
  • Average time to close pull requests: N/A
  • Total issue authors: 6
  • Total pull request authors: 0
  • Average comments per issue: 2.5
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 6
  • Pull requests: 0
  • Average time to close issues: 2 days
  • Average time to close pull requests: N/A
  • Issue authors: 6
  • Pull request authors: 0
  • Average comments per issue: 2.5
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ayesha-ishaq (1)
  • kieran0625 (1)
  • sara-khare (1)
  • Glaciercowww (1)
  • piantou (1)
  • baibaibai1234 (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels