Trying to run my code, and when it hits net = neat.nn.FeedForwardNetwork.create(genome, config) it throws up this exception:
connections = [cg.key for cg in genome.connections.values() if cg.enabled]
AttributeError: 'list' object has no attribute 'connections'
It was throwing up an exception that said:
Warning: initial_connection = full with hidden nodes will not do direct input-output
connections;
if this is desired, set initial_connection = full_nodirect;
if not, set initial_connection = full_direct
So when I saw this I set my hidden layers to 0 and now it only tells me the first part without giving me that warning, I have a huge set of inputs and outputs though, so might that be the problem?
idk if anybody else has come across this problem but I can't seem to find the solution and any help would be appreciated thanks.
Trying to run my code, and when it hits net = neat.nn.FeedForwardNetwork.create(genome, config) it throws up this exception:
connections = [cg.key for cg in genome.connections.values() if cg.enabled]
AttributeError: 'list' object has no attribute 'connections'
It was throwing up an exception that said: Warning: initial_connection = full with hidden nodes will not do direct input-output connections;
if this is desired, set initial_connection = full_nodirect;
if not, set initial_connection = full_direct So when I saw this I set my hidden layers to 0 and now it only tells me the first part without giving me that warning, I have a huge set of inputs and outputs though, so might that be the problem?
idk if anybody else has come across this problem but I can't seem to find the solution and any help would be appreciated thanks.