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}
+ ) : (
+
+ )}
diff --git a/react-ui/src/pages/AutoML/components/CreateForm/VideoExecuteConfig.tsx b/react-ui/src/pages/AutoML/components/CreateForm/VideoExecuteConfig.tsx
new file mode 100644
index 00000000..425de115
--- /dev/null
+++ b/react-ui/src/pages/AutoML/components/CreateForm/VideoExecuteConfig.tsx
@@ -0,0 +1,260 @@
+import ResourceSelect, {
+ ResourceSelectorType,
+ requiredValidator,
+} from '@/components/ResourceSelect';
+import SubAreaTitle from '@/components/SubAreaTitle';
+import { Col, Form, Input, InputNumber, Row, Switch } from 'antd';
+
+function VideoExecuteConfig() {
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {/*
+
+
+
+
+
+
*/}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {({ getFieldValue }) => {
+ const is_validate = getFieldValue('is_validate');
+ if (is_validate) {
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+ }
+ }}
+
+
+ {/*
+ {({ getFieldValue }) => {
+ const is_test = getFieldValue('is_test');
+ if (is_test) {
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+ }
+ }}
+ */}
+ >
+ );
+}
+
+export default VideoExecuteConfig;
diff --git a/react-ui/src/pages/AutoML/types.ts b/react-ui/src/pages/AutoML/types.ts
index 47b96974..8ca6f0fb 100644
--- a/react-ui/src/pages/AutoML/types.ts
+++ b/react-ui/src/pages/AutoML/types.ts
@@ -1,3 +1,11 @@
+/*
+ * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
+ * @Date: 2025-04-17 10:22:05
+ * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
+ * @LastEditTime: 2025-04-27 11:43:19
+ * @FilePath: \ci4s\react-ui\src\pages\AutoML\types.ts
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
+ */
import { type ParameterInputObject } from '@/components/ResourceSelect';
import { type NodeStatus } from '@/types';
@@ -43,6 +51,12 @@ export type FormData = {
batch_size?: number;
epochs?: number;
lr?: number;
+ num_classes?: number;
+ is_validate?: boolean;
+ train_data_prefix?: string;
+ valid_data_prefix?: string;
+ train_file_path?: string;
+ valid_file_path?: string;
};
export type AutoMLData = {