TensorFlow ValueError: Variable does not exist, or was not created with tf.get_variable()

后端 未结 2 506
生来不讨喜
生来不讨喜 2021-02-10 11:33

I am a newbie to Tensorflow and trying to implement a Generative Adversarial Network. I am following this tutorial for the same in which we are trying to generate MNIST dataset

2条回答
  •  囚心锁ツ
    2021-02-10 11:51

    Things of this sort can be caused by having two GPUs and the layer definitions being split between them, causing them not to be present on one device. One solution is to use only one device by specifying export CUDA_VISIBLE_DEVICES=0

提交回复
热议问题