Comments (8)
@lazarust Could you consider explicitly upgrading protobuf. You can find compatible versions on the official protobuf website here. Kindly refer to this issue as well for more information.
Thank you!
from tensorflow.
Thanks for the response @sushreebarsa. I tried upgrading protobuf
by running pip install -U protobuf
and still get the same deprecation warning with protobuf 5.26.1.
Is there something else I should do/could try?
It also looks like tensorflow requires a version of protobuf
that's < 5.0.0. Is 5.0 + support something that could be updated?
from tensorflow.
@lazarust The error you're encountering is related to a deprecation warning in protobuf and its incompatibility with TensorFlow in your current environment. Kindly ensure you're upgrading protobuf and TensorFlow within the same virtual environment you're using for your project. This avoids conflicts with other projects that might have different dependency requirements. Another workaround could be downgrading protobuf to a version below 5.0.0 which is not ideal.
TensorFlow is yet to fully support protobuf versions above 5.0.
Thank you!
from tensorflow.
@sushreebarsa I've verified that I'm using tensorflow 2.16.1
and protobuf 4.25.3
(this is the newest protobuf supported by tensorflow from what I can tell). I'm still running into the DeprecationWarnings.
If it's not an easy fix since tensorflow doesn't support protobuf 5.0+, we can ignore those warnings for now. Unless you have a better idea?
from tensorflow.
Hi, @lazarust ! Ignoring the warnings might seem like a quick solution. If downgrading protobuf or upgrading TensorFlow is not feasible, you can suppress the warnings.
import warnings
warnings.filterwarnings("ignore", message=".*DeprecationWarning.*")
Please find the doc here which has the supported protobuf versions mentioned in it. Kindly stay updated with TF releases.
Thank you!
from tensorflow.
@sushreebarsa We've decided to just suppress the warnings for now until TensorFlow supports the new version of protobuf. Should I close this issue?
from tensorflow.
@lazarust Sure, you could move this issue to close status for now and stay updated for new releases. Thank you!
from tensorflow.
Are you satisfied with the resolution of your issue?
Yes
No
from tensorflow.
Related Issues (20)
- Title: TensorFlow/Keras Integration Error: A KerasTensor cannot be used as input to a TensorFlow function HOT 1
- Add stop_evaluating attribute to Model class and add associated modification to evaluate method HOT 1
- Compilation of mlir:tf-opt fails with error "The repository '@llvm_zlib' could not be resolved" HOT 4
- GPU MaxPool gradient ops do not yet have a deterministic XLA implementation HOT 1
- DXGI format does not support cross-API sharing HOT 1
- tflite model maker not install HOT 1
- AttributeError: 'ModelCheckpoint' object has no attribute '_implements_train_batch_hooks' in MoViNet Streaming Model Training HOT 1
- Crash in `tf.raw_ops.SparseCountSparseOutput ` HOT 1
- 16KB so support HOT 1
- Segmentation fault (core dumped) in tf.raw_ops.FractionalMaxPoolGrad when col_pooling_sequence is a very small negative number
- Aborted (core dumped) in `tf.raw_ops.SparseReduceSum\tf.raw_ops.SparseReduceMax` HOT 1
- Aborted (core dumped) in `tf.experimental.numpy.diag/tf.compat.v1.linalg.diag/tf.experimental.numpy.diagflat/tf.keras.ops.diag` HOT 1
- Transfer learning and fine-tuning doc seems to have unexpected results
- YOLOv5n model does work on python tflite but not C++ tflite HOT 1
- Selectively Build TensorFlow Lite with Docker ends with an error.
- SparseTensor Batching Utility
- tf.data.Dataset.save and load custom dataset throw "DataLossError: Unable to parse tensor from stored proto" HOT 1
- tensorflow is so buggy, you guys should just gave up and should migrate to TORCH this is so bad , i cant anymore. HOT 4
- tf.signal.rfftnd throws NotFoundError on CPU execution (GPU-behavior unknown) HOT 1
- The constant folding pass of the TFLite converter prevent storing packed tensors, stores dequantized tensors instead
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.