载入模型 docker 图片的 Acumos 市场下载
Acumos marketplace download of onboarded model docker image
我成功生成并成功加入了 Iris 分类示例 (Python) 模型 (https://github.com/acumos/acumos-python-client/blob/master/examples/tensorflow_example.py) to Acumos (our own installation). I then downloaded the Docker image of the Acumos created model to my local machine using the "Download" button and selecting the model_xxxx.tar file. I imported the Docker image to Docker and started it using docker run (docker run -d --name iris -p 127.0.0.1:3330:3330 id). I expected that there would be a Swagger API description at http://127.0.0.1:3330 but there was not. I am misunderstanding something here? I looks like that there is a listener at http://127.0.0.1:3330/classify 但我无法验证这一点,因为我不知道如何调用它。
感谢所有帮助:-)。我试图找到一个连贯的教程,描述如何实际执行此操作,但到目前为止没有运气。
请参阅详尽指南,其中详细描述了如何在已部署的 Acumos 模型中调用服务:
您可能想对这个关于提供 Swagger 端点的开放 Jira 问题发表评论:
您可以打开 Docker 桌面,运行 容器,然后从容器列表中,将鼠标悬停在容器名称上,然后单击“在浏览器中打开”。这将向您展示包含所有方法和工件的 Swagger API 描述,当然会让您尝试一下。
我成功生成并成功加入了 Iris 分类示例 (Python) 模型 (https://github.com/acumos/acumos-python-client/blob/master/examples/tensorflow_example.py) to Acumos (our own installation). I then downloaded the Docker image of the Acumos created model to my local machine using the "Download" button and selecting the model_xxxx.tar file. I imported the Docker image to Docker and started it using docker run (docker run -d --name iris -p 127.0.0.1:3330:3330 id). I expected that there would be a Swagger API description at http://127.0.0.1:3330 but there was not. I am misunderstanding something here? I looks like that there is a listener at http://127.0.0.1:3330/classify 但我无法验证这一点,因为我不知道如何调用它。
感谢所有帮助:-)。我试图找到一个连贯的教程,描述如何实际执行此操作,但到目前为止没有运气。
请参阅详尽指南,其中详细描述了如何在已部署的 Acumos 模型中调用服务:
您可能想对这个关于提供 Swagger 端点的开放 Jira 问题发表评论:
您可以打开 Docker 桌面,运行 容器,然后从容器列表中,将鼠标悬停在容器名称上,然后单击“在浏览器中打开”。这将向您展示包含所有方法和工件的 Swagger API 描述,当然会让您尝试一下。