ERNIE icon indicating copy to clipboard operation
ERNIE copied to clipboard

训练任务killed

Open MaxLingwei opened this issue 7 years ago • 5 comments

下载了bert的demo,在开发机本地运行train.sh,任务直接被killed image

MaxLingwei avatar May 13 '19 12:05 MaxLingwei

export GLOG_v=4

seiriosPlus avatar May 14 '19 01:05 seiriosPlus

看一下日志

seiriosPlus avatar May 14 '19 01:05 seiriosPlus

应该是内存占用过大,被系统kill了

Superjomn avatar May 14 '19 05:05 Superjomn

有可能是机器的内存较小,可以试试把batchsize改小一些,试试能不能跑起来。

jiayouff avatar May 16 '19 10:05 jiayouff

应该是你机器内存较小导致的,你可以降低max_seq_length、train_batch_size,应该能跑起来

wang154917190 avatar Oct 12 '19 09:10 wang154917190