Skip to content

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

@BeholdenArt

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions