Multi-Class Training + Inference #2917
-
Hello. I was wondering if there currently is an active implementation process for true multi-class training or maybe there is a workaround for that matter. If not, then I would like to recommend this as a new feature. Inference-wise you currently have to use one model for each angle of certain object, which is possible but limiting and definitely more time-consuming. If there is a workaround, please let me know. I am unaware of one hence this feature request. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You could try to train one model with images from all angles. If the variety isn't too large this might work. |
Beta Was this translation helpful? Give feedback.
Right, anomalib calculates only one threshold per model. But you could train a model and then use the images of each angle for validation to calculate a threshold for each angle. Then you could build some "sub models" that share the heavy anomaly detection part and only apply different thresholds. You would have to write the code to this, it's not in anomalib