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

ppliteseg模型推理时是否有置信度数据 #3768

Closed
1 task done
alanxinn opened this issue Aug 1, 2024 · 4 comments
Closed
1 task done

ppliteseg模型推理时是否有置信度数据 #3768

alanxinn opened this issue Aug 1, 2024 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@alanxinn
Copy link

alanxinn commented Aug 1, 2024

问题确认 Search before asking

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

请提出你的问题 Please ask your question

使用ppliteseg推理,直接给出INT32的分割结果数据,是否有置信度数据?

@alanxinn alanxinn added the question Further information is requested label Aug 1, 2024
@cuicheng01
Copy link
Collaborator

可以通过修改后处理来支持

@alanxinn
Copy link
Author

alanxinn commented Aug 2, 2024

@cuicheng01
image
输入图像数据为 [1,3,1440,1080]
获取bilinear_interp_v2_6.tmp_0的数据,根据该数据进行对比,发现概率值为不确定的,如下图所示
image
左边为background的概率值,右边为种类1的概率值,arg_max只是提取每个像素位置的种类最大值,但是这个值我观察没有固定范围 类似置信度0-1

@Bobholamovic
Copy link
Member

在导出模型时传入--output_op softmax可以使模型输出置信度。

@alanxinn
Copy link
Author

alanxinn commented Aug 2, 2024

在导出模型时传入--output_op softmax可以使模型输出置信度。

好的,谢谢

@alanxinn alanxinn closed this as completed Aug 2, 2024
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

3 participants