-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidArgumentError : No OpKernel was registered to support Op 'FarthestPointSample #54
Comments
me too |
same error, |
Did you see if test_tf_ops.py worked? |
Hello,Is the problem solved? |
same error |
any update? I'm also getting this error. |
me too, anyone knows how to fix it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: