模型部署

 

1. pytorch

docker 部署

环境部署:https://github.com/pytorch/serve/blob/master/ts_scripts/install_dependencies.py

 

demo:https://github.com/pytorch/serve/tree/master/examples

curl: https://curl.se/docs/manpage.html   curl详解   使用 curl 发送 POST 请求的几种方式  https://zhuanlan.zhihu.com/p/482405345

curl 模拟 GET\POST 请求,以及 curl post 上传文件

curl 用法

局域网远程不了:firewall-cmd --state 

Error: DBUS_ERROR: Failed to connect to socket /root/anaconda3/...: no such file or directory

sudo /etc/init.d/dbus start   #启动dbus

dbus-daemon --system   #启动守护进程,dbus-daemon

 

验证

ping ip

telent ip 5000 

 

 

 

问题排查及解决

能够ping通服务器的同时端口不通的排查方法

 

2. tensorflow

 

posted on 2022-07-06 11:00  iUpoint  阅读(29)  评论(0编辑  收藏  举报

导航