Ensembling multiple semantic segmentation models #813
Replies: 3 comments
-
Do you have a binary segmentation or multiple classes? |
Beta Was this translation helpful? Give feedback.
-
Could you provide some sample code with how to do it? i.e. how to extract
the probabilities of multiple networks and use them for voting
A quinta, 14/12/2023, 12:50, cagey-squirrel ***@***.***>
escreveu:
… Do you have a binary segmentation or multiple classes?
There's a simple way to implement binary segmentation ensembling by taking
mean of segmentation probabilities from all models. Although this is not
exactly the same as voting, it can sometimes give even better results.
Multiclass segmentation can be implemented in a similar way as well.
—
Reply to this email directly, view it on GitHub
<#813 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVNAN5HECF4THYUBVALUGDYJLYXPAVCNFSM6AAAAAA5EIWVMWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TQNJTGI4DE>
.
You are receiving this because you authored the thread.Message ID:
<qubvel/segmentation_models.pytorch/repo-discussions/813/comments/7853282@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Sure thing. Now, to make an ensemble
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I was wondering if this library provides any way of averaging / voting the output of different models. If so could anyone provide an example?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions