搜索内容

包含标签:API 的文章
  • 飞桨模型部署至docker并使用FastAPI调用(三)-API部署
    API/SDK

    飞桨模型部署至docker并使用FastAPI调用(三)-API部署

    已阅: 44 飞桨模型部署至docker并使用FastAPI调用本地 get 调用 fastapi中间的调错和测试省略了,只展示最终结果,毕竟环境会骗你,代码不会。运行 startup.py,并访问 http://127.0.0.1:8000/,终端输出如下: INFO: Will watch for changes in these directories: ['/root/code'] INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) INFO: Started reloader process [2……
    MWHLS 2022/11/24
  • 飞桨模型部署至docker并使用FastAPI调用(一)-docker安装与vscode连接
    Python

    飞桨模型部署至docker并使用FastAPI调用(一)-docker安装与vscode连接

    已阅: 23 飞桨模型部署至docker并使用FastAPI调用Windows docker 下载官方下载:Install Docker Desktop on Windows安装 WSL启动后会自动跳出窗口提示安装,安装后点击 Restart 即可。无法打开设置以管理员身份运行。使用国内下载源打开 Settings - Docker Engine原json:{ "builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } }, "experimenta……
    MWHLS 2022/11/22