-
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
Can't find tensorflow.examples.tutorial #34083
Comments
Yes. You should refer to this table and create wheel package with tested configuration. |
@nikochiko, I tried bezel 0.26.1 before this. It was stuck at the same issue. |
Issue replicating for TF2.0 version.Kindly find the gist of colab.Thanks! |
I believe there's a typo in your import. |
@ymodak It still doesn't work. Strangely, it was working in the colab link yesterday, but not today. Can you give this a try? I also tried it on the local build I have installed (build no. mentioned in the issue) and it still gives me a similar error.
Local build (build no. in issue) gives me:
|
@wady101 you need to set the PYTHONPATH |
@Leslie-Fang sorry, what is $tensorflow_examples_root? Couldn't find any mention of env variable online. Also should I set this before building from source or after? |
@wady101 I suspect it's because of all tensorflow version. |
No @Leslie-Fang , I am trying to get a piece of code to run https://github.com/layog/Accurate-Binary-Convolution-Network Still, what do I keep PYTHONPATH? Can you echo it on your pc and show it here? Thanks |
@wady101 Sorry, I mis-read your error message. I suspect your error message relates with the tf version as you can see https://github.com/layog/Accurate-Binary-Convolution-Network is using TF1.4(tensorflow-gpu==1.4.1) |
@Leslie-Fang No worries. I have used the TF1.4.1, but that still doesn't work (I still get the same error message). The error message is always there for any version I use. I assume is there a flag I am missing when I am building from source? |
TF 1.4.1 is obsolete. Please install latest version of TF and import again. |
@ymodak I have tried all three versions - 1.4.1, 1.12.1 and latest master branch - all three give me the same error (Using both "building from source" and "pip").
Repository I am trying to run - https://github.com/layog/Accurate-Binary-Convolution-Network/blob/master/ABC-layer-inference-support.ipynb [5th cell in Jupyter nb gives me error] |
I'm using tensorflow-cpu==2.1.0 and I had the same issue
I solve this downloading manually the directory called "tutorials" from tensorflow repo and placed it in my virtual env directory after that it works fine |
Thanks @oscar7692 worked for me as well that way. life saver. |
System information
Describe the current behavior
As the error sugests, can't find the module. Am I missing something while generating the wheel package from bazel?
Describe the expected behavior
Is there in the source code repo, hence should work. No monkey-fixes please. I have tried local copying the directory, but then some other tensorflow module is missing (tensorflow.contrib and goes on).
Code to reproduce the issue
python -c 'from tensorflow.examples.tutorials import input_data'
Other info / logs
bazel build --verbose_failures --config=monolithic //tensorflow/tools/pip_package:build_pip_package
Command I used to create the wheel package from tensorflow source.
The text was updated successfully, but these errors were encountered: