Home

Awesome

lsk_arch

PWC PWC PWC PWC PWC PWC PWC

This repository is the official implementation of ICCV 2023 "Large Selective Kernel Network for Remote Sensing Object Detection" at: ICCV Open Access

Abstract

Recent research on remote sensing object detection has largely focused on improving the representation of oriented bounding boxes but has overlooked the unique prior knowledge presented in remote sensing scenarios. Such prior knowledge can be useful because tiny remote sensing objects may be mistakenly detected without referencing a sufficiently long-range context, and the long-range context required by different types of objects can vary. In this paper, we take these priors into account and propose the Large Selective Kernel Network (LSKNet). LSKNet can dynamically adjust its large spatial receptive field to better model the ranging context of various objects in remote sensing scenarios. To the best of our knowledge, this is the first time that large and selective kernel mechanisms have been explored in the field of remote sensing object detection. Without bells and whistles, our lightweight LSKNet sets new state-of-the-art scores on standard remote sensing classification, object detection and semantic segmentation benchmarks. Based on a similar technique, we rank 2nd place in 2022 the Greater Bay Area International Algorithm Competition

Introduction

This repository is the official implementation of ICCV 2023 "Large Selective Kernel Network for Remote Sensing Object Detection" at: ICCV Open Access

The master branch is built on MMRotate which works with PyTorch 1.6+.

LSKNet backbone code is placed under mmrotate/models/backbones/, and the train/test configure files are placed under configs/lsknet/

Results and models

Imagenet 300-epoch pre-trained LSKNet-T backbone: Download

Imagenet 300-epoch pre-trained LSKNet-S backbone: Download

DOTA1.0

ModelmAPAnglelr schdBatch SizeConfigsDownloadnote
RTMDet-l (1024,1024,-)81.33-3x-ema8--Prev. Best
LSKNet_T (1024,1024,200) + ORCNN81.37le901x2*8lsk_t_fpn_1x_dota_le90model | log
LSKNet_S (1024,1024,200) + ORCNN81.64le901x1*8lsk_s_fpn_1x_dota_le90model | log
LSKNet_S* (1024,1024,200) + ORCNN81.85le901x1*8lsk_s_ema_fpn_1x_dota_le90model | logEMA Finetune
LSKNet_S (1024,1024,200) + Roi_Trans81.22le901x2*8lsk_s_roitrans_fpn_1x_dotamodel | log
LSKNet_S (1024,1024,200) + R3Det80.08oc1x2*8lsk_s_r3det_fpn_1x_dotamodel | log
LSKNet_S (1024,1024,200) + S2ANet81.32le1351x2*8lsk_s_s2anet_fpn_1x_dotamodel | log

FAIR1M-1.0

ModelmAPAnglelr schdBatch SizeConfigsDownloadnote
O-RCNN (1024,1024,200)45.60le901x1*8oriented_rcnn_r50_fpn_1x_fair_le90-Prev. Best
LSKNet_S (1024,1024,200)47.87le901x1*8lsk_s_fpn_1x_dota_le90model | log

HRSC2016

ModelmAP(07)mAP(12)Anglelr schdBatch SizeConfigsDownloadnote
RTMDet-l90.6097.10le903x---Prev. Best
ReDet90.4697.63le903x2*4redet_re50_refpn_3x_hrsc_le90-Prev. Best
LSKNet_S90.6598.46le903x1*8lsk_s_fpn_3x_hrsc_le90model | log

Installation

MMRotate depends on PyTorch, MMCV and MMDetection. Below are quick steps for installation. Please refer to Install Guide for more detailed instruction.

conda create --name openmmlab python=3.8 -y
conda activate openmmlab
conda install pytorch==1.8.0 torchvision==0.9.0 cudatoolkit=10.2 -c pytorch
pip install -U openmim
mim install mmcv-full
mim install mmdet
git clone https://github.com/zcablii/Large-Selective-Kernel-Network.git
cd Large-Selective-Kernel-Network
pip install -v -e .

Get Started

Please see get_started.md for the basic usage of MMRotate. We provide colab tutorial, and other tutorials for:

LSKNet for Remote Sensing Segmentation

We further extend our work to segmentation tasks on the Potsdam, Vaihingen, LoveDA, and UAVid datasets. Please visit LSKNet + GeoSeg. To facilitate easy reproduction and swift initiation for beginners, we offer our prepared remote sensing segmentation datasets here.

-Vaihingen -Potsdam -LoveDA -uavid

Acknowledgement

MMRotate is an open source project that is contributed by researchers and engineers from various colleges and companies. We appreciate all the contributors who implement their methods or add new features, as well as users who give valuable feedbacks. We wish that the toolbox and benchmark could serve the growing research community by providing a flexible toolkit to reimplement existing methods and develop their own new methods.

Citation

If you use this toolbox or benchmark in your research, please cite this project.

@InProceedings{Li_2023_ICCV,
    author    = {Li, Yuxuan and Hou, Qibin and Zheng, Zhaohui and Cheng, Ming-Ming and Yang, Jian and Li, Xiang},
    title     = {Large Selective Kernel Network for Remote Sensing Object Detection},
    booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
    month     = {October},
    year      = {2023},
    pages     = {16794-16805}
}

License

Licensed under a Creative Commons Attribution-NonCommercial 4.0 International for Non-commercial use only. Any commercial use should get formal permission first.