python 安装gpt_2_simple 运行问题
import gpt_2_simple as gpt2model_name = "117M"
gpt2.download_gpt2(model_name=model_name) # model is saved into current directory under /models/117M/
sess = gpt2.start_tf_sess()
gpt2.finetune(sess,
'shakespeare.txt',
model_name=model_name,
steps=1000) # steps is max number of training steps
gpt2.generate(sess)
已经安装了 tensorflow-1.14.0-cp37-cp37m-win_amd64.whl
运行出错
你个大神给解决方案,
我的电脑同时安装了tensorflow_gpu环境 除数为0了。仔细检查代码 sayle 发表于 2019-7-16 17:07
除数为0了。仔细检查代码
代码是github 给的源码
页:
[1]