-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathneat-config
More file actions
66 lines (56 loc) · 1.82 KB
/
neat-config
File metadata and controls
66 lines (56 loc) · 1.82 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
[NEAT]
pop_size = 50
fitness_criterion = max
fitness_threshold = 10000.0
reset_on_extinction = False
[OptimizerGenome]
activation_default = none
activation_mutate_rate = 2.5
aggregation_default = sum
aggregation_mutate_rate = 2.5
attribute_add_prob = 0.03
attribute_delete_prob = 0.03
conn_add_prob = 0.5
conn_delete_prob = 0.05
node_add_prob = 0.2
node_delete_prob = 0.02
node_type_mutate_rate = 0.01
# TorchScript optimizers take (loss, prev_loss, named_parameters) and return
# a single dict of updated parameters, so every decoded graph must expose
# three input pins and one output pin.
num_inputs = 3
num_outputs = 1
compatibility_disjoint_coefficient = 1.0
compatibility_weight_coefficient = 0.5
enabled_default = True
enabled_mutate_rate = .01
[DefaultSpeciesSet]
compatibility_threshold = 2.5
[RelativeRankStagnation]
species_fitness_func = max
max_stagnation = 25
species_elitism = 5
rank_tolerance = 1e-06
[GuidedReproduction]
elitism = 5
survival_threshold = 0.2
[GuidedPopulation]
kl_partial_slice_ratio = 0.5
# kl_partial_slice_dims = 8
kl_partial_slice_start = 0
wl_kernel_loss_weight = 1.0
wl_kernel_iterations = 5
# NOTE: each phase here signifies what is trained not what is frozen
trainer_freeze_cycle = all
trainer_freeze_verbose = False
guided_debug_dump_enabled = False
guided_invalid_viz_enabled = True
guided_invalid_viz_limit = 10
teacher_force_epochs = 5
teacher_force_epochs_max = 15
teacher_force_weight = 2.0
teacher_force_weight_max = 4.0
teacher_force_verbose = True
trainer_dataset_max_samples = 256 # 0 disables subsampling
trainer_dataset_valid_ratio = 0.75 # only used when max_samples > 0
trainer_seed_generations = 20 # number of early generations that must keep seed graphs