-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathconfig.ini
More file actions
70 lines (55 loc) · 1.32 KB
/
Copy pathconfig.ini
File metadata and controls
70 lines (55 loc) · 1.32 KB
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
[common]
patchsize = 256
[flask]
debug = False
port = 5555
clear_stale_jobs_at_start = True
log_level = DEBUG
[cuda]
gpuid = 0
[sqlalchemy]
database_uri = sqlite:///data.db
echo = True
delete_old_jobs_at_start = True
[pooling]
npoolthread = 4
[train_ae]
numepochs = 1000
num_epochs_earlystop = 100
num_min_epochs = 300
numimages = 32
batchsize = 32
patchsize = ${common:patchsize}
#-1 implies either 0 for windows, for number of cpus for linux
numworkers = 0
[train_tl]
numepochs = 1000
num_epochs_earlystop = 100
num_min_epochs = 300
batchsize = 8
patchsize = ${common:patchsize}
edgeweight = 2
#-1 implies compute from images, default is .5
pclass_weight = -1
#-1 implies either 0 for windows, for number of cpus for linux
numworkers = 0
fillbatch = True
[make_patches]
patchsize = ${common:patchsize}
[make_embed]
patchsize = ${common:patchsize}
batchsize = 32
[get_prediction]
#can be larger depending on memory size
batchsize = 8
patchsize = ${common:patchsize}
[frontend]
# how many seconds to sleep between checking with the server if an object is ready yet:
retry_seconds = 5
[superpixel]
batchsize = 32
patchsize = ${common:patchsize}
# desired approximate *width* of _superpixel cell_ in pixels, will be used to determine number of segments
approxcellsize = 20
compactness = .01
command_to_use = make_superpixel_dl.py