Comments (4)
i had the same error!
I found a soultion using the keras legacy optimizer like this :
tf.keras.optimizers.legacy.SGD
python: 3.8.18
tensorflow: 2.13.0
from tensorflow.
Hi @snehajhaveri01,
Please fill the template and share the reproducible code.
Thank You
from tensorflow.
i had the same error!
I found a soultion using the keras legacy optimizer like this :
tf.keras.optimizers.legacy.SGD
python: 3.8.18 tensorflow: 2.13.0
i solved it the same way , thank you !
from tensorflow.
3.8.18
i had the same error!
I found a soultion using the keras legacy optimizer like this :
tf.keras.optimizers.legacy.SGD
python: 3.8.18 tensorflow: 2.13.0i solved it the same way , thank you !
how'd you solve it? i could not maintain python version in colab. I tried it on my machine. I have .h5 model but it is not able to load and showing
TypeError: Error when deserializing class 'InputLayer' using config={'batch_shape': [None, 50], 'dtype': 'float32', 'sparse': False, 'name': 'input_layer_10'}.
Exception encountered: Unrecognized keyword arguments: ['batch_shape']
I tried making python version of 3.8.18 and when installed tensorflow==2.13.0. It caused some problems with numpy and when I resolved it. now it is still not resolving the issue.
@maximilianofried @snehajhaveri01
from tensorflow.
Related Issues (20)
- "Cannot dlopen some GPU libraries." does not List what Libraries Failed to Load HOT 4
- [tensorflow/tflite branch r2.10] crash at absl::OkStatus(); HOT 3
- Multiple CNN models concurrently on the GPU
- GlobalAveragePooling1D fails with empty inputs and a mask HOT 1
- Tensorflow version 2.16.1 has retracing problem for keras.model.train_on_batch(). HOT 4
- Problem getting python include path while building tensorflow lite using Bazel HOT 2
- stuck at installing tensorflow HOT 2
- problem with converted custom model at TensorFlow Lite
- 模板类 TensorContractionBlocking 的模板参数数量不正确 HOT 1
- [Error]tf-opt --tf-init-text-file-to-import --tf-saved-model-dir HOT 1
- Aborted (core dumped) in `tf.irfftnd/ifftnd/irfftnd`
- _image_ops.so not found
- Inconsistency in CPU results and GPU results in model training HOT 4
- Unable bazel build tensorflow with cuda support inside a docker HOT 1
- TFLite GPUv2: ADD(x, 1e-5) results in severely wrong output HOT 1
- Why don't you provide a standard go-lang get install?
- Protobuf does not support 4.x HOT 2
- Failed to compile on aarch64 HOT 1
- Fit function to work with adaptive step size
- Documentation for `tf.linalg.set_diag()` is missing return information HOT 3
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.