Skip to content

douling843/RoSD_SAR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoSD_SAR

image text

⚡ This repository includes the official implementation of the paper:

👋 RoSD-SAR: Robust Ship Detection in SAR Images with Noisy Box Labels

👨‍💻 Code: GitHub

Installation

  • Set up environment

conda create -n RoSD_SAR python=3.7
conda activate RoSD_SAR

  • install pytorch

conda install pytorch==1.10.0 torchvision==0.11.0 -c pytorch -c conda-forge

  • Install

git clone https://github.com/douling843/RoSD_SAR.git
cd RoSD_SAR
pip install -r requirements/build.txt
cd mmcv
MMCV_WITH_OPS=1 pip install -e .
cd ..
pip install -e .

Generate noisy annotations: (e.g., 40% noise)

python ./utils/gen_noisy_ssdd.py --box_noise_level 0.4

Train

python tools/train.py configs/faster_rcnn/faster_rcnn_r50_fpn_1x_ssdd_RoSD_SAR.py --work-dir='work_dir/ssdd/faster_rcnn_r50_fpn_1x_ssdd_RoSD_SAR'

Inference

python tools/train.py configs/faster_rcnn/faster_rcnn_r50_fpn_1x_ssdd_RoSD_SAR.py work_dirs/ssdd/faster_rcnn_r50_fpn_1x_ssdd_RoSD_SAR/epoch_12.pth --show-dir work_dirs/vis/ssdd/RoSD_SAR

Acknowledgement 📫

This repository is based on mmdetection 🤝 and OA-MIL 👯.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages