Aries
Aries
from d3m import index error I got 'ImportError: pycurl: libcurl link-time version (7.58.0) is older than compile-time version (7.68.0)' I used pycurl==7.43.0.6
@HeGsnS I try to pycurl to 7.43.0 ,it still not work. Traceback (most recent call last): File "", line 1035, in _handle_fromlist File "", line 219, in _call_with_frames_removed File "/opt/workspace/lh/git_worksapce/tods/src/d3m/d3m/index.py",...
1.如果要使用http://127.0.0.1:9292/uci/prediction这个url,请使用examples/C++/fit_a_line/test_server.py启动服务。 2.如果使用python3 -m paddle_serving_server.serve --model uci_housing_model --thread 10 --port 9292启动服务,请使用 ``` curl -XPOST http://127.0.0.1:9292/GeneralModelService/inference -d '{"tensor":[{"float_data":[0.0137,-0.1136,0.2553,-0.0692,0.0582,-0.0727,-0.1583,-0.0584,0.6283,0.4919,0.1856,0.0795,-0.0332],"elem_type":1,"name":"x","alias_name":"x","shape":[1,13]}],"fetch_var_names":["price"],"log_id":0}' ``` 请求服务。具体的说明https://github.com/PaddlePaddle/Serving/blob/v0.9.0/doc/C%2B%2B_Serving/Http_Service_CN.md。 我也在这卡了好久。找了好久才找到。希望能帮到你。
https://github.com/PaddlePaddle/Serving/blob/v0.9.0/doc/C%2B%2B_Serving/Http_Service_CN.md 希望这里能帮到你。
你指定一个HF_HOME的环境变量就可以了。
我猜可能是打分模型是用英文数据集训练的,可能对中文支持不好。不知道猜的对不对。