Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

能否直接调用检测或分割模型?

Open lao-xu opened this issue 4 years ago • 6 comments

请提出你的问题 Please ask your question

飞桨能否像pytorch一样直接调用各种应用模型,这样更加方便,而不是必须使用套件。比如像 model = torchvision.models.detection.fasterrcnn_resnet50_ model = torchvision.models.segmentation.fcn_

lao-xu avatar Aug 22 '22 03:08 lao-xu

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!

paddle-bot avatar Aug 22 '22 03:08 paddle-bot

请提出你的问题 Please ask your question

飞桨能否像pytorch一样直接调用各种应用模型,这样更加方便,而不是必须使用套件。比如像 model = torchvision.models.detection.fasterrcnn_resnet50_ model = torchvision.models.segmentation.fcn_

有的,可以通过调用paddle.vision.models.${model_name} 使用。

${model_name}列表:

import paddle
dir(paddle.vision.models)

minghaoBD avatar Aug 22 '22 03:08 minghaoBD

看了下,里面以分类模型为主。直接调用检测模型的话还是需要依赖于套件。

minghaoBD avatar Aug 22 '22 04:08 minghaoBD

看了下,里面以分类模型为主。直接调用检测模型的话还是需要依赖于套件。

建议把尽量多模型都加进去,方便使用、学习以及教学,否则学习门槛太高,不利于推广使用。 比如现有的pytorch参考书都有分割、检测、机器翻译等章节,直接调用模型就行,但飞桨参考书就不太方便列进去

lao-xu avatar Aug 22 '22 04:08 lao-xu

好的,谢谢您的宝贵建议。

minghaoBD avatar Aug 22 '22 04:08 minghaoBD

you can try paddle.hub

jzhang533 avatar Sep 20 '22 08:09 jzhang533