You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
General-AI-Platform-Web/mock/pools/modelVersionData.ts

174 lines
4.3 KiB
TypeScript

/*
* @Author: donghao donghao@supervision.ltd
* @Date: 2024-01-24 16:59:35
* @LastEditors: donghao donghao@supervision.ltd
* @LastEditTime: 2024-01-24 17:06:32
* @FilePath: \general-ai-platform-web\mock\pools\modelVersionData.ts
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
/**模型版本-选择模型 */
export const mockGetModelVersionListData = {
data: {
list: [
{
id: 1,
createTime: '2023-10-21T11:16:46.244747+08:00',
updateTime: '2023-10-23T09:23:38.477132+08:00',
modelFkId: 5,
version: 'V1.0',
path: '/path/a.onnx',
modelConfig: null,
startCode: '',
status: 1,
isEnable: true,
remark: '',
},
{
id: 2,
createTime: '2023-10-21T11:17:11.704304+08:00',
updateTime: '2023-10-23T09:23:55.998654+08:00',
modelFkId: 5,
version: 'V1.2',
path: '/path/b.onnx',
modelConfig: null,
startCode: '',
status: 1,
isEnable: true,
remark: '',
},
{
id: 3,
createTime: '2023-10-21T11:17:49.609481+08:00',
updateTime: '2023-10-23T09:24:14.832605+08:00',
modelFkId: 5,
version: 'V1.1',
path: 'aa',
modelConfig: null,
startCode: '',
status: 1,
isEnable: true,
remark: '',
},
{
id: 4,
createTime: '2023-10-21T11:18:01.331091+08:00',
updateTime: '2023-10-23T09:24:43.671437+08:00',
modelFkId: 6,
version: 'V1.0',
path: 'aaa',
modelConfig: {
params: [
{
name: 'model',
remark: '1',
default: './model_file/yolov5_phone.onnx',
},
{
name: 'model_cache',
remark: '2',
default: './tensort_cache/yolov5_phone.trt',
},
],
},
startCode: '',
status: 1,
isEnable: true,
remark: '',
},
{
id: 5,
createTime: '2023-10-24T15:03:46.104742+08:00',
updateTime: '2023-10-25T17:39:18.952711+08:00',
modelFkId: 5,
version: 'V11',
path: '../config_phone.yaml',
modelConfig: {
params: [],
},
startCode: '',
status: 1,
isEnable: true,
remark: '',
},
{
id: 7,
createTime: '2023-10-25T13:58:04.622319+08:00',
updateTime: '2023-10-25T17:39:37.221289+08:00',
modelFkId: 7,
version: 'V1.0',
path: '../config_sleep.yaml',
modelConfig: {
params: [],
},
startCode: '',
status: 1,
isEnable: true,
remark: '',
},
{
id: 8,
createTime: '2023-10-25T13:59:04.80433+08:00',
updateTime: '2023-10-25T17:39:53.069411+08:00',
modelFkId: 8,
version: 'V1.0',
path: '../config_person.yaml',
modelConfig: {
params: [],
},
startCode: '',
status: 1,
isEnable: true,
remark: '',
},
{
id: 11,
createTime: '2023-11-03T16:44:15.776907+08:00',
updateTime: '2023-11-03T16:44:15.776907+08:00',
modelFkId: 3,
version: '',
path: 'aa',
modelConfig: {
params: [],
},
startCode: '',
status: 1,
isEnable: true,
remark: '',
},
{
id: 12,
createTime: '2023-11-03T16:45:39.870898+08:00',
updateTime: '2023-11-03T16:45:39.870898+08:00',
modelFkId: 3,
version: '',
path: 'aa',
modelConfig: {
params: [],
},
startCode: '',
status: 1,
isEnable: true,
remark: '',
},
{
id: 13,
createTime: '2023-11-03T16:46:36.363785+08:00',
updateTime: '2023-11-03T16:46:36.363785+08:00',
modelFkId: 2,
version: '',
path: 'aa',
modelConfig: {
params: [],
},
startCode: '',
status: 1,
isEnable: true,
remark: '',
},
],
total: 24,
page: 1,
pageSize: 10,
},
};