Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部署时的loadimage预处理问题 #3706

Open
1 task done
gunh4mmer opened this issue Apr 24, 2024 · 1 comment
Open
1 task done

部署时的loadimage预处理问题 #3706

gunh4mmer opened this issue Apr 24, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@gunh4mmer
Copy link

问题确认 Search before asking

  • 我已经搜索过问题,但是没有找到解答。I have searched the question and found no related answer.

请提出你的问题 Please ask your question

如#1858和#1745所说,我根据PaddleSeg\Matting\ppmatting\transforms\transforms.py中对于loadimage预处理类的理解,因为matting模型与传统语义分割不同,数据集可能有三值图trimap的情况,因此在matting模型训练中,新增了该loadimage预处理,为了来区分rgb与gbr,区分图像是src、alpha、trimap,但是直到目前为止paddleX与fastdeploy所支持的预处理方法中均没有loadimage方法

@gunh4mmer gunh4mmer added the question Further information is requested label Apr 24, 2024
@gunh4mmer
Copy link
Author

如果按照我以上对loadimage的理解,它仅仅是对图像的分类处理,按理来说并不应该出现在预测模型的配置文件中?除此以外,应工程需要,环境为.net,以目前情况来看,似乎只有将paddle模型转为onnx模型一条路可走,是否还有其他可以解决该问题的方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants