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
I'm using Ubuntu20 and cuda11.1. I've got the following error using tf 1.4 and python 3.6. Would you let me know what's the solution if I want to use cuda 11.1.
tf_sampling.cpp: In lambda function:
tf_sampling.cpp:20:40: warning: ignoring return value of ‘tensorflow::Status tensorflow::shape_inference::InferenceContext::WithRank(tensorflow::shape_inference::ShapeHandle, tensorflow::int64, tensorflow::shape_inference::ShapeHandle*)’, declared with attribute warn_unused_result [-Wunused-result]
20 | c->WithRank(c->input(0), 2, &dims1);
| ^
In file included from tf_sampling.cpp:8:
/home/Neshat/neshenv/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/framework/shape_inference.h:377:10: note: declared here
377 | Status WithRank(ShapeHandle shape, int64 rank,
| ^~~~~~~~
tf_sampling.cpp:22:40: warning: ignoring return value of ‘tensorflow::Status tensorflow::shape_inference::InferenceContext::WithRank(tensorflow::shape_inference::ShapeHandle, tensorflow::int64, tensorflow::shape_inference::ShapeHandle*)’, declared with attribute warn_unused_result [-Wunused-result]
22 | c->WithRank(c->input(1), 2, &dims2);
| ^
In file included from tf_sampling.cpp:8:
/home/Neshat/neshenv/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/framework/shape_inference.h:377:10: note: declared here
377 | Status WithRank(ShapeHandle shape, int64 rank,
| ^~~~~~~~
tf_sampling.cpp: In lambda function:
tf_sampling.cpp:34:40: warning: ignoring return value of ‘tensorflow::Status tensorflow::shape_inference::InferenceContext::WithRank(tensorflow::shape_inference::ShapeHandle, tensorflow::int64, tensorflow::shape_inference::ShapeHandle*)’, declared with attribute warn_unused_result [-Wunused-result]
34 | c->WithRank(c->input(0), 3, &dims1);
| ^
In file included from tf_sampling.cpp:8:
/home/Neshat/neshenv/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/framework/shape_inference.h:377:10: note: declared here
377 | Status WithRank(ShapeHandle shape, int64 rank,
| ^~~~~~~~
tf_sampling.cpp: In lambda function:
tf_sampling.cpp:47:40: warning: ignoring return value of ‘tensorflow::Status tensorflow::shape_inference::InferenceContext::WithRank(tensorflow::shape_inference::ShapeHandle, tensorflow::int64, tensorflow::shape_inference::ShapeHandle*)’, declared with attribute warn_unused_result [-Wunused-result]
47 | c->WithRank(c->input(0), 3, &dims1);
| ^
In file included from tf_sampling.cpp:8:
/home/Neshat/neshenv/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/framework/shape_inference.h:377:10: note: declared here
377 | Status WithRank(ShapeHandle shape, int64 rank,
| ^~~~~~~~
tf_sampling.cpp:49:40: warning: ignoring return value of ‘tensorflow::Status tensorflow::shape_inference::InferenceContext::WithRank(tensorflow::shape_inference::ShapeHandle, tensorflow::int64, tensorflow::shape_inference::ShapeHandle*)’, declared with attribute warn_unused_result [-Wunused-result]
49 | c->WithRank(c->input(1), 2, &dims2);
| ^
In file included from tf_sampling.cpp:8:
/home/Neshat/neshenv/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/framework/shape_inference.h:377:10: note: declared here
377 | Status WithRank(ShapeHandle shape, int64 rank,
| ^~~~~~~~
The text was updated successfully, but these errors were encountered:
Hi,
I have a problem in the compiling step.
I'm using Ubuntu20 and cuda11.1. I've got the following error using tf 1.4 and python 3.6. Would you let me know what's the solution if I want to use cuda 11.1.
(neshenv) Neshat@CV2:~/3D-BoNet/3D-BoNet/tf_ops/sampling$ g++ -std=c++11 tf_sampling.cpp tf_sampling_g.cu.o -o tf_sampling_so.so -shared -fPIC -I /home/Neshat/neshenv/lib/python3.6/site-packages/tensorflow/include -I /home/Neshat/neshenv/lib/python3.6/site-packages/tensorflow/include/external/nsync/public -I /usr/local/cuda-11.1/include -lcudart -L /usr/local/cuda-11.1/lib64/
tf_sampling.cpp: In lambda function:
tf_sampling.cpp:20:40: warning: ignoring return value of ‘tensorflow::Status tensorflow::shape_inference::InferenceContext::WithRank(tensorflow::shape_inference::ShapeHandle, tensorflow::int64, tensorflow::shape_inference::ShapeHandle*)’, declared with attribute warn_unused_result [-Wunused-result]
20 | c->WithRank(c->input(0), 2, &dims1);
| ^
In file included from tf_sampling.cpp:8:
/home/Neshat/neshenv/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/framework/shape_inference.h:377:10: note: declared here
377 | Status WithRank(ShapeHandle shape, int64 rank,
| ^~~~~~~~
tf_sampling.cpp:22:40: warning: ignoring return value of ‘tensorflow::Status tensorflow::shape_inference::InferenceContext::WithRank(tensorflow::shape_inference::ShapeHandle, tensorflow::int64, tensorflow::shape_inference::ShapeHandle*)’, declared with attribute warn_unused_result [-Wunused-result]
22 | c->WithRank(c->input(1), 2, &dims2);
| ^
In file included from tf_sampling.cpp:8:
/home/Neshat/neshenv/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/framework/shape_inference.h:377:10: note: declared here
377 | Status WithRank(ShapeHandle shape, int64 rank,
| ^~~~~~~~
tf_sampling.cpp: In lambda function:
tf_sampling.cpp:34:40: warning: ignoring return value of ‘tensorflow::Status tensorflow::shape_inference::InferenceContext::WithRank(tensorflow::shape_inference::ShapeHandle, tensorflow::int64, tensorflow::shape_inference::ShapeHandle*)’, declared with attribute warn_unused_result [-Wunused-result]
34 | c->WithRank(c->input(0), 3, &dims1);
| ^
In file included from tf_sampling.cpp:8:
/home/Neshat/neshenv/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/framework/shape_inference.h:377:10: note: declared here
377 | Status WithRank(ShapeHandle shape, int64 rank,
| ^~~~~~~~
tf_sampling.cpp: In lambda function:
tf_sampling.cpp:47:40: warning: ignoring return value of ‘tensorflow::Status tensorflow::shape_inference::InferenceContext::WithRank(tensorflow::shape_inference::ShapeHandle, tensorflow::int64, tensorflow::shape_inference::ShapeHandle*)’, declared with attribute warn_unused_result [-Wunused-result]
47 | c->WithRank(c->input(0), 3, &dims1);
| ^
In file included from tf_sampling.cpp:8:
/home/Neshat/neshenv/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/framework/shape_inference.h:377:10: note: declared here
377 | Status WithRank(ShapeHandle shape, int64 rank,
| ^~~~~~~~
tf_sampling.cpp:49:40: warning: ignoring return value of ‘tensorflow::Status tensorflow::shape_inference::InferenceContext::WithRank(tensorflow::shape_inference::ShapeHandle, tensorflow::int64, tensorflow::shape_inference::ShapeHandle*)’, declared with attribute warn_unused_result [-Wunused-result]
49 | c->WithRank(c->input(1), 2, &dims2);
| ^
In file included from tf_sampling.cpp:8:
/home/Neshat/neshenv/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/framework/shape_inference.h:377:10: note: declared here
377 | Status WithRank(ShapeHandle shape, int64 rank,
| ^~~~~~~~
The text was updated successfully, but these errors were encountered: