Comments (3)
Are you running python inside the tensorflow source directory? If the directory 'tensorflow' is in your pwd, it may break imports. Try running python outside the source tree.
If that's not it, please give some info about your system, version of python, etc.
from tensorflow.
Thank you. This solves it.
I am still having other import issues, which I will open a new thread for.
from tensorflow.
from another directory, the error just changes to
ImportError: cannot import name compat
from tensorflow.
Related Issues (20)
- Does anyone know which version of ROCM is used to build the tensorflow-rocm ? HOT 1
- Exit code 137 in `tf.raw_ops.ResizeNearestNeighborGrad` HOT 1
- ABORTED: Shutdown in `tf.raw_ops.PriorityQueueV2` HOT 3
- Tensorflow lite in Android App HOT 1
- TensorFlowLiteSelectTfOps - Compile error
- Need Help with a Softmax Warning in TensorFlow 2.16 HOT 1
- No kernel identified while running tensorflow with GPU HOT 3
- RuntimeError when invoking TFLite INT8 model with tile operation HOT 2
- Unable to Force-load TensorFlowLiteSelectTfOps.framework, created with Selective Build, in iOS HOT 1
- I want to save the model as tflite, but I get the error that can't generate my tflite file HOT 3
- [TensorFlowLite] Add new data types in the TFLite format schema HOT 1
- tf.keras.layers.Dense leads to significant differences between CPU and GPU runs of the model implementation code HOT 3
- Tensorflow Generate "ops_to_register.h" Without Graph HOT 2
- DeprecationWarning from google.protobuf HOT 5
- Memory leak from using tf.constant in loop in TF 2.16 HOT 3
- TPU v3-8 CrossReplicaSum_33 Error HOT 3
- Strange finding: When the global seed and @tf.function decorator are used, the random sampling values of the two adjacent periods are equal HOT 3
- ValueError: as_list() is not defined on an unknown TensorShape. during training
- tf.test.is_built_with_cuda() is 'False' HOT 6
- Enabling onednn graph API in TF HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow.