搜索内容

包含标签:飞桨 的文章
  • 飞桨模型部署至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调用(二)-环境配置与模型部署
    Python

    飞桨模型部署至docker并使用FastAPI调用(二)-环境配置与模型部署

    已阅: 35 飞桨模型部署至docker并使用FastAPI调用PDRS 环境配置安装 numpy:pip install numpy安装 PDRS (PaddleRS):具体过程见官方文档。下载源码到本地并解压,拖动到 vscode 中 进入 PDRS 文件夹,安装 requirements.txt:pip install -r requirements.txt安装 pycocotools 报错。更新 apt:apt-get update 安装 GCC:apt-get install -y gcc 再次安装 requirements.txt:pip install -r req……
    MWHLS 2022/11/23