kwg / InfiniteArtGallery

Infinite Art Gallery is a game that uses established methods of evolving art with Compositional Pattern Producing Networks (CPPNs) to allow users to explore a world of art tailored to their preferences.
https://people.southwestern.edu/~schrum2/SCOPE/iag.php
3 stars 0 forks source link

TWEANNCrossover test chamber #71

Open kwg opened 6 years ago

kwg commented 6 years ago

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.

schrum2 commented 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?

kwg commented 6 years ago

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.

kwg commented 6 years ago

DEBUG.crossover.xlsx

kwg commented 6 years ago

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

kwg commented 5 years ago

https://github.com/kwg/InfiniteArtGallery/tree/crossover_debug

see this branch for debug work