I am new to deep learning, so at first I thought it must be an error with my code. After testing with a code example I know to work, I discovered I have an issue very similar to this. The produced images are nonsensical - often some noise centred around the middle of the image. I am using the latest version of TensorFlow(2.9.2) and the metal plugin (0.5.0), and macOS Monterey (12.3).
The code I used is here https://github.com/PacktPublishing/Deep-Learning-with-TensorFlow-2-and-Keras/blob/master/Chapter%206/VanillaGAN.ipynb
Below are images of the result using the Metal plugin at epochs 1 & 5 (larger epochs have also been tested)
Running this code in an environment using standard TensorFlow (without the macOS/metal plugin) does not produce the same error. It also works on Google Colab fine.
Topic:
Graphics & Games
SubTopic:
General
Tags: