可使用两种方式将自己开发的AI模型推理服务程序发布至CubeAI平台:
git代码仓库模式
将模型源代码托管至git代码仓库。
打开CubeAI智立方平台主页,进入CubeAI平台“模型发布”界面,例如:https://cubeai.org/pmodelhub/#/onboarding
选择发布模式: “从git代码仓库”,输入模型源码git代码仓库URL,例如: https://openi.pcl.ac.cn/cubeai-model-zoo/handwriting.git ,将自动从代码仓库克隆代码至CubeAI模型共享平台,并生成微服务docker镜像。
模型压缩包模式
模型打包
在terminal窗口中执行 serviceboot build_zip 命令(或者直接运行 pack_model.py 程序)来进行模型打包:
$ serviceboot build_zip
打包后的压缩文件位于 out 目录之下。
发布模型
命令行模式
在terminal窗口中执行:
$ serviceboot onboarding <URL>
执行该命令会将模型打包阶段在 out 目录中生成的模型压缩文件上传至由参数URL所指定的CubeAI平台(例如:https://cubeai.org),并自动生成微服务docker镜像。
图形界面模式
打开CubeAI智立方平台主页,进入CubeAI平台“模型发布”界面,例如:https://cubeai.org/pmodelhub/#/onboarding
选择发布模式: “从本地文件”,将模型打包阶段生成的.zip文件导入CubeAI模型共享平台,自动生成微服务docker镜像。
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》