From 8a7c584f0219536f0a2b66c507e9b2b716295fc1 Mon Sep 17 00:00:00 2001 From: zhaowei Date: Sun, 27 Apr 2025 11:48:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=9B=E5=BB=BA=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E5=88=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/CreateForm/ExecuteConfig.tsx | 4 +- react-ui/src/pages/AutoML/Create/index.tsx | 7 +- .../AutoML/components/AutoMLBasic/index.tsx | 49 +++- .../CreateForm/TextExecuteConfig.tsx | 4 +- .../CreateForm/VideoExecuteConfig.tsx | 260 ++++++++++++++++++ react-ui/src/pages/AutoML/types.ts | 14 + 6 files changed, 332 insertions(+), 6 deletions(-) create mode 100644 react-ui/src/pages/AutoML/components/CreateForm/VideoExecuteConfig.tsx diff --git a/react-ui/src/pages/ActiveLearn/components/CreateForm/ExecuteConfig.tsx b/react-ui/src/pages/ActiveLearn/components/CreateForm/ExecuteConfig.tsx index bedbe0f2..addb402c 100644 --- a/react-ui/src/pages/ActiveLearn/components/CreateForm/ExecuteConfig.tsx +++ b/react-ui/src/pages/ActiveLearn/components/CreateForm/ExecuteConfig.tsx @@ -251,11 +251,11 @@ function ExecuteConfig() { rules={[ { required: true, - message: '请输入epochs', + message: '请输入 epochs', }, ]} > - + diff --git a/react-ui/src/pages/AutoML/Create/index.tsx b/react-ui/src/pages/AutoML/Create/index.tsx index 1489d999..53cdf8bb 100644 --- a/react-ui/src/pages/AutoML/Create/index.tsx +++ b/react-ui/src/pages/AutoML/Create/index.tsx @@ -18,6 +18,7 @@ import DatasetConfig from '../components/CreateForm/DatasetConfig'; import ExecuteConfig from '../components/CreateForm/ExecuteConfig'; import TextExecuteConfig from '../components/CreateForm/TextExecuteConfig'; import TrialConfig from '../components/CreateForm/TrialConfig'; +import VideoExecuteConfig from '../components/CreateForm/VideoExecuteConfig'; import { AutoMLData, FormData } from '../types'; import styles from './index.less'; @@ -200,6 +201,8 @@ function CreateAutoML() { test_size: 0.25, train_size: 0.67, seed: 1, + is_validate: false, + is_test: false, }} > @@ -212,7 +215,9 @@ function CreateAutoML() { ) : type === AutoMLType.Text ? ( - ) : null} + ) : ( + + )}