diff --git a/web/src/views/classification/ModelTrainingView.tsx b/web/src/views/classification/ModelTrainingView.tsx
index 3370927a3..438c4e7eb 100644
--- a/web/src/views/classification/ModelTrainingView.tsx
+++ b/web/src/views/classification/ModelTrainingView.tsx
@@ -757,7 +757,6 @@ function TrainGrid({
selectedImages={selectedImages}
onClickImages={onClickImages}
onRefresh={onRefresh}
- onDelete={onDelete}
/>
);
}
@@ -780,10 +779,7 @@ function StateTrainGrid({
selectedImages,
onClickImages,
onRefresh,
- onDelete,
}: StateTrainGridProps) {
- const { t } = useTranslation(["views/classificationModel"]);
-
const threshold = useMemo(() => {
return {
recognition: model.threshold,
@@ -817,7 +813,7 @@ function StateTrainGrid({
image={data.filename}
onRefresh={onRefresh}
>
-
+
))}
@@ -833,7 +829,6 @@ type ObjectTrainGridProps = {
selectedImages: string[];
onClickImages: (images: string[], ctrl: boolean) => void;
onRefresh: () => void;
- onDelete: (ids: string[]) => void;
};
function ObjectTrainGrid({
model,
@@ -843,10 +838,7 @@ function ObjectTrainGrid({
selectedImages,
onClickImages,
onRefresh,
- onDelete,
}: ObjectTrainGridProps) {
- const { t } = useTranslation(["views/classificationModel"]);
-
// item data
const groups = useMemo(() => {
@@ -966,22 +958,8 @@ function ObjectTrainGrid({
image={data.filename}
onRefresh={onRefresh}
>
-
+
-
-
- {
- e.stopPropagation();
- onDelete([data.filename]);
- }}
- />
-
-
- {t("button.deleteClassificationAttempts")}
-
-
>
)}