File size: 3,607 Bytes
b6bad74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
---
license: apache-2.0
tags:
- salient-object-detection
- remote-sensing
- computer-vision
- multimodal
- pytorch
---

<a id="top"></a>
<div align="center">
  <h1>πŸš€ HFCNet: Heterogeneous Feature Collaboration Network for Salient Object Detection in Optical Remote Sensing Images</h1>

  <p>
    <b>Yutong Liu</b><sup>1</sup>&nbsp;
    <b>Mingzhu Xu</b><sup>1</sup>&nbsp;
    <b>Tianxiang Xiao</b><sup>1</sup>&nbsp;
    <b>Haoyu Tang</b><sup>1</sup>&nbsp;
    <b>Yupeng Hu</b><sup>1βœ‰</sup>&nbsp;
    <b>Liqiang Nie</b><sup>1</sup>
  </p>

  <p>
    <sup>1</sup>Affiliation (Please update if needed)
  </p>
</div>

Official implementation of **HFCNet**, a Heterogeneous Feature Collaboration Network for Salient Object Detection (SOD) in Optical Remote Sensing Images.

πŸ”— **Journal:** IEEE Transactions on Geoscience and Remote Sensing (TGRS), 2024  
πŸ”— **Task:** Salient Object Detection (SOD)  
πŸ”— **Framework:** PyTorch  

---

## πŸ“Œ Model Information

### 1. Model Name
**HFCNet** (Heterogeneous Feature Collaboration Network)

---

### 2. Task Type & Applicable Tasks
- **Task Type:** Salient Object Detection / Remote Sensing  
- **Core Task:** Salient object detection in optical remote sensing imagery  
- **Applicable Scenarios:**
  - Remote sensing scene understanding  
  - Aerial object detection  
  - Environmental monitoring  

---

### 3. Project Introduction

Salient Object Detection (SOD) in remote sensing images is challenging due to complex backgrounds, scale variations, and heterogeneous feature distributions.

**HFCNet** proposes a Heterogeneous Feature Collaboration framework, which:

- Integrates multi-level heterogeneous features  
- Enhances feature interaction and collaboration  
- Improves representation of salient objects across scales  
- Strengthens robustness against background interference  

---

### 4. Training Data Source

Supported datasets:

- ORSSD  
- EORSSD  
- ORSI  

---

## πŸš€ Pre-trained Weights

### Initialization Weights

Download backbone weights:

- Swin Transformer  
- VGG16  

Place `.pth` files into:./pretrained


---

### Trained Weights

Download trained model weights:

- Baidu Cloud: https://pan.baidu.com/s/1bVC4uxf3xKhLRcC08EQKMQ?pwd=hfcn  

---

## πŸš€ Training

1. Download datasets and pre-trained weights  
2. Prepare dataset path lists (.txt files)  
3. Update dataset paths in config files  

### Run training:

```bash
nohup python -u main.py --flag train --model_id HFCNet --config config/dataset_o.yaml --device cuda:0 > train_ORSSD.log &

nohup python -u main.py --flag train --model_id HFCNet --config config/dataset_e.yaml --device cuda:0 > train_EORSSD.log &

nohup python -u main.py --flag train --model_id HFCNet --config config/dataset_orsi.yaml --device cuda:0 > train_ORSI.log &

## πŸš€ Testing
mkdir ./modelPTH-ORSSD
python main.py --flag test --model_id HFCNet --config config/dataset_o.yaml

mkdir ./modelPTH-EORSSD
python main.py --flag test --model_id HFCNet --config config/dataset_e.yaml 

mkdir ./modelPTH-ORSI
python main.py --flag test --model_id HFCNet --config config/dataset_orsi.yaml

## ⚠️ Notes
Designed for academic research
Performance depends on dataset characteristics
Requires GPU for efficient training

## πŸ“Citation
@ARTICLE{HFCNet,
  author={Liu, Yutong and Xu, Mingzhu and Xiao, Tianxiang and Tang, Haoyu and Hu, Yupeng and Nie, Liqiang},
  journal={IEEE Transactions on Geoscience and Remote Sensing}, 
  title={Heterogeneous Feature Collaboration Network for Salient Object Detection in Optical Remote Sensing Images}, 
  year={2024},
  volume={62},
  pages={1-14}
}