[jalal@scc-x04 pset4_GAN_RNN]$ python completion_DCGAN.py WARNING:tensorflow:From /share/pkg/tensorflow/r1.10/install/py3-gpu/lib/python3.6/site-packages/tensorflow/python/util/tf_should_use.py:118: initialize_all_variables (from tensorflow.python.ops.variables) is deprecated and will be removed after 2017-03-02. Instructions for updating: Use `tf.global_variables_initializer` instead. 2018-11-19 03:17:42.324647: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2018-11-19 03:17:42.493026: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1405] Found device 0 with properties: name: Tesla P100-PCIE-12GB major: 6 minor: 0 memoryClockRate(GHz): 1.3285 pciBusID: 0000:02:00.0 totalMemory: 11.91GiB freeMemory: 11.63GiB 2018-11-19 03:17:42.493059: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1484] Adding visible gpu devices: 0 2018-11-19 03:17:42.783187: I tensorflow/core/common_runtime/gpu/gpu_device.cc:965] Device interconnect StreamExecutor with strength 1 edge matrix: 2018-11-19 03:17:42.783220: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] 0 2018-11-19 03:17:42.783226: I tensorflow/core/common_runtime/gpu/gpu_device.cc:984] 0: N 2018-11-19 03:17:42.783488: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1097] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 11251 MB memory) -> physical GPU (device: 0, name: Tesla P100-PCIE-12GB, pci bus id: 0000:02:00.0, compute capability: 6.0) 2018-11-19 03:17:42.993172: I tensorflow/core/common_runtime/process_util.cc:69] Creating new thread pool with default inter op setting: 28. Tune using inter_op_parallelism_threads for best performance. Traceback (most recent call last): File "completion_DCGAN.py", line 297, in image_filling(real_batch, mask, args) File "completion_DCGAN.py", line 265, in image_filling saver = tf.train.Saver() File "/share/pkg/tensorflow/r1.10/install/py3-gpu/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1281, in __init__ self.build() File "/share/pkg/tensorflow/r1.10/install/py3-gpu/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1293, in build self._build(self._filename, build_save=True, build_restore=True) File "/share/pkg/tensorflow/r1.10/install/py3-gpu/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1318, in _build raise ValueError("No variables to save") ValueError: No variables to save