Skip to content

Commit 4fdf008

Browse files
author
jangsoopark
committed
SOC Results
1 parent 221f4bf commit 4fdf008

File tree

9 files changed

+53
-98
lines changed

9 files changed

+53
-98
lines changed

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,9 @@ The proposed model only consists of **sparsely connected layers** without any fu
3939
| activation | linear | ReLU | ReLU | ReLU | ReLU | Softmax |
4040

4141
## Training
42-
~~For training, this implementation fixes the random seed to `12321` for `reproducibility`.~~
42+
For training, this implementation fixes the random seed to `12321` for `reproducibility`.
4343

44-
The experimental conditions are same as in the paper, except for `data augmentation` and `learning rate`.
45-
The `learning rate` is initialized with `1e-3` and decreased by a factor of 0.1 **after 26 epochs**.
44+
The experimental conditions are same as in the paper, except for `data augmentation`.
4645
You can see the details in `src/model/_base.py` and `experiments/config/AConvNet-SOC.json`
4746

4847
### Data Augmentation
@@ -52,10 +51,9 @@ You can see the details in `src/model/_base.py` and `experiments/config/AConvNet
5251

5352
- However, for SOC, this repository does not use random shifting tue to accuracy issue.
5453
- You can see the details in `src/data/generate_dataset.py` and `src/data/mstar.py`
55-
- This implementation failed to achieve higher than 98% accuracy when using random sampling.
5654
- The implementation details for data augmentation is as:
57-
- Crop the center of 94 x 94 size image on 128 x 128 SAR image chip (49 patches per image chip).
58-
- Extract 88 x 88 patches with stride 1 from 94 x 94 image.
55+
- Crop the center of 94 x 94 size image on 100 x 100 SAR image chip (49 patches per image chip).
56+
- Extract 88 x 88 patches with stride 1 from 94 x 94 image with random cropping.
5957

6058

6159
## Experiments
@@ -148,14 +146,14 @@ $ python3 train.py --config_name=config/AConvNet-SOC.json
148146
```
149147

150148
#### Results of SOC
151-
- ~~Final Accuracy is **99.05%** (The official accuracy is 99.13%)~~
149+
- Final Accuracy is **99.13%** at epoch 26 (The official accuracy is 99.13%)
152150
- You can see the details in `notebook/experiments-SOC.ipynb`
153151

154152
- Visualization of training loss and test accuracy
155153

156154
![soc-training-plot](./assets/figure/soc-training-plot.png)
157155

158-
- ~~Confusion Matrix with best model at **epoch 28**~~
156+
- Confusion Matrix with best model at **epoch 28**
159157

160158
![soc-confusion-matrix](./assets/figure/soc-confusion-matrix.png)
161159

@@ -165,7 +163,7 @@ $ python3 train.py --config_name=config/AConvNet-SOC.json
165163

166164
| Noise | 1% | 5% | 10% | 15%|
167165
| :---: | :---: | :---: | :---: | :---: |
168-
| AConvNet-PyTorch | 98.56 | 94.39 | 85.03 | 73.65 |
166+
| AConvNet-PyTorch | 98.60 | 95.18 | 85.36 | 73.24 |
169167
| AConvNet-Official | 91.76 | 88.52 | 75.84 | 54.68 |
170168

171169
<!--

assets/figure/001.png

15.8 KB
Loading

assets/figure/2S1.png

1.23 KB
Loading
181 Bytes
Loading

assets/figure/soc-training-plot.png

4.18 KB
Loading

experiments/config/AConvNet-EOC-1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"num_classes": 4,
55
"channels": 2,
66
"batch_size": 100,
7-
"epochs": 50,
7+
"epochs": 100,
88
"momentum": 0.9,
9-
"lr": 1e-3,
10-
"lr_step": [14],
9+
"lr": 1e-4,
10+
"lr_step": [50],
1111
"lr_decay": 0.1,
1212
"weight_decay": 4e-3,
1313
"dropout_rate": 0.5

experiments/config/AConvNet-SOC-12321.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

notebook/experiments-SOC.ipynb

Lines changed: 27 additions & 55 deletions
Large diffs are not rendered by default.

notebook/target-chip.ipynb

Lines changed: 16 additions & 17 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)