安装连接:
https://blog.csdn.net/qq_45156353/article/details/124713124
报错1:
from tensorflow.compat.v2.experimental import dtensor as dtensor_api
ImportError: cannot import name 'dtensor' from 'tensorflow.compat.v2.experimental' (D:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow_a
解决1:
https://blog.csdn.net/qq_28590717/article/details/125508304
报错2:
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).
解决2:
https://blog.csdn.net/yuan2019035055/article/details/129391582
报错3:
AttributeError: module 'numpy' has no attribute 'object'
网友评论