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)
- Tensorflow Developer certificate didnt recieved yet HOT 1
- TFLite for LSTM: Downscale accumulation from 32-bit to 16-bit before applying to activation HOT 2
- TypeError: len is not well defined for a symbolic Tensor (rnn_decoder_1/gru_1/Squeeze:0). Please call `x.shape` rather than `len(x)` for shape information. HOT 1
- dynamic input shape with InferenceRunner
- Trouble Running TensorFlow v2.16.1 with NVIDIA GeForce 940MX GPU #914 HOT 1
- There is no target called wheel HOT 2
- TensorFlow Cuda in Docker under WSL2 not wokring HOT 13
- "CUDA_ERROR_NOT_FOUND: named symbol not found" in Docker container HOT 10
- There was no error when converting the lite model but an error occurred when calling the Interpreter allocate_tensors() method. It will appear if the Conv1D data_format parameter is set to channels_first and the dilation_rate parameter > 1 HOT 2
- Issue with Tesnorflow JS Face Detection on Production HOT 4
- [RNN] LSTM Model conversion error after upgrading to tf 2.16.1 from 2.15 HOT 3
- Training model with the Poisson loss function and the Adam optimizer resulted in NaN loss HOT 1
- Bazel compiling source code failed because of highwayhash/sip_hash.cc HOT 2
- segmentation fault when tf.histogram_fixed_width receives large `value_range` and `nbins` on CPU mode
- Wrong explanation about an argument of tflite interpreter HOT 1
- Not able to build TensorFlow with GPU support HOT 2
- ValueError: `validation_split` is only supported for Tensors or NumPy arrays, found following types in the input: [<class 'int'>] HOT 1
- __add__ with floating point values HOT 1
- TypeError: Expected int32, got 1e-07 of type 'float' instead.
- Current tensorflow[and-cuda] installed by pip pulls ptxas which causes Jupyter kernel restart
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.