-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample_config.yaml
76 lines (71 loc) · 2.05 KB
/
example_config.yaml
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
## Deep-learning-base Ionogram Automatic Scaler Configuration File
# Data Parameters
Data:
BasePath: F:/Ionosonde/
TrainListFile: train.lst
TestListFile: test.lst
# pad input height to 512
PadHeight: 512
# pad input width to 512
PadWidth: 512
# number of input channels
ChannelNum: 3
# Number of predicted classes
ClassNum: 3
# Model Parameters
Model:
Type: FPN
# Backbone available params:
# VGG 'vgg16' 'vgg19'
# ResNet 'resnet18' 'resnet34' 'resnet50' 'resnet101' 'resnet152'
# SE-ResNet 'seresnet18' 'seresnet34' 'seresnet50' 'seresnet101' 'seresnet152'
# ResNeXt 'resnext50' 'resnext101'
# SE-ResNeXt 'seresnext50' 'seresnext101'
# SENet154 'senet154'
# DenseNet 'densenet121' 'densenet169' 'densenet201'
# Inception 'inceptionv3' 'inceptionresnetv2'
# MobileNet 'mobilenet' 'mobilenetv2'
# EfficientNet 'efficientnetb0' 'efficientnetb1' 'efficientnetb2' 'efficientnetb3' 'efficientnetb4' 'efficientnetb5' efficientnetb6' efficientnetb7'
Backbone: resnet50
# BackboneWeights available params:
# None imagenet
BackboneWeights: None
# Number of pyramid block filters
PyramidBlockFilters: 256
# optimizer: Adam RAdam SGD
Optimizer: Adam
# Learning rate
LearningRate: 0.0001
# Loss function available params:
# bce (Binary Cross Entropy)
# dice
# BinaryFocalLoss
Loss: BinaryFocalLoss
# Evalute metric available params:
# IoU
# F_score
Metric: F_score
Train:
# total training step
TotalStep: 160000
# print interval
PrintInterval: 100
# model save step
SaveInterval: 2000
# test img plot interval
PlotInterval: 1000
# img save dirs's
ImgSaveDir: ./vis_imgs/
# model save dir
ModelSaveDir: ./models/
HistLogDir: ./models/
Test:
# Options: [OnlyMinHMaxF] [AllOutput]
TestSave: AllOutput
ModelPath: F:/Ionosonde/models/STEP_158000.model
PostProcess: None
SavePath: F:/Ionosonde/models/
Threshold: 0.3
ScaleOnly: True
Eval:
ResultPath: ./res.npy