perfect! fix bug about jax auto recompile
add task xor-3d
This commit is contained in:
@@ -4,7 +4,8 @@ import configparser
|
||||
|
||||
import numpy as np
|
||||
|
||||
from algorithms.neat import act_name2func, agg_name2func
|
||||
from algorithms.neat.genome.activations import act_name2func
|
||||
from algorithms.neat.genome.aggregations import agg_name2func
|
||||
|
||||
# Configuration used in jit-able functions. The change of values will not cause the re-compilation of JAX.
|
||||
jit_config_keys = [
|
||||
|
||||
@@ -1,19 +1,18 @@
|
||||
[basic]
|
||||
num_inputs = 2
|
||||
num_outputs = 1
|
||||
init_maximum_nodes = 50
|
||||
init_maximum_connections = 50
|
||||
init_maximum_species = 10
|
||||
expand_coe = 1.5
|
||||
pre_expand_threshold = 0.75
|
||||
maximum_nodes = 50
|
||||
maximum_connections = 50
|
||||
maximum_species = 10
|
||||
forward_way = "pop"
|
||||
batch_size = 4
|
||||
random_seed = 0
|
||||
|
||||
[population]
|
||||
fitness_threshold = 100000
|
||||
fitness_threshold = 3.99999
|
||||
generation_limit = 1000
|
||||
fitness_criterion = "max"
|
||||
pop_size = 50
|
||||
pop_size = 100000
|
||||
|
||||
[genome]
|
||||
compatibility_disjoint = 1.0
|
||||
|
||||
Reference in New Issue
Block a user