Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 06:51 PM
Error stack trace:
TypeError: Descriptors cannot not be created directly. If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0. If you cannot immediately regenerate your protos, some other possible workarounds are: 1. Downgrade the protobuf package to 3.20.x or lower. 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower). More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
1 ACCEPTED SOLUTION
Accepted Solutions
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 06:55 PM
Please find the below resolution:
Install a protobuf version >3.20 on the cluster. pinned the protobuf==3.20.1 on the Cluster libraries
Reference: https://github.com/tensorflow/tensorflow/issues/60320
Click to expand! Issue Type Support Have you reproduced the bug with TF nightly? Yes Source source Tensorflow Version tf2.11.0 Custom Code Yes OS Platform and Distribution win10 Mobile device No response Python version 3.9.16 Bazel versi...
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 06:55 PM
Please find the below resolution:
Install a protobuf version >3.20 on the cluster. pinned the protobuf==3.20.1 on the Cluster libraries
Reference: https://github.com/tensorflow/tensorflow/issues/60320
Click to expand! Issue Type Support Have you reproduced the bug with TF nightly? Yes Source source Tensorflow Version tf2.11.0 Custom Code Yes OS Platform and Distribution win10 Mobile device No response Python version 3.9.16 Bazel versi...