[HELP] Segmentation task using only good/bad images (no masks) #1369
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hello,
Most of the models here are trained with good images only, so it should be possible.
It's hard to say why you got this result. You can try to use the config above. I tested it with the PatchCore model (make sure you are using its
I might suggest changing the image size in your config from 960x960 to 256x256 (like in the MVTec AD dataset). Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
If you don't provide a mask, the adaptive thresholding mechanism cannot utilize any masks. Instead it assigns the pixel thresholds based on the image thresholds (bad images). This overall might reduce the performance of your model. You could potentially try using |
Beta Was this translation helpful? Give feedback.
-
As you could see above, you could set the test split mode to synthetic. |
Beta Was this translation helpful? Give feedback.
I think it's how everything is supposed to work :) You can check these examples. Patchcore tends to have relatively high scores for noisy areas, you can try to use more images for training if it's possible. Or simply ignore these higher anomaly scores, you already have a threshold that shows actual high scores on the bad_inference image (in red circle).