10000 GitHub - SYLan2019/CSFF-MGDH: SAR Ship Detector Using Cross-stage Feature Fusion and Decoupled Head with Mutual Guidance.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SYLan2019/CSFF-MGDH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

CSFF-MGDH

SAR Ship Detector Using Cross-stage Feature Fusion and Decoupled Head with Mutual Guidance.

SAR Ship Detector Using Cross-stage Feature Fusion and Decoupled Head with Mutual Guidance, IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP 2025),--Accepted.

Preparation work

We have used the following versions of OS and softwares:

  • OS: Windows10
  • Python: 3.8
  • GPU: RTX3060Ti
  • CUDA: 11.2
  • PyTorch: 1.9.0+cu111
  • TorchVision: 0.10.0+cu111
  • TorchAudio: 0.9.0
  • MMCV-FULL: 1.3.17
  • MMDetection: 2.20.0

Install

a. Create a conda virtual environment and activate it.

conda create -n csff python=3.8
conda activate csff

b. Install pytorch, torchvision and torchaudio following the official instructions, e.g.,

pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html

Install mmcv-full(we used mmcv-full==1.3.17)

pip install openmim
mim install mmcv-full==1.3.17

d. Install COCOAPI-AITOD for Evaluating on AI-TOD dataset(The VisDrone2019 dataset does not require it)

pip install "git+https://github.com/jwwangchn/cocoapi-aitod.git#subdirectory=aitodpycocotools"

You can also refer to official instruction for installing COCOAPI-AITOD.

e. Install SOD-DEDDH

git clone https://github.com/SYLan2019/CSFF-MGDH.git
cd CSFF-MGDH
pip install -r requirements.txt
pip install -v -e .
# or "python setup.py install"

Prepare datasets

Our data folder structure is as follows:

SOD-DEDDH
├── mmdet
├── tools
├── configs
├── data
│   ├── coco
│   │   ├── annotations
│   │   │    │─── train.json
│   │   │    │─── test.json
│   │   ├── images
|   |   |    |___train
|   |   |    |    |─── ***.jpg
|   |   |    |    |─── ***.jpg
│   │   │    │─── test
|   |   |    |    |─── ***.jpg
│   │   │    │    |─── ***.jpg

If your data folder structure is different, you may need to change the corresponding paths in config files (configs/_base_/datasets/coco_detection.py).

Run

The SOD-DEDDH's config files are in .

Please see MMDetection full tutorials with existing dataset for beginners.

Training(on a single GPU)

python tools/train.py configs/CSFF_MGDH/

Testing

python tools/test.py configs/CSFF_MGDH/ your_training_weight.pth --eval bbox

About

SAR Ship Detector Using Cross-stage Feature Fusion and Decoupled Head with Mutual Guidance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0