Closed monkeycc closed 1 year ago
@monkeycc, can you add a bit more context please?
,你能添加更多的上下文吗?
Sorry , Re edit completed
To understand why your pixel f1 is so low,we need to have a look at your dataset, your annotations and the model results. Why exactly are you interested in a high pixel F1 score?
If youre images are very large and the defects are very small you can try to increase the image size to 384 or even 512
image_size: 384 # dimensions to which images are resized (mandatory)
center_crop: 384 # dimensions to which images are center-cropped after resizing (optional)
and note that f1-score is a bit of a harsh metric, penalizing the false positives. Please check your ground-truth and predictions. If predictions are slightly different than your ground-truth this will hurt your f1-score even though you think that the predictions look alright.
Since this is not an issue with Patchcore and more about a usecase issue, I'll convert this to a discussion. Thanks!
PatchCore
Image high resolution 1280*1024 Minor defects
The training results were very poor I'm not sure how to adjust the configuration or switch to any other model
Number of images normal_dir: 560 abnormal_dir: 120