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)
- Negative values returned from tf.math.sobol_sample HOT 1
- Unable to run model builder test for Object Detection API HOT 2
- Difficulty viewing "Lifetime of a PR" diagram in CONTRIBUTING.md if you have a dark background
- Enabling XLA in tensorflow 2.16 causes memory leaks HOT 1
- Layers.Flatten( ) fails under TF 2.16.1 but not under TF 2.15 HOT 2
- INT4 and other low-precision conversion support status
- Tensorflow 2.16.1 fails to compile with -march=native on Xeon 4410Y CPU HOT 7
- In Ardiono:Hybrid models are not supported on TFLite Micro. Node FULLY_CONNECTED (number 12f) failed to prepare with status 1
- tf.math.reciprocal lacks support of int input on CPU, inconsistent with the documentation
- using tf.linalg.det in custom loss function yields matrix inversion error HOT 1
- Could not interpret optimizer identifier: <keras.src.optimizers.adam.Adam object HOT 4
- Unrecognized keyword arguments passed to Embedding HOT 4
- tf.raw_ops.ApproximateEqual/Erfinv fail support a few data types, inconsistent with the documentation
- how to solve the exception with "UnboundLocalError: local variable 'batch_index' referenced before assignment" HOT 2
- tflite converter crashes with version 2.16.1 HOT 4
- TensorflowLite for Windows on Arm
- Allocating all memory, CUDA OOM
- Segmentation fault (core dumped) HOT 1
- Fail to build from source: API rate limit exceeded for 216.228.127.129 HOT 1
- how to solve this error ? : AttributeError: module 'keras._tf_keras.keras.layers' has no attribute 'experimental' HOT 4
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.