在ModelScope框架上,提供输入图片,即可以通过简单的Pipelie调用使用当前模型。具体代码示例如下:使用方法
from modelscope.pipelies import pipelie
from modelscope.utils.costat import Tasks
object_detect = pipelie(Tasks.image_object_detectio,model='mimioo/tomato-leaf-detect-model')
img_path ='your image path'
result = object_detect(img_path)
该模型当前使用的是默认介绍模版,处于“预发布”阶段,页面仅限所有者可见。
请根据模型贡献文档说明,及时完善模型卡片内容。ModelScope平台将在模型卡片完善后展示。谢谢您的理解。
Cloe with HTTP
git cloe https://www.modelscope.c/mimioo/tomato-leaf-detect.git
点击空白处退出提示







评论