show the node cnt and conn cnt in pipeline;

mutate add node or add conn will not happen when there is no enough space for new nodes or conns.
This commit is contained in:
wls2002
2024-05-31 16:07:23 +08:00
parent 47b1cacb57
commit 3a7d05f133
3 changed files with 29 additions and 4 deletions

View File

@@ -11,8 +11,8 @@ if __name__ == "__main__":
genome=DefaultGenome(
num_inputs=3,
num_outputs=1,
max_nodes=100,
max_conns=200,
max_nodes=5,
max_conns=10,
node_gene=DefaultNodeGene(
activation_default=Act.tanh,
activation_options=(Act.tanh,),