CodeReclaimers / neat-python

Python implementation of the NEAT neuroevolution algorithm
BSD 3-Clause "New" or "Revised" License
1.42k stars 493 forks source link

connection issue, with recurrent nn #231

Closed Shikamaru5 closed 2 years ago

Shikamaru5 commented 2 years ago

When I run my algo it hits the part where you write, net = neat.nn.recurrent.RecurrentNetwork.create(genome, config) and then it's giving me an error in the create def, in the recurrent.py on line 48, I just don't understand what it's trying to tell me. required = required_for_output(genome_config.input_keys, genome_config.output_keys, genome.connections)
AttributeError: 'list' object has no attribute 'connections'

In my config file my my Feed_Forward is set to false, and my initial_connection = Full If anyone understands that issue a bit better I'd really appreciate it, because I've got my inputs and outputs specified properly as far as I know, and I don't have any hidden layers to start.