face_detection模型训练 coredump
https://github.com/PaddlePaddle/models/tree/develop/fluid/PaddleCV/face_detection
train启动会直接coredump
---------- Configuration Arguments -----------
batch_size: 16
data_dir: /ssd2/liuyaping/data/dataset/WIDERFace/
epoc_num: 160
learning_rate: 0.001
mean_BGR: 104., 117., 123.
model_save_dir: output
parallel: True
pretrained_model: vgg_ilsvrc_16_fc_reduced
resize_h: 640
resize_w: 640
use_gpu: True
use_pyramidbox: True
with_mem_opt: True
------------------------------------------------
*** Aborted at 1553089386 (unix time) try "date -d @1553089386" if you are using GNU date ***
PC: @ 0x0 (unknown)
*** SIGSEGV (@0x0) received by PID 52430 (TID 0x7f5891fff700) from PID 0; stack trace: ***
@ 0x7f594cfd9160 (unknown)
@ 0x0 (unknown)
export FLAGS_fraction_of_gpu_memory_to_use=0.3调整到0.01都不行
GPU机器:Tesla P40
试一下 with_mem_opt=False ?
@lyp2github 请问您使用几张卡? 看log输出batch size是16, 是否按照文档提示设置 export CUDA_VISIBLE_DEVICES=0,1,2,3 来设置四张卡运行? 该模型,在P40, 24G的显存上,每个卡上的BatchSize最大到5。
export CUDA_VISIBLE_DEVICES=3,4,5,6 设置了四卡运行,已经关闭了with_mem_opt=False, 我试试改改batch_size
你这个可能是cudnn版本不对或者是nccl没装.
已经关闭了with_mem_opt=False
建议不要关闭,关闭之后更耗费显存。 有具体的错误log的话,可以贴详细点~
Since you haven't replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。