Now, we'll repeat the experiment, but this time using the SSIM metric to measure the difference between the reference image and the reconstructed image. To make this happen, we'll modify the definition of getDiff(), as follows:
def getDiff(individual): return imageTest.getDifference(individual, "SSIM"),
This experiment produced the following side-by-side milestones of the saved images:
The following image shows the results for the following generations:
The result seems ...