口罩识别多线程运行报错
Created by: taingload
版本、环境信息 1)PaddleHub和PaddlePaddle版本:请提供您的PaddleHub和PaddlePaddle版本号,例如 paddlehub 1.5.2 paddlepaddle 1.6.3 2)系统环境:centos7请您描述系统类型,例如Linux/Windows/MacOS/,python版本 复现信息: 如为报错,请给出复现环境、复现步骤 复现环境,python调用摄像头不断读帧,将图像进行图像检测face_detection input_dict={"data":[frame]} 错误追踪: var @HUB_pyramidbox_lite_mobile@image not in this blockNone Traceback (most recent call last): File "/root/oeworkspace/kouzhao/kzvideo5.py", line 155, in startpushstream results = module.face_detection(data=input_dict) File "/usr/local/python3/lib/python3.7/site-packages/paddlehub/module/module.py", line 537, in call reader, feeder = _get_reader_and_feeder(data_format, data, place) File "/usr/local/python3/lib/python3.7/site-packages/paddlehub/module/module.py", line 510, in _get_reader_and_feeder feeder = fluid.DataFeeder(feed_list=feed_name_list, place=place) File "/usr/local/python3/lib/python3.7/site-packages/paddle/fluid/data_feeder.py", line 262, in init each_var = program.block(0).var(each_var) File "/usr/local/python3/lib/python3.7/site-packages/paddle/fluid/framework.py", line 2263, in var raise ValueError("var %s not in this block" % name) ValueError: var @HUB_pyramidbox_lite_mobile_mask@image not in this block