Add ability to regenerate examples in classification wizard (#22604)

* add randomness to object classification

also ensure train_dir is fresh if user has regenerated examples

* frontend refresh button

* fix radix dropdown issue

* i18n
This commit is contained in:
Josh Hawkins
2026-03-24 07:53:37 -05:00
committed by GitHub
parent 6c5801ac83
commit 91ef3b2ceb
4 changed files with 114 additions and 17 deletions
@@ -180,9 +180,14 @@
"classifyFailed": "Failed to classify images: {{error}}"
},
"generateSuccess": "Successfully generated sample images",
"refreshExamples": "Generate new examples",
"refreshConfirm": {
"title": "Generate New Examples?",
"description": "This will generate a new set of images and clear all selections, including any previous classes. You will need to re-select examples for all classes."
},
"missingStatesWarning": {
"title": "Missing State Examples",
"description": "It's recommended to select examples for all states for best results. You can continue without selecting all states, but the model will not be trained until all states have images. After continuing, use the Recent Classifications view to classify images for the missing states, then train the model."
"title": "Missing Class Examples",
"description": "Not all classes have examples. Try generating new examples to find the missing class, or continue and use the Recent Classifications view to add images later."
}
}
}