吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 2507|回复: 3
收起左侧

[求助] python 安装gpt_2_simple 运行问题

[复制链接]
fa00x 发表于 2019-7-16 16:59
[Python] 纯文本查看 复制代码
import gpt_2_simple as gpt2

model_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
运行出错
360截图20190716170056661.jpg

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

 楼主| fa00x 发表于 2019-7-16 17:00
你个大神给解决方案,
我的电脑同时安装了  tensorflow_gpu环境
sayle 发表于 2019-7-16 17:07
 楼主| fa00x 发表于 2019-7-16 17:37
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:本版块禁止回复与主题无关非技术内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-4-17 07:27

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表