Guest User

Untitled

a guest
Apr 16th, 2020
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.57 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "D:\ML Laboratory New\3. Reinforcement Learning\3. Duelling Network\ddqn.py", line 225, in <module>
  3.     action = agent.choose_action(current_state)    
  4.   File "D:\ML Laboratory New\3. Reinforcement Learning\3. Duelling Network\ddqn.py", line 160, in choose_action
  5.     actions = self.model.advantage(state)
  6.   File "C:\Users\Tejas\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\keras\engine\base_layer.py", line 822, in __call__
  7.     outputs = self.call(cast_inputs, *args, **kwargs)
  8.   File "C:\Users\Tejas\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\keras\layers\core.py", line 1131, in call
  9.     outputs = standard_ops.tensordot(inputs, self.kernel, [[rank - 1], [0]])
  10.   File "C:\Users\Tejas\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\ops\math_ops.py", line 4106, in tensordot
  11.     ab_matmul = matmul(a_reshape, b_reshape)
  12.   File "C:\Users\Tejas\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\util\dispatch.py", line 180, in wrapper
  13.     return target(*args, **kwargs)
  14.   File "C:\Users\Tejas\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\ops\math_ops.py", line 2798, in matmul
  15.     a, b, transpose_a=transpose_a, transpose_b=transpose_b, name=name)
  16.   File "C:\Users\Tejas\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\ops\gen_math_ops.py", line 5616, in mat_mul
  17.     _ops.raise_from_not_ok_status(e, name)
  18.   File "C:\Users\Tejas\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\framework\ops.py", line 6606, in raise_from_not_ok_status
  19.     six.raise_from(core._status_to_exception(e.code, message), None)
  20.   File "<string>", line 3, in raise_from
  21. tensorflow.python.framework.errors_impl.NotFoundError: Could not find valid device for node.
  22. Node:{{node MatMul}}
  23. All kernels registered for op MatMul :
  24.   device='GPU'; T in [DT_FLOAT]
  25.   device='GPU'; T in [DT_DOUBLE]
  26.   device='GPU'; T in [DT_COMPLEX64]
  27.   device='GPU'; T in [DT_COMPLEX128]
  28.   device='GPU'; T in [DT_HALF]
  29.   device='CPU'; label='eigen'; T in [DT_FLOAT]
  30.   device='CPU'; label='eigen'; T in [DT_DOUBLE]
  31.   device='CPU'; label='eigen'; T in [DT_HALF]
  32.   device='CPU'; label='eigen'; T in [DT_BFLOAT16]
  33.   device='CPU'; label='eigen'; T in [DT_INT32]
  34.   device='CPU'; label='eigen'; T in [DT_INT64]
  35.   device='CPU'; label='eigen'; T in [DT_COMPLEX64]
  36.   device='CPU'; label='eigen'; T in [DT_COMPLEX128]
  37.   device='CPU'; T in [DT_FLOAT]
  38.   device='CPU'; T in [DT_DOUBLE]
Add Comment
Please, Sign In to add comment