报错If this call came from a _pb2.py file

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.

需要对protobuf降级处理

python -m pip install --upgrade protobuf==3.20.1

你可能感兴趣的:(深度学习,tensorflow2,tensorflow)