-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
No module named 'tensorflow.compat
when trying to run experimental remote_predict op.
#2091
Comments
ModuleNotFoundError: No module named 'tensorflow.compat
when trying to run experimental remote_predict op.No module named 'tensorflow.compat
when trying to run experimental remote_predict op.
I have found a similar issue and commenting out #from tensorflow.contrib.image.python.ops.single_image_random_dot_stereograms import single_image_random_dot_stereograms in Also, experimental indicates that the said class/method is in early development, incomplete, or less commonly, not up-to-standards. It's a collection of user contributions which weren't yet integrated w/ main TensorFlow, but are still available as a part of open-source for users to test. |
Hey @singhniraj08 I understand that it is experimental feature. That is why I'm asking for the last commit where the feature was tested successfully. |
@singhniraj08 thanks. I will check them and update here then. |
@singhniraj08 no success with those commits as well. Bazel refuses to build on some commits. I also tried more recent commits which altered remote ops directly and I'm still getting: |
Bug Report
System information
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in
TensorFlow Serving.
Following README in remote predict op. The git commit and sha256 are the same as in master. I run:
I get
ModuleNotFoundError: No module named 'tensorflow.compat'
inremote_predict_ops.py
file.Then I try to remove compat and write everything with v2 api which gives abi issues:
Is there a commit that I can checkout and reproduce the example, would appreciate it.
Additionally I have to manually symlink
libtensorflow_framework.2.11.0
tolibtensorflow_framework.2
.Source code / logs
Include any logs or source code that would be helpful to diagnose the problem.
If including tracebacks, please include the full traceback. Large logs and files
should be attached. Try to provide a reproducible test case that is the bare
minimum necessary to generate the problem.
The text was updated successfully, but these errors were encountered: