ImportError: cannot import name ‘get_config‘ from ‘tensorflow.python.eager.context‘解决办法

刺骨的言语ヽ痛彻心扉 2024-04-06 14:29 151阅读 0赞

ImportError: cannot import name ‘get_config’ from ‘tensorflow.python.eager.context’解决办法

报错原因:ImportError: cannot import name ‘get_config’ from ‘tensorflow.python.eager.context’

解决方法:

  1. pip install --upgrade tensorflow
  2. pip install --upgrade tensorflow-gpu

发表评论

表情:
评论列表 (有 0 条评论,151人围观)

还没有评论,来说两句吧...

相关阅读