diff --git a/frontend/src/components/ModelManage/EvaluationTab.tsx b/frontend/src/components/ModelManage/EvaluationTab.tsx index 18d4d1a..14dcf5e 100644 --- a/frontend/src/components/ModelManage/EvaluationTab.tsx +++ b/frontend/src/components/ModelManage/EvaluationTab.tsx @@ -111,8 +111,8 @@ function ModelEvaluation({ projectId, selectedModel }: ModelEvaluationProps) { data={[ { name: 'precision', value: resultData[0]?.precision, fill: 'var(--color-precision)' }, { name: 'recall', value: resultData[0]?.recall, fill: 'var(--color-recall)' }, - { name: 'mAP50', value: resultData[0]?.map50, fill: 'var(--color-map50)' }, - { name: 'mAP50_95', value: resultData[0]?.map5095, fill: 'var(--color-map50-95)' }, + { name: 'map50', value: resultData[0]?.map50, fill: 'var(--color-map50)' }, + { name: 'map5095', value: resultData[0]?.map5095, fill: 'var(--color-map5095)' }, { name: 'fitness', value: resultData[0]?.fitness, fill: 'var(--color-fitness)' }, ]} className="h-full" diff --git a/frontend/src/components/ModelManage/ModelBarChart.tsx b/frontend/src/components/ModelManage/ModelBarChart.tsx index c189660..df2cc37 100644 --- a/frontend/src/components/ModelManage/ModelBarChart.tsx +++ b/frontend/src/components/ModelManage/ModelBarChart.tsx @@ -24,11 +24,11 @@ const chartConfig = { label: 'Recall', color: '#1E90FF', }, - mAP50: { + map50: { label: 'mAP50', - color: '#32CD3', + color: '#32CD30', }, - mAP50_95: { + map5095: { label: 'mAP50-95', color: '#BA55D3', }, @@ -62,21 +62,26 @@ export default function ModelBarChart({ data, className }: ModelBarChartProps) { } + content={ + + } /> { return ( ); }} diff --git a/frontend/src/components/ModelManage/index.tsx b/frontend/src/components/ModelManage/index.tsx index 144645a..ff8ef34 100644 --- a/frontend/src/components/ModelManage/index.tsx +++ b/frontend/src/components/ModelManage/index.tsx @@ -10,8 +10,8 @@ export default function ModelManage() { return (
-
-

모델 관리

+
+

모델 관리

@@ -19,9 +19,20 @@ export default function ModelManage() { defaultValue="train" className="w-full" > - - 모델 학습 - 모델 평가 + {/* TabsList랑 TabsTrigger 디자인이 shadcn 문서에서 본 것과 많이 다르고 이상함.. 그래서 일단 className을 일일이 지정함.. */} + + + 모델 학습 + + + 모델 평가 +