DarioFontanel / PAnS

Detecting Anomalies in Semantic Segmentation with Prototypes
MIT License
25 stars 3 forks source link

About ground truth Semantic Segmentation images #8

Closed JackyLin7414 closed 2 years ago

JackyLin7414 commented 2 years ago

Hi, @DarioFontanel I have no idea how to get the ground truth Semantic Segmentation images. Can you tell me. Thank you. image

I'm very grateful for your continuous help. Jacky

DarioFontanel commented 2 years ago

Hi Jacky, The following line shows how you can create and add them to the logger. The pipeline is the same for both GT and predicted masks. https://github.com/DarioFontanel/PAnS/blob/fb604d01f9de57e83b2adfddf60e7a9fa6615bc6/run.py#L255

Dario

JackyLin7414 commented 2 years ago

Hi, @DarioFontanel Thank you for the quick response. https://github.com/DarioFontanel/PAnS/blob/fb604d01f9de57e83b2adfddf60e7a9fa6615bc6/run.py#L255

This line is for validation. Can you tell me how to use it for testing?

Thank you. I appreciate it. Jacky

DarioFontanel commented 2 years ago

Hi, It's exactly the same pipeline, you just only have to put test GTs in target.

Dario

JackyLin7414 commented 2 years ago

Hi, @DarioFontanel Thank you for the quick response. Your answer is exactly what i want. I appreciate it.

Jacky