Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "D:\ML Laboratory New\3. Reinforcement Learning\3. Duelling Network\ddqn.py", line 225, in <module>
- action = agent.choose_action(current_state)
- File "D:\ML Laboratory New\3. Reinforcement Learning\3. Duelling Network\ddqn.py", line 160, in choose_action
- actions = self.model.advantage(state)
- File "C:\Users\Tejas\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\keras\engine\base_layer.py", line 822, in __call__
- outputs = self.call(cast_inputs, *args, **kwargs)
- File "C:\Users\Tejas\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\keras\layers\core.py", line 1131, in call
- outputs = standard_ops.tensordot(inputs, self.kernel, [[rank - 1], [0]])
- File "C:\Users\Tejas\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\ops\math_ops.py", line 4106, in tensordot
- ab_matmul = matmul(a_reshape, b_reshape)
- File "C:\Users\Tejas\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\util\dispatch.py", line 180, in wrapper
- return target(*args, **kwargs)
- File "C:\Users\Tejas\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\ops\math_ops.py", line 2798, in matmul
- a, b, transpose_a=transpose_a, transpose_b=transpose_b, name=name)
- 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
- _ops.raise_from_not_ok_status(e, name)
- 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
- six.raise_from(core._status_to_exception(e.code, message), None)
- File "<string>", line 3, in raise_from
- tensorflow.python.framework.errors_impl.NotFoundError: Could not find valid device for node.
- Node:{{node MatMul}}
- All kernels registered for op MatMul :
- device='GPU'; T in [DT_FLOAT]
- device='GPU'; T in [DT_DOUBLE]
- device='GPU'; T in [DT_COMPLEX64]
- device='GPU'; T in [DT_COMPLEX128]
- device='GPU'; T in [DT_HALF]
- device='CPU'; label='eigen'; T in [DT_FLOAT]
- device='CPU'; label='eigen'; T in [DT_DOUBLE]
- device='CPU'; label='eigen'; T in [DT_HALF]
- device='CPU'; label='eigen'; T in [DT_BFLOAT16]
- device='CPU'; label='eigen'; T in [DT_INT32]
- device='CPU'; label='eigen'; T in [DT_INT64]
- device='CPU'; label='eigen'; T in [DT_COMPLEX64]
- device='CPU'; label='eigen'; T in [DT_COMPLEX128]
- device='CPU'; T in [DT_FLOAT]
- device='CPU'; T in [DT_DOUBLE]
Add Comment
Please, Sign In to add comment