woodsja icon

Untitled

woodsja | PRO | 11/29/18 11:54:26 PM UTC | 0 ⭐ | 347 👁️ | Never ⏰ | []
text |

3.68 KB

|

None

|

0 👍

/

0 👎

"C:\Program Files\Python36\python.exe" "C:/Users/woods/PycharmProjects/JamesMinigames/Agents/mnist eager.py"
1.11.0
eager beaver
2018-11-29 19:48:42.856687: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2018-11-29 19:48:43.743214: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1411] Found device 0 with properties: 
name: GeForce GTX 980 Ti major: 5 minor: 2 memoryClockRate(GHz): 1.1015
pciBusID: 0000:03:00.0
totalMemory: 6.00GiB freeMemory: 4.88GiB
2018-11-29 19:48:43.953694: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1411] Found device 1 with properties: 
name: GeForce GTX 980 Ti major: 5 minor: 2 memoryClockRate(GHz): 1.1015
pciBusID: 0000:04:00.0
totalMemory: 6.00GiB freeMemory: 4.88GiB
2018-11-29 19:48:43.954767: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1490] Adding visible gpu devices: 0, 1
2018-11-29 19:48:47.353765: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-11-29 19:48:47.354328: I tensorflow/core/common_runtime/gpu/gpu_device.cc:977]      0 1 
2018-11-29 19:48:47.354607: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990] 0:   N Y 
2018-11-29 19:48:47.355032: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990] 1:   Y N 
2018-11-29 19:48:47.355827: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1103] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4633 MB memory) -> physical GPU (device: 0, name: GeForce GTX 980 Ti, pci bus id: 0000:03:00.0, compute capability: 5.2)
2018-11-29 19:48:47.857649: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1103] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:1 with 4633 MB memory) -> physical GPU (device: 1, name: GeForce GTX 980 Ti, pci bus id: 0000:04:00.0, compute capability: 5.2)
hello, [[4.]]
Traceback (most recent call last):
  File "C:/Users/woods/PycharmProjects/JamesMinigames/Agents/mnist eager.py", line 62, in <module>
    input_fn=lambda: train_input_fn(train_images, train_labels, 100), steps=2000)
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\estimator.py", line 356, in train
    loss = self._train_model(input_fn, hooks, saving_listeners)
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\estimator.py", line 1181, in _train_model
    return self._train_model_default(input_fn, hooks, saving_listeners)
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\estimator.py", line 1208, in _train_model_default
    input_fn, model_fn_lib.ModeKeys.TRAIN))
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\estimator.py", line 1049, in _get_features_and_labels_from_input_fn
    self._call_input_fn(input_fn, mode))
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\estimator.py", line 1136, in _call_input_fn
    return input_fn(**kwargs)
  File "C:/Users/woods/PycharmProjects/JamesMinigames/Agents/mnist eager.py", line 62, in <lambda>
    input_fn=lambda: train_input_fn(train_images, train_labels, 100), steps=2000)
  File "C:/Users/woods/PycharmProjects/JamesMinigames/Agents/mnist eager.py", line 25, in train_input_fn
    dict(tf.cast(images / 255, tf.float32)), tf.cast(labels, tf.int64)
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\framework\ops.py", line 457, in __iter__
    "Tensor objects are only iterable when eager execution is "
TypeError: Tensor objects are only iterable when eager execution is enabled. To iterate over this tensor use tf.map_fn.
 Process finished with exit code 1

Comments