From 7e738c6538a7eaee59e9d9cd50e4b5d8f1186bfe Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 22 Oct 2025 06:44:35 -0600 Subject: [PATCH] Cleanup classification --- .../classification/ModelTrainingView.tsx | 101 +++++++++--------- 1 file changed, 48 insertions(+), 53 deletions(-) diff --git a/web/src/views/classification/ModelTrainingView.tsx b/web/src/views/classification/ModelTrainingView.tsx index 0bec83406..67af65a7a 100644 --- a/web/src/views/classification/ModelTrainingView.tsx +++ b/web/src/views/classification/ModelTrainingView.tsx @@ -632,36 +632,36 @@ function DatasetGrid({ return (
{classData.map((image) => ( - onClickImages([data.filename], true)} - > - - - { - e.stopPropagation(); - onDelete([image]); - }} - /> - - - {t("button.deleteClassificationAttempts")} - - - +
+ onClickImages([data.filename], true)} + > + + + { + e.stopPropagation(); + onDelete([image]); + }} + /> + + + {t("button.deleteClassificationAttempts")} + + + +
))}
); @@ -791,30 +791,29 @@ function StateTrainGrid({
{trainData?.map((data) => ( - onClickImages([data.filename], meta)} - > - + onClickImages([data.filename], meta)} > - - - + + + + +
))} ); @@ -934,12 +933,8 @@ function ObjectTrainGrid({ {Object.entries(groups).map(([key, group]) => { const event = events?.find((ev) => ev.id == key); return ( -
+