Skip to content

AttributeError: 'str' object has no attribute 'stagnation_type' #9

Description

@BeholdenArt

Command ran : >python something.py --max-steps=1000 --episodes=10 --generations=50 --render

Input Nodes: 4
Output Nodes: 2

Traceback (most recent call last):
File "something.py", line 111, in
train_network(my_env)
File "something.py", line 72, in train_network
pop = population.Population(config_path)
File "D:\Anaconda\envs\Tensor-GPU\lib\site-packages\neat\population.py", line 26, in init
stagnation = config.stagnation_type(config.stagnation_config, self.reporters)
AttributeError: 'str' object has no attribute 'stagnation_type'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions