Open kwg opened 6 years ago
This is a situation where network visualization would help ... is the network even connected from the inputs all the way to the output, or does crossover break this?
Not sure yet, but something is going on deeper than I thought. I "fixed" the black screens, but now they don't change. and they are random. The bug is intermittent. I do have a network output (block of text) in the debug, but I don't get to the output on a failed generation. It is happening in the construction of a TWEANN(TWEANNGenotype) somewhere. Construction fails silently in the building of the links.
I might back burner this until the weekend and focus on getting the remaining features added, then come back to the after.
outputs from a fail. 1 and 2 are the initial mutated (50x) artworks 3 and 4 are the products of the crossover (both toModify and toReturn) only 4 creates an image, 3 fails
https://github.com/kwg/InfiniteArtGallery/tree/crossover_debug
see this branch for debug work
If the level of mutations is set high (50+) for the initial generation, there is a very high chance that the images will draw solid black on crossover. Debug log indicates that the CPPN image generation is not completing before the image attempts to render. This is likely tied to the black screen bug seen before deep into the evolution of a level.