Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一些问题 #49

Open
wenzitracyliu opened this issue Jun 20, 2020 · 0 comments
Open

请教一些问题 #49

wenzitracyliu opened this issue Jun 20, 2020 · 0 comments

Comments

@wenzitracyliu
Copy link

wenzitracyliu commented Jun 20, 2020

修改一下问题:
1、您好,我在运行Run Run Pre-defined problems.ipynb这个文件的时候,导入自己的模型,然后设置batchsize为1,multiprocess为False,单个任务,会占满整个显存。

其实我尝试各种batchsize大小都不行,都是这样,不知道问题出在哪。另外我是这么修改您的代码
image

除了pip安装,我也试过直接下载你的代码直接运行,也是这个问题。另外我想问问,除了batchsize、multiprocess,还可以调整哪些参数可以降低显存的使用

2、另外就是调用train_bert_multitask会出现eval_feature_desc.json未创建。
image

最后查到train_and_evaluate(estimator, train_spec, eval_spec)中有误

3、最后一个问题是,运行程序的时候有时候会出现以下问题,但再运行时,又能成功运行
image

@wenzitracyliu wenzitracyliu changed the title 显存oom的问题 请教一些问题 Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant