MPI集群训练的模型本地infer的时候出错
Created by: wrchow
Traceback (most recent call last): File "query_dnn_single_infer.py", line 180, in dnn_infer(input_file_name, param_file_name) File "query_dnn_single_infer.py", line 156, in dnn_infer probs = paddle.infer(output_layer=out, parameters=parameters, input=input) File "/home/users/zhouweiran/anaconda2/lib/python2.7/site-packages/paddle/v2/inference.py", line 157, in infer inferer = Inference(output_layer=output_layer, parameters=parameters) File "/home/users/zhouweiran/anaconda2/lib/python2.7/site-packages/paddle/v2/inference.py", line 50, in init val.copyFromNumpyArray(parameters.get(name).flatten()) File "/home/users/zhouweiran/anaconda2/lib/python2.7/site-packages/paddle/v2/parameters.py", line 242, in get return self.getitem(key=parameter_name) File "/home/users/zhouweiran/anaconda2/lib/python2.7/site-packages/paddle/v2/parameters.py", line 186, in getitem return self.__getter_inner(key, api.PARAMETER_VALUE) File "/home/users/zhouweiran/anaconda2/lib/python2.7/site-packages/paddle/v2/parameters.py", line 153, in __getter_inner shape = self.get_shape(key) File "/home/users/zhouweiran/anaconda2/lib/python2.7/site-packages/paddle/v2/parameters.py", line 200, in get_shape raise ValueError("No such parameter %s" % key) ValueError: No such parameter ___sequence_conv_pooling_0___conv_fc.w0