You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
I tried to run "train.py"(process 5 train at "usage").
But, I get the following "InvalidArgumentError" error.
Please tell me how to deal with this problem.
tensorflow.python.framework.errors_impl.InvalidArgumentError: No OpKernel was registered to support Op 'FarthestPointSample' with these attrs. Registered devices: [CPU,XLA_CPU], Registered kernels:
device='GPU'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 469, in
train()
File "train.py", line 410, in train
sess.run(tf.global_variables_initializer())
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1152, in _run
feed_dict_tensor, options, run_metadata)
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1328, in _do_run
run_metadata)
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1348, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: No OpKernel was registered to support Op 'FarthestPointSample' with these attrs. Registered devices: [CPU,XLA_CPU], Registered kernels:
device='GPU'
[[node layer1/FarthestPointSample (defined at <string>:103) = FarthestPointSample[npoint=1024, _device="/device:GPU:0"](Slice)]]
Caused by op 'layer1/FarthestPointSample', defined at:
File "train.py", line 469, in
train()
File "train.py", line 359, in train
bn_decay=bn_decay,
File "/home/uname/PointNet2/Open3D-PointNet2-Semantic3D-master/model.py", line 47, in get_model
scope="layer1",
File "/home/uname/PointNet2/Open3D-PointNet2-Semantic3D-master/util/pointnet_util.py", line 144, in pointnet_sa_module
npoint, radius, nsample, xyz, points, knn, use_xyz
File "/home/uname/PointNet2/Open3D-PointNet2-Semantic3D-master/util/pointnet_util.py", line 37, in sample_and_group
xyz, farthest_point_sample(npoint, xyz)
File "/home/uname/PointNet2/Open3D-PointNet2-Semantic3D-master/tf_ops/tf_sampling.py", line 69, in farthest_point_sample
return sampling_module.farthest_point_sample(inp, npoint)
File "", line 103, in farthest_point_sample
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 488, in new_func
return func(*args, **kwargs)
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3274, in create_op
op_def=op_def)
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1770, in init
self._traceback = tf_stack.extract_stack()
InvalidArgumentError (see above for traceback): No OpKernel was registered to support Op 'FarthestPointSample' with these attrs. Registered devices: [CPU,XLA_CPU], Registered kernels:
device='GPU'
[[node layer1/FarthestPointSample (defined at <string>:103) = FarthestPointSample[npoint=1024, _device="/device:GPU:0"](Slice)]]
The text was updated successfully, but these errors were encountered:
I tried to run "train.py"(process 5 train at "usage").
But, I get the following "InvalidArgumentError" error.
Please tell me how to deal with this problem.
[my environment]
ubuntu 16.04
cuda 9.0
cudnn 7.5.0
[anaconda3]
python 3.6
tensorflow 1.12.0
tensorflow-gpu 1.12.0
scikit-learn 0.21.3
open3d-python 0.7.0.0
tensorflow.python.framework.errors_impl.InvalidArgumentError: No OpKernel was registered to support Op 'FarthestPointSample' with these attrs. Registered devices: [CPU,XLA_CPU], Registered kernels:
device='GPU'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 469, in
train()
File "train.py", line 410, in train
sess.run(tf.global_variables_initializer())
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1152, in _run
feed_dict_tensor, options, run_metadata)
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1328, in _do_run
run_metadata)
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1348, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: No OpKernel was registered to support Op 'FarthestPointSample' with these attrs. Registered devices: [CPU,XLA_CPU], Registered kernels:
device='GPU'
Caused by op 'layer1/FarthestPointSample', defined at:
File "train.py", line 469, in
train()
File "train.py", line 359, in train
bn_decay=bn_decay,
File "/home/uname/PointNet2/Open3D-PointNet2-Semantic3D-master/model.py", line 47, in get_model
scope="layer1",
File "/home/uname/PointNet2/Open3D-PointNet2-Semantic3D-master/util/pointnet_util.py", line 144, in pointnet_sa_module
npoint, radius, nsample, xyz, points, knn, use_xyz
File "/home/uname/PointNet2/Open3D-PointNet2-Semantic3D-master/util/pointnet_util.py", line 37, in sample_and_group
xyz, farthest_point_sample(npoint, xyz)
File "/home/uname/PointNet2/Open3D-PointNet2-Semantic3D-master/tf_ops/tf_sampling.py", line 69, in farthest_point_sample
return sampling_module.farthest_point_sample(inp, npoint)
File "", line 103, in farthest_point_sample
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 488, in new_func
return func(*args, **kwargs)
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3274, in create_op
op_def=op_def)
File "/home/uname/anaconda3/envs/pointNet2_py36/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1770, in init
self._traceback = tf_stack.extract_stack()
InvalidArgumentError (see above for traceback): No OpKernel was registered to support Op 'FarthestPointSample' with these attrs. Registered devices: [CPU,XLA_CPU], Registered kernels:
device='GPU'
The text was updated successfully, but these errors were encountered: