woodsja

Dictionary of tensors

Nov 29th, 2018
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 KB | None | 0 0
  1. "C:\Program Files\Python36\python.exe" "C:/Users/woods/PycharmProjects/JamesMinigames/Agents/mnist eager.py"
  2. 1.11.0
  3. 2018-11-29 19:35:57.722467: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
  4. eager beaver
  5. 2018-11-29 19:35:58.352664: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1411] Found device 0 with properties:
  6. name: GeForce GTX 980 Ti major: 5 minor: 2 memoryClockRate(GHz): 1.1015
  7. pciBusID: 0000:03:00.0
  8. totalMemory: 6.00GiB freeMemory: 4.88GiB
  9. 2018-11-29 19:35:58.551744: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1411] Found device 1 with properties:
  10. name: GeForce GTX 980 Ti major: 5 minor: 2 memoryClockRate(GHz): 1.1015
  11. pciBusID: 0000:04:00.0
  12. totalMemory: 6.00GiB freeMemory: 4.88GiB
  13. 2018-11-29 19:35:58.552913: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1490] Adding visible gpu devices: 0, 1
  14. 2018-11-29 19:36:01.420015: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] Device interconnect StreamExecutor with strength 1 edge matrix:
  15. 2018-11-29 19:36:01.420620: I tensorflow/core/common_runtime/gpu/gpu_device.cc:977] 0 1
  16. 2018-11-29 19:36:01.420910: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990] 0: N Y
  17. 2018-11-29 19:36:01.421188: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990] 1: Y N
  18. 2018-11-29 19:36:01.421754: 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)
  19. 2018-11-29 19:36:01.947951: 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)
  20. hello, [[4.]]
  21. Traceback (most recent call last):
  22. File "C:/Users/woods/PycharmProjects/JamesMinigames/Agents/mnist eager.py", line 61, in <module>
  23. input_fn=lambda: train_input_fn(train_images, train_labels, 100), steps=2000)
  24. File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\estimator.py", line 356, in train
  25. loss = self._train_model(input_fn, hooks, saving_listeners)
  26. File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\estimator.py", line 1181, in _train_model
  27. return self._train_model_default(input_fn, hooks, saving_listeners)
  28. File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\estimator.py", line 1211, in _train_model_default
  29. features, labels, model_fn_lib.ModeKeys.TRAIN, self.config)
  30. File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\estimator.py", line 1169, in _call_model_fn
  31. model_fn_results = self._model_fn(features=features, **kwargs)
  32. File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\canned\dnn.py", line 385, in _model_fn
  33. batch_norm=batch_norm)
  34. File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\canned\dnn.py", line 179, in _dnn_model_fn
  35. 'Given type: {}'.format(type(features)))
  36. ValueError: features should be a dictionary of `Tensor`s. Given type: <class 'tensorflow.python.framework.ops.Tensor'>
  37.  
  38. Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment