File tree 3 files changed +17
-12
lines changed
3 files changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -39,23 +39,36 @@ The proposed model only consists of **sparsely connected layers** without any fu
39
39
| activation | linear | ReLU | ReLU | ReLU | ReLU | Softmax |
40
40
41
41
## Training
42
+ For training, this implementation fixes the random seed to ` 12321 ` for ` reproducibility ` .
42
43
43
- - [ ] Data Augmentation
44
+ - [x ] Data Augmentation
44
45
- [ ] Back-propagation
45
46
- [ ] Mini batch Stochastic Gradient Descent with Momentum
46
47
- [ ] Weight Initialization
47
48
- [ ] Learning Rate
48
49
- [ ] Early Stopping
49
50
51
+
52
+ ### Data Augmentation
53
+ Source code is ` src/data/generate_dataset.py ` and ` src/data/mstar.py `
54
+ - The author uses random shifting to extract 88 x 88 patches from 128 x 128 SAR image chips.
55
+ - The number of training images per one SAR image chip could be increased at maximum by (128 - 88 + 1) x (128 - 88 + 1) = 1681.
56
+
57
+ - However, for SOC, this repository does not use random shifting tue to accuracy issue.
58
+ - This implementation failed to achieve higher than 98% accuracy when using random sampling.
59
+ - The implementation details for data augmentation is as:
60
+ - Crop the center of 94 x 94 size image on 128 x 128 SAR image chip.
61
+ - Extract 88 x 88 patches with stride 1 from 94 x 94 image.
62
+
63
+
50
64
## Experiments
51
65
52
66
### Standard Operating Condition (SOC)
53
67
54
68
You can download from [ MSTAR Overview] ( https://www.sdms.afrl.af.mil/index.php?collection=mstar )
55
69
56
70
- MSTAR Target Chips (T72 BMP2 BTR70 SLICY) which is ** MSTAR-PublicTargetChips-T72-BMP2-BTR70-SLICY.zip**
57
- - MSTAR / IU Mixed Targets which consists of ** MSTAR-PublicMixedTargets-CD1.zip** and **
58
- MSTAR-PublicMixedTargets-CD2.zip**
71
+ - MSTAR / IU Mixed Targets which consists of ** MSTAR-PublicMixedTargets-CD1.zip** and ** MSTAR-PublicMixedTargets-CD2.zip**
59
72
- ** SLICY target is ignored**
60
73
61
74
| | | Train | | Test | |
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 28
28
29
29
30
30
def load_dataset (path , is_train , name , batch_size ):
31
- _transform = [torchvision .transforms .ToTensor ()] # [preprocess.CenterCrop(88), torchvision.transforms.ToTensor()]
32
- # if is_train:
33
- # _transform = [preprocess.RandomCrop(88), torchvision.transforms.ToTensor()]
34
31
35
32
_dataset = loader .Dataset (
36
33
path , name = name , is_train = is_train ,
37
- transform = torchvision .transforms .Compose (_transform )
34
+ transform = torchvision .transforms .Compose ([ torchvision . transforms . ToTensor ()] )
38
35
)
39
36
data_loader = torch .utils .data .DataLoader (
40
37
_dataset , batch_size = batch_size , shuffle = is_train , num_workers = 1
You can’t perform that action at this time.
0 commit comments