forked from joschabach/micropsi2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.default.ini
82 lines (63 loc) · 2.25 KB
/
config.default.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
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
77
78
79
80
81
82
##################################################
#
# Configuration for the micropsi2 toolkit.
#
# Copy this file to config.ini to customize it.
#
##################################################
[micropsi2]
# the directory where your nodenet-data, world-data
# native modules and nodefunctions reside
data_directory = ~/micropsi2_data/
# the port on your machine where the micropsi
# toolkit is served
port = 6543
# which hosts to serve to:
# localhost serves only for you local machine,
# 0.0.0.0 serves for everybody
host = localhost
# which server to use.
# a single threaded devel server named "wsgiref" is bundled and runs out of the box
# if you installed requirements.txt, use "cherrypy", a multi-threaded stable server.
# check here for a list of other supported servers: http://bottlepy.org/docs/0.12/deployment.html#switching-the-server-backend
server = wsgiref
# single_agent_mode means that only one nodenet can be loaded at a time.
# if you use the minecraft connection, this is recommended
; single_agent_mode = 1
# debug flag for bottle
; debug = 1
# python profiler for recipes and the nodenet-runner
; profile_runner = 1
[minecraft]
# use your minecraft.net username with password, respective
# server address, and authenticated = True
# or else use some name, no password, and
# authenticated = False for unauthenticated servers
username = bot
password =
authenticated = False
server = localhost
port = 25565
; simulate_vision = <some_file>
; record_vision = <some_other_file>
; debug_vision = 1
[logging]
# the logging level for system, world and nodenet.
# must be one of CRITICAL, ERROR, WARNING, INFO, DEBUG;
level_system = WARNING
level_world = WARNING
level_agent = WARNING
# an optional logfile the loggers write to
; logfile = /tmp/micropsi.log
[theano]
# floating point precision for theano_engine. 32 or 64.
precision = 32
# use sparse weight matrices. True or False.
sparse_weight_matrix = True
# number of nodes to inizialize new theano_engine partitions with
initial_number_of_nodes = 2000
# number of elements to create per node initially
# a node net with an expected ratio of concept nodes : registers of 1:1
# should use a (7 + 1) / 2 = 4 elements assumption
# pure register partitions can use a 1 element assumption
elements_per_node_assumption = 4