Error message:
Changing the config.yaml path in the web_service.py file to an absolute path is also incorrect, and also tried unset https_proxy
unset http_proxy, but the error code is as follows:
More information: The
model is self-trained det (SAST) rec (EN_Number_Lite)
The configuration of the model corresponding to the depoly has also been modified
Traceback (most recent call last):
File "web_service.py", line 159, in <module>
uci_service.prepare_pipeline_config("config.yml")
File "/home/dapeng/.local/lib/python3.7/site-packages/paddle_serving_server/web_service.py", line 65, in prepare_pipeline_config
self._server.prepare_server(yaml_file)
File "/home/dapeng/.local/lib/python3.7/site-packages/paddle_serving_server/pipeline/pipeline_server.py", line 172, in prepare_server
yml_file=yml_file, yml_dict=yml_dict)
File "/home/dapeng/.local/lib/python3.7/site-packages/paddle_serving_server/pipeline/pipeline_server.py", line 344, in load_server_yaml_conf
conf = yaml.load(f.read())
TypeError: load() missing 1 required positional argument: 'Loader'
Solution:
vim /home/dapeng/.local/lib/python3.7/site-packages/paddle_serving_server/pipeline/pipeline_server.py
# At line 344, after the conf = yaml.load() brackets addLoader=yaml.FullLoaderv
conf = yaml.load(f.read(), Loader=yaml.FullLoader)
Read More:
- [Solved] Ubuntu 20.04 Error: curl: (23) Failure writing output to destination
- PM2 user defined Log, PID and other Log File Locations
- Linux solves nohup: ignoring input and appending output to “nohup. Out” and nohup: ignoring input redirection error to standard output
- C# implementation of TXT document to table example code
- The solution to the crash loop back off error of coredns in k8s deployment
- Using JWT of distributed deployment services Error: JWT check failure:
- summary of configuration and deployment of uwsgi+nginx+flag in centos7 and why internal server error is prompted [official instructions]
- [Solved] Linux — 9 — txt files are copied from windows to Linux and read error
- [Solved] catkin_make error: CMake Error at CMakeLists.txt:1:
- Linux Error: CMake Error in CMakeLists.txt: No CMAKE_CXX_COMPILER could be found.
- You might want to save ‘/run/in itramf s/rdsosreport.txt“ to a USB stick or bootaf ter mounting
- Weblogic Deployment Error: The most likely cause is an error in the network configuration of this machine.
- How to Solve labelme Install Error in Ubuntu
- [Solved] Ubuntu conda ProxyError: Conda cannot proceed due to an error in your proxy configuration
- [Solved] Ubuntu Error: Failed to connect to 127.0.0.1 port xxxxx: Connection refused
- Clang Error: error: cannot specify -o when generating multiple output files
- Linux Nagios failed to log in to internal server error (Fixed)
- [Solved] Ubuntu pip Install Error: which is not on PATH
- Errors encountered when configuring static ip on Ubuntu 18.04
- Ubuntu: Redis starts the project Error [How to Solve]