美文网首页
安装tensorflow2023-03-30

安装tensorflow2023-03-30

作者: 一只大南瓜 | 来源:发表于2023-04-01 11:29 被阅读0次

安装连接:

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'

解决3:

https://www.cnblogs.com/emanlee/p/17074900.html

相关文章

网友评论

      本文标题:安装tensorflow2023-03-30

      本文链接:https://www.haomeiwen.com/subject/phmfddtx.html