PaddlePaddle / ERNIE

Official implementations for various pre-training models of ERNIE-family, covering topics of Language Understanding & Generation, Multimodal Understanding & Generation, and beyond.
6.32k stars 1.28k forks source link

您好,运行ernie-vil的时候遇到了问题,想请教一下问题出在哪里 #648

Closed 2235161562 closed 3 years ago

2235161562 commented 3 years ago

运行 bash run_inference.sh vcr qa test conf/vcr/model_conf_vcr model/vcr_base/vocab.txt model/vcr_base/ernie_vil_config.base.json model/vcr_base/params res 时,会在

逐行检查是在

    if args.do_test: 

        predict = predict_wrapper(
            args,
            exe,
            ernie_config,
            task_group,
            test_prog=test_prog,
            pyreader=test_pyreader,
            graph_vars=model_outputs)

        result = predict()

断开的,报错类型是


W0430 16:08:51.703033 47477 device_context.cc:252] Please NOTE: device: 6, CUDA Capability: 75, Driver API Version: 10.1, Runtime API Version: 10.0
W0430 16:08:51.706655 47477 device_context.cc:260] device: 6, cuDNN Version: 7.6.
W0430 16:08:55.096704 47477 init.cc:226] Warning: PaddlePaddle catches a failure signal, it may not work properly
W0430 16:08:55.096745 47477 init.cc:228] You could check whether you killed PaddlePaddle thread/process accidentally or report the case to PaddlePaddle
W0430 16:08:55.096748 47477 init.cc:231] The detail failure signal is:

W0430 16:08:55.096752 47477 init.cc:234] *** Aborted at 1619770135 (unix time) try "date -d @1619770135" if you are using GNU date ***
W0430 16:08:55.097874 47477 init.cc:234] PC: @                0x0 (unknown)
W0430 16:08:55.097999 47477 init.cc:234] *** SIGBUS (@0x7f0f41ed000a) received by PID 47477 (TID 0x7f11829d9740) from PID 1106051082; stack trace: ***
W0430 16:08:55.098835 47477 init.cc:234]     @     0x7f11827968a0 (unknown)
W0430 16:08:55.099324 47477 init.cc:234]     @     0x7f10df79cfaa mdb_page_search
W0430 16:08:55.099797 47477 init.cc:234]     @     0x7f10df79e665 mdb_cursor_set
W0430 16:08:55.100253 47477 init.cc:234]     @     0x7f10df79f34e mdb_get
W0430 16:08:55.100703 47477 init.cc:234]     @     0x7f10df79426d trans_get
W0430 16:08:55.101560 47477 init.cc:234]     @     0x7f1182acd2f4 PyEval_EvalFrameEx
W0430 16:08:55.102403 47477 init.cc:234]     @     0x7f1182aceb19 PyEval_EvalCodeEx
W0430 16:08:55.103186 47477 init.cc:234]     @     0x7f1182a576ea function_call
W0430 16:08:55.104038 47477 init.cc:234]     @     0x7f1182a32b83 PyObject_Call
W0430 16:08:55.104800 47477 init.cc:234]     @     0x7f1182a41a5d instancemethod_call
W0430 16:08:55.105628 47477 init.cc:234]     @     0x7f1182a32b83 PyObject_Call
W0430 16:08:55.106406 47477 init.cc:234]     @     0x7f1182a8bb04 slot_tp_init
W0430 16:08:55.107197 47477 init.cc:234]     @     0x7f1182a883bb type_call
W0430 16:08:55.108031 47477 init.cc:234]     @     0x7f1182a32b83 PyObject_Call
W0430 16:08:55.108855 47477 init.cc:234]     @     0x7f1182ac9199 PyEval_EvalFrameEx
W0430 16:08:55.109688 47477 init.cc:234]     @     0x7f1182aceb19 PyEval_EvalCodeEx
W0430 16:08:55.110455 47477 init.cc:234]     @     0x7f1182a577d7 function_call
W0430 16:08:55.111289 47477 init.cc:234]     @     0x7f1182a32b83 PyObject_Call
W0430 16:08:55.112067 47477 init.cc:234]     @     0x7f1182a41a5d instancemethod_call
W0430 16:08:55.112900 47477 init.cc:234]     @     0x7f1182a32b83 PyObject_Call
W0430 16:08:55.113696 47477 init.cc:234]     @     0x7f1182a8bb04 slot_tp_init
W0430 16:08:55.114476 47477 init.cc:234]     @     0x7f1182a883bb type_call
W0430 16:08:55.115315 47477 init.cc:234]     @     0x7f1182a32b83 PyObject_Call
W0430 16:08:55.116145 47477 init.cc:234]     @     0x7f1182ac9199 PyEval_EvalFrameEx
W0430 16:08:55.116973 47477 init.cc:234]     @     0x7f1182aceb19 PyEval_EvalCodeEx
W0430 16:08:55.117791 47477 init.cc:234]     @     0x7f1182acbfe8 PyEval_EvalFrameEx
W0430 16:08:55.118633 47477 init.cc:234]     @     0x7f1182aceb19 PyEval_EvalCodeEx
W0430 16:08:55.119463 47477 init.cc:234]     @     0x7f1182acbfe8 PyEval_EvalFrameEx
W0430 16:08:55.120293 47477 init.cc:234]     @     0x7f1182aceb19 PyEval_EvalCodeEx
W0430 16:08:55.121110 47477 init.cc:234]     @     0x7f1182aced3a PyEval_EvalCode
W0430 16:08:55.121901 47477 init.cc:234]     @     0x7f1182ae80ad run_mod
W0430 16:08:55.122728 47477 init.cc:234]     @     0x7f1182ae9258 PyRun_FileExFlags
yinweichong commented 3 years ago

finetune的流程能跑通吗,检查下运行环境(paddle版本,cuda环境等)?目前从这个报错看不出是哪里的问题