fix bugs
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"from algorithm.neat.genome.advance import AdvanceInitialize\n",
|
||||
"from algorithm.neat.gene.node.default_without_response import NodeGeneWithoutResponse\n",
|
||||
"from utils.graph import topological_sort_python\n",
|
||||
"from tensorneat.utils import Act, Agg\n",
|
||||
"from tensorneat.utils import ACT, AGG\n",
|
||||
"\n",
|
||||
"import numpy as np"
|
||||
],
|
||||
@@ -36,11 +36,11 @@
|
||||
" max_nodes=30,\n",
|
||||
" max_conns=50,\n",
|
||||
" node_gene=NodeGeneWithoutResponse(\n",
|
||||
" activation_default= Act.identity,\n",
|
||||
" aggregation_default=Agg.sum,\n",
|
||||
" # activation_options=(Act.tanh, Act.sigmoid, Act.identity, Act.clamped),\n",
|
||||
" activation_options=( Act.identity, ),\n",
|
||||
" aggregation_options=(Agg.sum,),\n",
|
||||
" activation_default= ACT.identity,\n",
|
||||
" aggregation_default=AGG.sum,\n",
|
||||
" # activation_options=(ACT.tanh, ACT.sigmoid, ACT.identity, ACT.clamped),\n",
|
||||
" activation_options=( ACT.identity, ),\n",
|
||||
" aggregation_options=(AGG.sum,),\n",
|
||||
" ),\n",
|
||||
" # output_transform=jnp.tanh,\n",
|
||||
")\n",
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user