Traceback (most recent call last):
File “/home/aya/.local/lib/python3.8/site-packages/tensorflow/python/client/session.py”, line 1380, in do_call
return fn(*args)
File “/home/aya/.local/lib/python3.8/site-packages/tensorflow/python/client/session.py”, line 1362, in run_fn
self.extend_graph()
File “/home/aya/.local/lib/python3.8/site-packages/tensorflow/python/client/session.py”, line 1403, in extend_graph
tf_session.ExtendSession(self.session)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot assign a device for operation bn_decay: Could not satisfy explicit device specification ‘/device:GPU:0’ because no supported kernel for GPU devices is available.
Colocation Debug Info:
Colocation group had the following types and supported devices:
Root Member(assigned_device_name_index=-1 requested_device_name=‘/device:GPU:0’ assigned_device_name=‘’ resource_device_name=‘’ supported_device_types=[CPU] possible_devices_=
ScalarSummary: CPU
Colocation members, user-requested devices, and framework assigned devices, if any:
bn_decay (ScalarSummary) /device:GPU:0
Op: ScalarSummary
Node attrs: T=DT_FLOAT
Registered kernels:
device=‘CPU’; T in [DT_DOUBLE]
device=‘CPU’; T in [DT_FLOAT]
device=‘CPU’; T in [DT_BFLOAT16]
device=‘CPU’; T in [DT_HALF]
device=‘CPU’; T in [DT_UINT8]
device=‘CPU’; T in [DT_INT8]
device=‘CPU’; T in [DT_INT16]
device=‘CPU’; T in [DT_UINT16]
device=‘CPU’; T in [DT_UINT32]
device=‘CPU’; T in [DT_INT32]
device=‘CPU’; T in [DT_UINT64]
device=‘CPU’; T in [DT_INT64]
[[{{node bn_decay}}]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/aya/mywork/frustum-pointnets-master/train/train.py”, line 397, in
train()
File “/home/aya/mywork/frustum-pointnets-master/train/train.py”, line 129, in train
end_points = MODEL.get_model(pointclouds_pl, one_hot_vec_pl,
File “/home/aya/mywork/frustum-pointnets-master/models/frustum_pointnets_v1.py”, line 169, in get_model
point_cloud_masking(point_cloud, logits, end_points)
File “/home/aya/mywork/frustum-pointnets-master/models/model_util.py”, line 269, in point_cloud_masking
batch_size_value = sess.run(batch_size)
File “/home/aya/.local/lib/python3.8/site-packages/tensorflow/python/client/session.py”, line 970, in run
result = self._run(None, fetches, feed_dict, options_ptr,
File “/home/aya/.local/lib/python3.8/site-packages/tensorflow/python/client/session.py”, line 1193, in run
results = self.do_run(handle, final_targets, final_fetches,
File “/home/aya/.local/lib/python3.8/site-packages/tensorflow/python/client/session.py”, line 1373, in do_run
return self.do_call(run_fn, feeds, fetches, targets, options,
File “/home/aya/.local/lib/python3.8/site-packages/tensorflow/python/client/session.py”, line 1399, in do_call
raise type(e)(node_def, op, message) # pylint: disable=no-value-for-parameter
tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot assign a device for operation bn_decay: Could not satisfy explicit device specification ‘/device:GPU:0’ because no supported kernel for GPU devices is available.
Colocation Debug Info:
Colocation group had the following types and supported devices:
Root Member(assigned_device_name_index=-1 requested_device_name=‘/device:GPU:0’ assigned_device_name=‘’ resource_device_name=‘’ supported_device_types=[CPU] possible_devices=
ScalarSummary: CPU
Colocation members, user-requested devices, and framework assigned devices, if any:
bn_decay (ScalarSummary) /device:GPU:0
Op: ScalarSummary
Node attrs: T=DT_FLOAT
Registered kernels:
device=‘CPU’; T in [DT_DOUBLE]
device=‘CPU’; T in [DT_FLOAT]
device=‘CPU’; T in [DT_BFLOAT16]
device=‘CPU’; T in [DT_HALF]
device=‘CPU’; T in [DT_UINT8]
device=‘CPU’; T in [DT_INT8]
device=‘CPU’; T in [DT_INT16]
device=‘CPU’; T in [DT_UINT16]
device=‘CPU’; T in [DT_UINT32]
device=‘CPU’; T in [DT_INT32]
device=‘CPU’; T in [DT_UINT64]
device=‘CPU’; T in [DT_INT64]
[[node bn_decay
(defined at /home/aya/mywork/frustum-pointnets-master/train/train.py:126)
]]
Errors may have originated from an input operation.
Input Source operations connected to node bn_decay:
In[0] bn_decay/tags:
In[1] clip_by_value (defined at /home/aya/mywork/frustum-pointnets-master/train/train.py:96)
Operation defined at: (most recent call last)
File “/home/aya/mywork/frustum-pointnets-master/train/train.py”, line 397, in
train()File “/home/aya/mywork/frustum-pointnets-master/train/train.py”, line 126, in train
tf.summary.scalar(‘bn_decay’, bn_decay)
Original stack trace for ‘bn_decay’:
File “/home/aya/mywork/frustum-pointnets-master/train/train.py”, line 397, in
train()
File “/home/aya/mywork/frustum-pointnets-master/train/train.py”, line 126, in train
tf.summary.scalar(‘bn_decay’, bn_decay)
File “/home/aya/.local/lib/python3.8/site-packages/tensorflow/python/summary/summary.py”, line 109, in scalar
val = _gen_logging_ops.scalar_summary(tags=tag, values=tensor, name=scope)
File “/home/aya/.local/lib/python3.8/site-packages/tensorflow/python/ops/gen_logging_ops.py”, line 684, in scalar_summary
_, _, _op, _outputs = _op_def_library._apply_op_helper(
File “/home/aya/.local/lib/python3.8/site-packages/tensorflow/python/framework/op_def_library.py”, line 744, in _apply_op_helper
op = g._create_op_internal(op_type_name, inputs, dtypes=None,
File “/home/aya/.local/lib/python3.8/site-packages/tensorflow/python/framework/ops.py”, line 3697, in _create_op_internal
ret = Operation(
File “/home/aya/.local/lib/python3.8/site-packages/tensorflow/python/framework/ops.py”, line 2101, in init
self._traceback = tf_stack.extract_stack_for_node(self._c_op)