woodsja

callable

Nov 29th, 2018
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 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:28:51.164971: 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:28:51.950303: 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:28:52.132097: 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:28:52.132941: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1490] Adding visible gpu devices: 0, 1
  14. 2018-11-29 19:28:55.087518: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] Device interconnect StreamExecutor with strength 1 edge matrix:
  15. 2018-11-29 19:28:55.087936: I tensorflow/core/common_runtime/gpu/gpu_device.cc:977] 0 1
  16. 2018-11-29 19:28:55.088187: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990] 0: N Y
  17. 2018-11-29 19:28:55.088402: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990] 1: Y N
  18. 2018-11-29 19:28:55.088945: 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:28:55.584076: 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:\Program Files\Python36\lib\inspect.py", line 1119, in getfullargspec
  23. sigcls=Signature)
  24. File "C:\Program Files\Python36\lib\inspect.py", line 2186, in _signature_from_callable
  25. raise TypeError('{!r} is not a callable object'.format(obj))
  26. TypeError: <BatchDataset shapes: ((?, 28, 28, 1), (?,)), types: (tf.float32, tf.int64)> is not a callable object
  27.  
  28. The above exception was the direct cause of the following exception:
  29.  
  30. Traceback (most recent call last):
  31. File "C:/Users/woods/PycharmProjects/JamesMinigames/Agents/mnist eager.py", line 60, in <module>
  32. classifier.train(input_fn=train_input_fn(train_images, train_labels, 100), steps=2000)
  33. File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\estimator.py", line 356, in train
  34. loss = self._train_model(input_fn, hooks, saving_listeners)
  35. File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\estimator.py", line 1181, in _train_model
  36. return self._train_model_default(input_fn, hooks, saving_listeners)
  37. File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\estimator.py", line 1208, in _train_model_default
  38. input_fn, model_fn_lib.ModeKeys.TRAIN))
  39. File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\estimator.py", line 1049, in _get_features_and_labels_from_input_fn
  40. self._call_input_fn(input_fn, mode))
  41. File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\estimator\estimator.py", line 1127, in _call_input_fn
  42. input_fn_args = function_utils.fn_args(input_fn)
  43. File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\util\function_utils.py", line 56, in fn_args
  44. args = tf_inspect.getfullargspec(fn).args
  45. File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\util\tf_inspect.py", line 216, in getfullargspec
  46. if d.decorator_argspec is not None), _getfullargspec(target))
  47. File "C:\Program Files\Python36\lib\inspect.py", line 1125, in getfullargspec
  48. raise TypeError('unsupported callable') from ex
  49. TypeError: unsupported callable
  50.  
  51. Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment