fix bugs
This commit is contained in:
@@ -75,7 +75,7 @@ from pipeline import Pipeline
|
||||
from algorithm.neat import *
|
||||
|
||||
from problem.rl_env import BraxEnv
|
||||
from tensorneat.utils import Act
|
||||
from tensorneat.utils import ACT
|
||||
|
||||
if __name__ == '__main__':
|
||||
pipeline = Pipeline(
|
||||
@@ -87,8 +87,8 @@ if __name__ == '__main__':
|
||||
max_nodes=50,
|
||||
max_conns=100,
|
||||
node_gene=DefaultNodeGene(
|
||||
activation_options=(Act.tanh,),
|
||||
activation_default=Act.tanh,
|
||||
activation_options=(ACT.tanh,),
|
||||
activation_default=ACT.tanh,
|
||||
)
|
||||
),
|
||||
pop_size=1000,
|
||||
|
||||
Reference in New Issue
Block a user