提供的客户端调用示例运行出错
Created by: omtbreak
提供的示例为将cascade rcnn模型在服务器部署,并使用rpc方式调用。 客户端报错内容为
shihao@irecog:~/example$ python test_client.py
sh: patchelf: 未找到命令
WARNING: Logging before InitGoogleLogging() is written to STDERR
E0521 00:10:52.973182 2214 config_manager.cpp:217] Not found key in configue: cluster
E0521 00:10:52.973218 2214 config_manager.cpp:234] Not found key in configue: split_tag_name
E0521 00:10:52.973223 2214 config_manager.cpp:235] Not found key in configue: tag_candidates
E0521 00:10:52.973237 2214 config_manager.cpp:202] Not found key in configue: connect_timeout_ms
E0521 00:10:52.973242 2214 config_manager.cpp:203] Not found key in configue: rpc_timeout_ms
E0521 00:10:52.973246 2214 config_manager.cpp:205] Not found key in configue: hedge_request_timeout_ms
E0521 00:10:52.973250 2214 config_manager.cpp:207] Not found key in configue: connect_retry_count
E0521 00:10:52.973258 2214 config_manager.cpp:209] Not found key in configue: hedge_fetch_retry_count
E0521 00:10:52.973263 2214 config_manager.cpp:211] Not found key in configue: max_connection_per_host
E0521 00:10:52.973268 2214 config_manager.cpp:212] Not found key in configue: connection_type
E0521 00:10:52.973273 2214 config_manager.cpp:219] Not found key in configue: load_balance_strategy
E0521 00:10:52.973278 2214 config_manager.cpp:221] Not found key in configue: cluster_filter_strategy
E0521 00:10:52.973284 2214 config_manager.cpp:226] Not found key in configue: protocol
E0521 00:10:52.973289 2214 config_manager.cpp:227] Not found key in configue: compress_type
E0521 00:10:52.973296 2214 config_manager.cpp:228] Not found key in configue: package_size
E0521 00:10:52.973302 2214 config_manager.cpp:230] Not found key in configue: max_channel_per_request
E0521 00:10:52.973307 2214 config_manager.cpp:234] Not found key in configue: split_tag_name
E0521 00:10:52.973314 2214 config_manager.cpp:235] Not found key in configue: tag_candidates
I0521 00:10:52.978864 2214 naming_service_thread.cpp:209] brpc::policy::ListNamingService("127.0.0.1:8050"): added 1
W0521 00:11:06.074235 2214 predictor.hpp:129] inference call failed, message: [E112]1/1 channels failed, fail_limit=1 [C0][E1014]Got EOF of fd=3 SocketId=1@127.0.0.1:8050@54934 [R1][E111]Fail to connect SocketId=8589934594@127.0.0.1:8050: Connection refused [R2][E112]Fail to select server from list://127.0.0.1:8050 lb=la
I0521 00:11:06.174870 2393 socket.cpp:2370] Checking SocketId=0@127.0.0.1:8050
服务器端报错内容为
terminate called after throwing an instance of 'paddle::platform::EnforceNotMet'
what():
--------------------------------------------
C++ Call Stacks (More useful to developers):
--------------------------------------------
----------------------
Error Message Summary:
----------------------
InvalidArgumentError: Fully Connected input and weigth size do not match. input width: 12544,weight height: 12548
[Hint: Expected in_mat_dims[1] == w_dims0, but received in_mat_dims[1]:12544 != w_dims0:12548.] at (/paddle/paddle/fluid/operators/fc_op.h:39)