You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I was running this code on the same Cat dataset, everything is good but I am getting an error regarding losses variable return by the train function.
Can you please fix this error.
I am attaching the error report below
Hi I was running this code on the same Cat dataset, everything is good but I am getting an error regarding losses variable return by the train function.
Can you please fix this error.
I am attaching the error report below
NameError Traceback (most recent call last)
in ()
4 with tf.Graph().as_default():
5 losses, samples = train(epochs, batch_size, z_dim, learning_rate_D, learning_rate_G, beta1,
----> 6 dataset.get_batches, dataset.shape, dataset.image_mode, alpha)
in train(epoch_count, batch_size, z_dim, learning_rate_D, learning_rate_G, beta1, get_batches, data_shape, data_image_mode, alpha)
81
82
---> 83 return losses, samples
NameError: name 'losses' is not defined
The text was updated successfully, but these errors were encountered: