我真的很不擅长编码,而且我第一次尝试从Open AI运行GPT2模型。我的老师能够运行他自己的模型,我试图对numpy和tensorlfow的所有正确版本执行相同的操作,但当我尝试运行我自己的示例时: File "train.py", line 9, in <module>
import tensorflow as tfImportEr
我正在使用Ubuntu 14.04,我有一个TensorFlow V0.10,但我想更新这个版本。如果我这样做了:但它会打印:Traceback (most recent call last):File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
st
当我尝试用pip install tensorflow安装Tensorflow时,我得到了这样的异常: File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in main
status = self.run(
我使用以下命令在我的ubuntu python中导入tensorflow -Python 3.5.2 (default, Nov 23 2017, 16:37:01) Type "help", "copyright", "credits" or "license" for more information.
>>> importtenso