AttributeError:模块“tensorflow.python.framework.op_def_注册表”没有属性“register_op_list”

2024-05-22 09:37:36 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试Max Woolfe(https://github.com/minimaxir/gpt-2-simple)的gpt2 simple,似乎我无法通过导入gpt_2_simple。它不断抛出一个属性错误。我已经试过使用Python2和;3和Tensorflow 1.14&;1.15. 以下是完整错误的屏幕截图:

error screenshot


Tags: httpsgithubcom属性屏幕tensorflow错误simple