-
Notifications
You must be signed in to change notification settings - Fork 45.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
got an unexpected keyword argument "serialized_options", centos 7 #3995
Comments
how to fix the issue??? please help |
Traceback (most recent call last): |
I apologize, but I am having a hard time understanding what the problem is, where the problem is, and what version it affects. Please resubmit and pay attention to the issue template (https://github.com/tensorflow/tensorflow/issues/new). Please provide all the information it asks. Thank you. |
I too had this issue when I was compiling my protobuf with protoc version 3.5.x. But, when I changed my protoc version to 3.4.0, the problem vanished. |
@vivekbhadouria how did you install the 3.4.0, I also have the same problem with object-detection-api, which lower version not working and newer version also not working, I think the middle version will work, so I don't know how to install 3.4.0, now the installed version is 3.5.1, not working, I have installed it from source. Thanks!! |
@Bahramudin If I remember correctly then I first removed the protoc installed on my machine, then you install the required version i.e. 3.4.0.
After performing above steps, please run |
@vivekbhadouria Thanks! problem has been solved by installing protobuf 3.4.0. |
worked for me. It updated protobuf to v3.6 |
|
Thanks a lot @keevee09, it worked! |
Do I need to rebuild tensorflow and install after upgrading to protobuf 3.6.0? |
make sure to compile the Protobuf libraries again @Sawatdatta |
Why protoc 3.4.0 doesn't work for me? (win10) |
Same here:
macOs 10.13.16 |
@SenhorCastor Just uninstall and then reinstall the protobuf.
For me this worked! |
这对我来说还是不行 |
@hanlaoshi Please write in English!!!! |
This is still not work for me. |
@hanlaoshi What error are you getting? |
@Bahramudin use deep learning to translate. @hanlaoshi said, "This is still not good for me". I used Google Translate. 😅 |
@hanlaoshi Try "sudo pip uninstall protobuf", then "pip install protobuf" without sudo. Tested with TF v1.11 and needed the above workaround. |
Why |
Both tensorflow v1.10 and v1.11 have this problem. V1.8.0 works for me. |
I'm having the same issue with TF v1.8 and protobuf
|
I also encounter this problem. For me use protobuf=3.6.0 will work(previous is 3.6.1). |
|
Hi,I have the same problem, but downgrade tensorflow to 1.9.0, and it worked |
This is an issue with protobuf, read this comment please: protocolbuffers/protobuf#4716 (comment) |
pip install -U protobuf |
pip install -U protobuf worked for me too. Thanks @keevee09 . |
You can either:
|
Unityagents support protobuf==3.5.2 and unity mlagents supports protobuf>=3.6,<3.7 |
This worked for me too .. thank you for your help |
Which version of ml-agents are you using ? @siddhartha-mukherjee-india |
pip install -U protobuf |
Yes it works. But I was trying to work with greater version than 0.4.0 of MLAgents. It don't work their. |
pip install -U protobuf |
also worked for me, thank you a lot. |
thanks a lot, it works for me!!! |
Please go to Stack Overflow for help and support:
http://stackoverflow.com/questions/tagged/tensorflow
Also, please understand that many of the models included in this repository are experimental and research-style code. If you open a GitHub issue, here is our policy:
Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.
System information
You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.
The text was updated successfully, but these errors were encountered: