模型部署
1. pytorch
环境部署: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 上传文件
局域网远程不了: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
问题排查及解决
2. tensorflow