-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.conf
62 lines (59 loc) · 1.99 KB
/
application.conf
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
akka {
loggers = ["akka.event.slf4j.Slf4jLogger"]
loglevel = "WARNING"
log-config-on-start = "off"
logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"
actor {
provider = "akka.remote.RemoteActorRefProvider"
serialize-creators=off
serializers {
java = "akka.serialization.JavaSerializer"
proto = "akka.remote.serialization.ProtobufSerializer"
}
serialization-bindings {
// Use Protobuf for serializing Myriad messages - better performance vs. vanilla Java serializer
"com.emphysic.myriad.network.messages.ImmutableMessage" = proto
}
}
remote {
enabled-transports = ["akka.remote.netty.tcp"]
log-received-messages = on
log-sent-messages = on
netty.tcp {
# The hostname or ip clients should connect to.
# InetAddress.getLocalHost.getHostAddress is used if empty
hostname = ""
port = 8888
# If running behind a NAT, Docker container, etc. we also need to configure the hostname and port we
# bind to. Uncomment these next two lines and update with the local hostname and port.
#bind-hostname = "0.0.0.0"
#bind-port = 8888
// Maximum allowable message size
maximum-frame-size = 1280000b
}
}
}
actorpool {
// Specify which pool we'll actually be running
mode = "roi"
name = "ROIPool"
}
// Region Of Interest (ROI) Pool
roi {
num_workers = 17 // Number of workers in the pool
cls = "com.emphysic.myriad.actorpool.ROIPool" // Class of pool to instantiate
// Path to ROIBundle - trained model, preprocessor, and associated metadata
// Can be full path e.g. /path/to/mymodel.myr, or reference to JAR's resources folder e.g. /model.myr
bundle = "/pa_canny_median.myr"
}
// Sliding Window Pool
window {
num_workers = 15 // Number of workers in the pool
cls = "com.emphysic.myriad.actorpool.WindowPool" // Class of pool to instantiate
// Width of window in elements
width = 15
// Height of window in elements
height = 15
// Step size of window in elements
step = 7
}