2024-05-22 09:37:36 发布
网友
我正在尝试Max Woolfe(https://github.com/minimaxir/gpt-2-simple)的gpt2 simple,似乎我无法通过导入gpt_2_simple。它不断抛出一个属性错误。我已经试过使用Python2和;3和Tensorflow 1.14&;1.15. 以下是完整错误的屏幕截图:
error screenshot
解决方案:
!pip install requirements.txt #from the same above mentioned repo !pip install tensorflow-addons #will provide contrib support and remove the depreciation warning.
提供gist供参考
解决方案:
提供gist供参考
相关问题 更多 >
编程相关推荐