Machine Learning, Data Science, Deep Learning, Artificial Intelligence, Towards Data Science.
dLossFake.append([e, dLoss[1]]) gLossLogs.append([e, gLoss]) dLossRealArr = np.array(dLossReal) dLossFakeArr = np.array(dLossFake) gLossLogsArr = np.array(gLossLogs) # At the end of training plot the losses vs epochs show_imgs(generator, e) plt.plot(dLossRealArr[:, 0], dLossRealArr[:, 1],