-
Notifications
You must be signed in to change notification settings - Fork 74k
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
RuntimeError: No C++ shape function registered for standard op: NearestNeighbors #7935
Comments
@mahatosourav91 If I understand correctly, the problem occurs on Windows? @mrry might have some thoughts here; perhaps NearestNeighbors isn't registered correctly on Windows? |
Quite possibly! The support for unsupported libraries in I'm not sure who owns |
Perhaps @agarwal-ashish is the right contact to get a NearestNeighbors shape function registered on Windows. |
The upside of adding a shape function is that benefits Linux and Windows, and you don't have to mess around with CMake :). |
@tatatodd this error occur even in ubuntu 16.04 |
@mahatosourav91 Ah yes my mistake, a NearestNeighbors shape function will indeed help all platforms. Let's see what @agarwal-ashish has to say on this matter. |
I agree that adding a shape function to NearestNeighbors sounds like a good next step to fix this issue. @mahatosourav91 have you tried that / are planning on trying that ? |
@agarwal-ashish Sorry I have a very little understanding of tensorflow framework right now, so I couldn't find the correct place where the change is to be made. Currently I am working by modifying the gen_clustering_ops.py which I know is a bad idea. |
@agarwal-ashish It would be very helpful if you can look into this issue 7748 also. |
I have a fix in the works that will enable |
@mrry What about linux? |
The same change should fix Linux as well. |
@mrry, I am a newbie to the TensorFlow. Could you please elaborate on the below. I am looking for the resolution as I am facing the same issue.
|
@vinay-hebb The fix to this issue is included in the 1.1 release. |
For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
Github issue :- 7524
Stackoverflow question:- here
Environment info
Operating System: Ubuntu 16.04 / Windows
Installed version of CUDA and cuDNN: NO
If installed from binary pip package, provide:
python -c "import tensorflow; print(tensorflow.__version__)"
. 1.0If installed from source, provide NO
If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)
What other attempted solutions have you tried?
Hi, I found following 2 lines missing in gen_clustering_ops.py. I believe they should there in the file. If not then please raise a bug. I couldn't find the correct place where the change is to be made
Logs or other output that would be helpful
(If logs are large, please upload as attachment or provide link).
The text was updated successfully, but these errors were encountered: