Post marked as solved
Post marked as solved with 6 replies, 1,654 views
I'm running example from TF site and getting different results from CPU and GPU.
Results from GPU are obviously wrong (second image).
Why?
If I'm executing code with with tf.device('/cpu:0') then the code works as expected, but slower.
It's sufficient to execute this lines on CPU to fix the issue:
with tf.device('/cpu:0'):
real_output = discriminator(images, training=True)
fake_output = discriminator(generated_images, training=True)
Source code:
https://www.tensorflow.org/tutorials/generative/dcgan
My complete results:
https://disk.yandex.ru/d/E-hU5dpffOmkLg