-
Notifications
You must be signed in to change notification settings - Fork 0
/
machine.ini
41 lines (34 loc) · 890 Bytes
/
machine.ini
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
##
# provides generat machine learning based configurations
# all these settings are shared across the different classes
# to unify the configuration and simplify the usage
[encoder]
# size of the pictures we want to generate
width = 100
height = 100
axis = false
intensity_max = 1000
min_mz = 0
max_mz = 2000
dpi = 72
default = pyspec.machine.spectra.DualEncoder
[model]
plot = true
batch_size = 16
default = pyspec.machine.model.application.Resnet50CNNModel
# size the picture we want to scale to for evaluating the model
# does not have to be identical to the encoder size!
width = 100
height = 100
# random seed to use
seed = 12345
[training]
epoch = 100
generator = pyspec.machine.labels.generate_labels.DirectoryLabelGenerator
gpus = 3
test_size = 0.2
verbose = 1
# how do we want to predict data
[predict]
# 1 if we want to use the cpu or 0 if want to use the gpu
use_cpu = 1