ShuaiLYU / REB

REB:Reducing Biases in Representation for Industrial Anomaly Detection
Apache License 2.0
20 stars 3 forks source link

About the mask #5

Open zqyeleven opened 2 months ago

zqyeleven commented 2 months ago

hi, may i ask how to get the mask in the DefectMaker part, When i tested items[mask], there is nothing, and mask_size is None,

ShuaiLYU commented 2 months ago

hi, you can refer to the "/REB/blob/main/tutorials/DefectMakerUnion.ipynb" to find visualization of the mask.

For MVTec AD datasets, I got the saliency mask by generating with a public saliency model. you can find it from our paper.