tencentcloud-sdk-nodejs-tione 4.0.355 → 4.0.358
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +927 -0
- package/SERVICE_CHANGELOG.md +893 -130
- package/package.json +1 -1
- package/products.md +34 -31
- package/src/services/tione/index.ts +2 -0
- package/src/services/tione/v20211111/index.ts +6 -0
- package/src/services/tione/v20211111/tione_client.ts +387 -0
- package/src/services/tione/v20211111/tione_models.ts +3004 -0
- package/tencentcloud/services/tione/index.d.ts +4 -0
- package/tencentcloud/services/tione/index.js +2 -0
- package/tencentcloud/services/tione/v20211111/index.d.ts +6 -0
- package/tencentcloud/services/tione/v20211111/index.js +9 -0
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +113 -0
- package/tencentcloud/services/tione/v20211111/tione_client.js +187 -0
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +2545 -0
- package/tencentcloud/services/tione/v20211111/tione_models.js +18 -0
|
@@ -0,0 +1,3004 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* DescribeLogs请求参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface DescribeLogsRequest {
|
|
22
|
+
/**
|
|
23
|
+
* 查询哪个服务的事件(可选值为TRAIN, NOTEBOOK, INFER)
|
|
24
|
+
*/
|
|
25
|
+
Service: string
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 查询哪个Pod的日志(支持结尾通配符*)
|
|
29
|
+
*/
|
|
30
|
+
PodName: string
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* 日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时
|
|
34
|
+
*/
|
|
35
|
+
StartTime?: string
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 日志查询结束时间(RFC3339格式的时间字符串),默认值为当前时间
|
|
39
|
+
*/
|
|
40
|
+
EndTime?: string
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* 日志查询条数,默认值100,最大值100
|
|
44
|
+
*/
|
|
45
|
+
Limit?: number
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* 排序方向(可选值为ASC, DESC ),默认为DESC
|
|
49
|
+
*/
|
|
50
|
+
Order?: string
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* 按哪个字段排序(可选值为Timestamp),默认值为Timestamp
|
|
54
|
+
*/
|
|
55
|
+
OrderField?: string
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* 日志查询上下文,查询下一页的时候需要回传这个字段,该字段来自本接口的返回
|
|
59
|
+
*/
|
|
60
|
+
Context?: string
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* 过滤条件
|
|
64
|
+
注意:
|
|
65
|
+
1. Filter.Name:目前只支持Key(也就是按关键字过滤日志)
|
|
66
|
+
2. Filter.Values:表示过滤日志的关键字;Values为多个的时候表示同时满足
|
|
67
|
+
3. Filter. Negative和Filter. Fuzzy没有使用
|
|
68
|
+
*/
|
|
69
|
+
Filters?: Array<Filter>
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* DeleteTrainingModelVersion返回参数结构体
|
|
74
|
+
*/
|
|
75
|
+
export interface DeleteTrainingModelVersionResponse {
|
|
76
|
+
/**
|
|
77
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
78
|
+
*/
|
|
79
|
+
RequestId?: string
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* 点信息描述
|
|
84
|
+
*/
|
|
85
|
+
export interface PointInfo {
|
|
86
|
+
/**
|
|
87
|
+
* X坐标值
|
|
88
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
89
|
+
*/
|
|
90
|
+
X: number
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Y坐标值
|
|
94
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
95
|
+
*/
|
|
96
|
+
Y: number
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* StartTrainingTask请求参数结构体
|
|
101
|
+
*/
|
|
102
|
+
export interface StartTrainingTaskRequest {
|
|
103
|
+
/**
|
|
104
|
+
* 训练任务ID
|
|
105
|
+
*/
|
|
106
|
+
Id: string
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* DescribeDatasetDetailStructured返回参数结构体
|
|
111
|
+
*/
|
|
112
|
+
export interface DescribeDatasetDetailStructuredResponse {
|
|
113
|
+
/**
|
|
114
|
+
* 数据总数
|
|
115
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
116
|
+
*/
|
|
117
|
+
TotalCount: number
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* 表格头信息
|
|
121
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
122
|
+
*/
|
|
123
|
+
ColumnNames: Array<string>
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* 表格内容
|
|
127
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
128
|
+
*/
|
|
129
|
+
RowItems: Array<RowItem>
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* 文本内容
|
|
133
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
134
|
+
*/
|
|
135
|
+
RowTexts: Array<string>
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
139
|
+
*/
|
|
140
|
+
RequestId?: string
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* DescribeBillingResourceGroups请求参数结构体
|
|
145
|
+
*/
|
|
146
|
+
export interface DescribeBillingResourceGroupsRequest {
|
|
147
|
+
/**
|
|
148
|
+
* 资源组类型; 枚举值 TRAIN:训练 INFERENCE:推理
|
|
149
|
+
*/
|
|
150
|
+
Type: string
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Filter.Name: 枚举值: ResourceGroupId (资源组id列表)
|
|
154
|
+
ResourceGroupName (资源组名称列表)
|
|
155
|
+
Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询
|
|
156
|
+
每次请求的Filters的上限为5,Filter.Values的上限为100
|
|
157
|
+
*/
|
|
158
|
+
Filters?: Array<Filter>
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* 标签过滤
|
|
162
|
+
*/
|
|
163
|
+
TagFilters?: Array<TagFilter>
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* 偏移量,默认为0;分页查询起始位置,如:Limit为100,第一页Offset为0,第二页OffSet为100....即每页左边为闭区间
|
|
167
|
+
*/
|
|
168
|
+
Offset?: number
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* 返回数量,默认为20,最大值为30;
|
|
172
|
+
注意:小于0则默认为20;大于30则默认为30
|
|
173
|
+
*/
|
|
174
|
+
Limit?: number
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* 支持模糊查找资源组id和资源组名
|
|
178
|
+
*/
|
|
179
|
+
SearchWord?: string
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* 是否不展示节点列表;
|
|
183
|
+
true: 不展示,false 展示;
|
|
184
|
+
默认为false
|
|
185
|
+
*/
|
|
186
|
+
DontShowInstanceSet?: boolean
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* DescribeTrainingFrameworks返回参数结构体
|
|
191
|
+
*/
|
|
192
|
+
export interface DescribeTrainingFrameworksResponse {
|
|
193
|
+
/**
|
|
194
|
+
* 框架信息列表
|
|
195
|
+
*/
|
|
196
|
+
FrameworkInfos: Array<FrameworkInfo>
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
200
|
+
*/
|
|
201
|
+
RequestId?: string
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* DescribeTrainingModelVersions请求参数结构体
|
|
206
|
+
*/
|
|
207
|
+
export interface DescribeTrainingModelVersionsRequest {
|
|
208
|
+
/**
|
|
209
|
+
* 模型ID
|
|
210
|
+
*/
|
|
211
|
+
TrainingModelId: string
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* 过滤条件
|
|
215
|
+
Filter.Name: 枚举值:
|
|
216
|
+
TrainingModelVersionId (模型版本ID)
|
|
217
|
+
ModelVersionType (模型版本类型) 其值支持: NORMAL(通用) ACCELERATE (加速)
|
|
218
|
+
ModelFormat(模型格式)其值Filter.Values支持:
|
|
219
|
+
TORCH_SCRIPT/PYTORCH/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML
|
|
220
|
+
AlgorithmFramework (算法框架) 其值Filter.Values支持:TENSORFLOW/PYTORCH/DETECTRON2
|
|
221
|
+
Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询
|
|
222
|
+
每次请求的Filters的上限为10,Filter.Values的上限为100
|
|
223
|
+
*/
|
|
224
|
+
Filters?: Array<Filter>
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* 计费项询价单元
|
|
229
|
+
*/
|
|
230
|
+
export interface SpecUnit {
|
|
231
|
+
/**
|
|
232
|
+
* 计费项名称
|
|
233
|
+
*/
|
|
234
|
+
SpecName: string
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* 计费项数量,建议不超过100万
|
|
238
|
+
*/
|
|
239
|
+
SpecCount: number
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* CreateDataset返回参数结构体
|
|
244
|
+
*/
|
|
245
|
+
export interface CreateDatasetResponse {
|
|
246
|
+
/**
|
|
247
|
+
* 数据集ID
|
|
248
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
249
|
+
*/
|
|
250
|
+
DatasetId: string
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
254
|
+
*/
|
|
255
|
+
RequestId?: string
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* DescribeTrainingTasks请求参数结构体
|
|
260
|
+
*/
|
|
261
|
+
export interface DescribeTrainingTasksRequest {
|
|
262
|
+
/**
|
|
263
|
+
* 过滤器,eg:[{ "Name": "Id", "Values": ["train-23091792777383936"] }]
|
|
264
|
+
|
|
265
|
+
取值范围:
|
|
266
|
+
Name(名称):task1
|
|
267
|
+
Id(task ID):train-23091792777383936
|
|
268
|
+
Status(状态):STARTING / RUNNING / STOPPING / STOPPED / FAILED / SUCCEED / SUBMIT_FAILED
|
|
269
|
+
ChargeType(计费类型):PREPAID(预付费)/ POSTPAID_BY_HOUR(后付费)
|
|
270
|
+
CHARGE_STATUS(计费状态):NOT_BILLING(未开始计费)/ BILLING(计费中)/ ARREARS_STOP(欠费停止)
|
|
271
|
+
*/
|
|
272
|
+
Filters?: Array<Filter>
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* 标签过滤器,eg:[{ "TagKey": "TagKeyA", "TagValue": ["TagValueA"] }]
|
|
276
|
+
*/
|
|
277
|
+
TagFilters?: Array<TagFilter>
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* 偏移量,默认为0
|
|
281
|
+
*/
|
|
282
|
+
Offset?: number
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* 返回数量,默认为10,最大为50
|
|
286
|
+
*/
|
|
287
|
+
Limit?: number
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* 输出列表的排列顺序。取值范围:ASC(升序排列)/ DESC(降序排列),默认为DESC
|
|
291
|
+
*/
|
|
292
|
+
Order?: string
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* 排序的依据字段, 取值范围 "CreateTime" "UpdateTime"
|
|
296
|
+
*/
|
|
297
|
+
OrderField?: string
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* DescribeDatasetDetailUnstructured请求参数结构体
|
|
302
|
+
*/
|
|
303
|
+
export interface DescribeDatasetDetailUnstructuredRequest {
|
|
304
|
+
/**
|
|
305
|
+
* 数据集ID
|
|
306
|
+
*/
|
|
307
|
+
DatasetId?: string
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* 偏移量
|
|
311
|
+
*/
|
|
312
|
+
Offset?: number
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* 返回个数,默认20,目前最大支持2000条数据
|
|
316
|
+
*/
|
|
317
|
+
Limit?: number
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* 标签过滤参数,对应标签值
|
|
321
|
+
*/
|
|
322
|
+
LabelList?: Array<string>
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* 标注状态过滤参数:
|
|
326
|
+
STATUS_ANNOTATED,已标注
|
|
327
|
+
STATUS_NON_ANNOTATED,未标注
|
|
328
|
+
STATUS_ALL,全部
|
|
329
|
+
默认为STATUS_ALL
|
|
330
|
+
*/
|
|
331
|
+
AnnotationStatus?: string
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* 数据集ID列表
|
|
335
|
+
*/
|
|
336
|
+
DatasetIds?: Array<string>
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* cos的路径信息
|
|
341
|
+
*/
|
|
342
|
+
export interface CosPathInfo {
|
|
343
|
+
/**
|
|
344
|
+
* 存储桶
|
|
345
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
346
|
+
*/
|
|
347
|
+
Bucket: string
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* 所在地域
|
|
351
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
352
|
+
*/
|
|
353
|
+
Region: string
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* 路径列表,目前只支持单个
|
|
357
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
358
|
+
*/
|
|
359
|
+
Paths: Array<string>
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* DescribeBillingResourceGroups返回参数结构体
|
|
364
|
+
*/
|
|
365
|
+
export interface DescribeBillingResourceGroupsResponse {
|
|
366
|
+
/**
|
|
367
|
+
* 资源组总数; 注意接口是分页拉取的,total是指资源组总数,不是本次返回中ResourceGroupSet数组的大小
|
|
368
|
+
*/
|
|
369
|
+
TotalCount: number
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* 资源组详情
|
|
373
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
374
|
+
*/
|
|
375
|
+
ResourceGroupSet: Array<ResourceGroup>
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
379
|
+
*/
|
|
380
|
+
RequestId?: string
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* 计费项询价结果
|
|
385
|
+
*/
|
|
386
|
+
export interface SpecPrice {
|
|
387
|
+
/**
|
|
388
|
+
* 计费项名称
|
|
389
|
+
*/
|
|
390
|
+
SpecName: string
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* 原价,单位:分。最大值42亿,超过则返回0
|
|
394
|
+
*/
|
|
395
|
+
TotalCost: number
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* 优惠后的价格,单位:分
|
|
399
|
+
*/
|
|
400
|
+
RealTotalCost: number
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* DescribeTrainingMetrics请求参数结构体
|
|
405
|
+
*/
|
|
406
|
+
export interface DescribeTrainingMetricsRequest {
|
|
407
|
+
/**
|
|
408
|
+
* 任务ID
|
|
409
|
+
*/
|
|
410
|
+
TaskId: string
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* DescribeTrainingTaskPods请求参数结构体
|
|
415
|
+
*/
|
|
416
|
+
export interface DescribeTrainingTaskPodsRequest {
|
|
417
|
+
/**
|
|
418
|
+
* 训练任务ID
|
|
419
|
+
*/
|
|
420
|
+
Id: string
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* DescribeTrainingModelVersion请求参数结构体
|
|
425
|
+
*/
|
|
426
|
+
export interface DescribeTrainingModelVersionRequest {
|
|
427
|
+
/**
|
|
428
|
+
* 模型版本ID
|
|
429
|
+
*/
|
|
430
|
+
TrainingModelVersionId: string
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* DescribeLatestTrainingMetrics返回参数结构体
|
|
435
|
+
*/
|
|
436
|
+
export interface DescribeLatestTrainingMetricsResponse {
|
|
437
|
+
/**
|
|
438
|
+
* 任务ID
|
|
439
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
440
|
+
*/
|
|
441
|
+
TaskId: string
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* 最近一次上报的训练指标.每个Metric中只有一个点的数据, 即len(Values) = len(Timestamps) = 1
|
|
445
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
446
|
+
*/
|
|
447
|
+
Metrics: Array<TrainingMetric>
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
451
|
+
*/
|
|
452
|
+
RequestId?: string
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* DescribeDatasetDetailUnstructured返回参数结构体
|
|
457
|
+
*/
|
|
458
|
+
export interface DescribeDatasetDetailUnstructuredResponse {
|
|
459
|
+
/**
|
|
460
|
+
* 已标注数据量
|
|
461
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
462
|
+
*/
|
|
463
|
+
AnnotatedTotalCount: number
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* 没有标注数据量
|
|
467
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
468
|
+
*/
|
|
469
|
+
NonAnnotatedTotalCount: number
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* 过滤数据总量
|
|
473
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
474
|
+
*/
|
|
475
|
+
FilterTotalCount: number
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* 过滤数据详情
|
|
479
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
480
|
+
*/
|
|
481
|
+
FilterLabelList: Array<FilterLabelInfo>
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
485
|
+
*/
|
|
486
|
+
RequestId?: string
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* 图片列表查询结果详情
|
|
491
|
+
*/
|
|
492
|
+
export interface FilterLabelInfo {
|
|
493
|
+
/**
|
|
494
|
+
* 数据集id
|
|
495
|
+
*/
|
|
496
|
+
DatasetId: string
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* 文件ID
|
|
500
|
+
*/
|
|
501
|
+
FileId: string
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* 文件路径
|
|
505
|
+
*/
|
|
506
|
+
FileName: string
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* 分类标签结果
|
|
510
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
511
|
+
*/
|
|
512
|
+
ClassificationLabels: Array<string>
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* 检测标签结果
|
|
516
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
517
|
+
*/
|
|
518
|
+
DetectionLabels: Array<DetectionLabelInfo>
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* 分割标签结果
|
|
522
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
523
|
+
*/
|
|
524
|
+
SegmentationLabels: Array<SegmentationInfo>
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* RGB 图片路径
|
|
528
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
529
|
+
*/
|
|
530
|
+
RGBPath: string
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* 标签模板类型
|
|
534
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
535
|
+
*/
|
|
536
|
+
LabelTemplateType: string
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* 下载url链接
|
|
540
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
541
|
+
*/
|
|
542
|
+
DownloadUrl: string
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* 缩略图下载链接
|
|
546
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
547
|
+
*/
|
|
548
|
+
DownloadThumbnailUrl: string
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* 分割结果图片下载链接
|
|
552
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
553
|
+
*/
|
|
554
|
+
DownloadRGBUrl: string
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* OCR场景
|
|
558
|
+
IDENTITY:识别
|
|
559
|
+
STRUCTURE:智能结构化
|
|
560
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
561
|
+
*/
|
|
562
|
+
OcrScene: string
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* OCR场景标签列表
|
|
566
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
567
|
+
*/
|
|
568
|
+
OcrLabels: Array<OcrLabelInfo>
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* CFS存储的配置
|
|
573
|
+
*/
|
|
574
|
+
export interface CFSConfig {
|
|
575
|
+
/**
|
|
576
|
+
* cfs的实例的ID
|
|
577
|
+
*/
|
|
578
|
+
Id: string
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* 存储的路径
|
|
582
|
+
*/
|
|
583
|
+
Path: string
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* PushTrainingMetrics请求参数结构体
|
|
588
|
+
*/
|
|
589
|
+
export interface PushTrainingMetricsRequest {
|
|
590
|
+
/**
|
|
591
|
+
* 指标数据
|
|
592
|
+
*/
|
|
593
|
+
Data?: Array<MetricData>
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* 推理镜像详情
|
|
598
|
+
*/
|
|
599
|
+
export interface InferTemplate {
|
|
600
|
+
/**
|
|
601
|
+
* 模板ID
|
|
602
|
+
*/
|
|
603
|
+
InferTemplateId: string
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* 模板镜像
|
|
607
|
+
*/
|
|
608
|
+
InferTemplateImage: string
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* 框架版本以及对应的训练模式
|
|
613
|
+
*/
|
|
614
|
+
export interface FrameworkVersion {
|
|
615
|
+
/**
|
|
616
|
+
* 框架版本
|
|
617
|
+
*/
|
|
618
|
+
Version: string
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* 训练模式
|
|
622
|
+
*/
|
|
623
|
+
TrainingModes: Array<string>
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* 数据点
|
|
628
|
+
*/
|
|
629
|
+
export interface DataPoint {
|
|
630
|
+
/**
|
|
631
|
+
* 指标名字
|
|
632
|
+
*/
|
|
633
|
+
Name: string
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* 值
|
|
637
|
+
*/
|
|
638
|
+
Value: number
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* CreateTrainingModel请求参数结构体
|
|
643
|
+
*/
|
|
644
|
+
export interface CreateTrainingModelRequest {
|
|
645
|
+
/**
|
|
646
|
+
* 导入方式(MODEL/VERSION)
|
|
647
|
+
*/
|
|
648
|
+
ImportMethod: string
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* 模型来源cos目录,以/结尾
|
|
652
|
+
*/
|
|
653
|
+
TrainingModelCosPath: CosPathInfo
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* 推理环境来源(SYSTEM/CUSTOM)
|
|
657
|
+
*/
|
|
658
|
+
ReasoningEnvironmentSource: string
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* 模型名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头
|
|
662
|
+
*/
|
|
663
|
+
TrainingModelName?: string
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* 标签配置
|
|
667
|
+
*/
|
|
668
|
+
Tags?: Array<Tag>
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* 训练任务名称
|
|
672
|
+
*/
|
|
673
|
+
TrainingJobName?: string
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* 算法框架 (PYTORCH/TENSORFLOW/DETECTRON2/PMML)
|
|
677
|
+
*/
|
|
678
|
+
AlgorithmFramework?: string
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* 推理环境
|
|
682
|
+
*/
|
|
683
|
+
ReasoningEnvironment?: string
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* 训练指标,最多支持1000字符
|
|
687
|
+
*/
|
|
688
|
+
TrainingModelIndex?: string
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* 模型版本
|
|
692
|
+
*/
|
|
693
|
+
TrainingModelVersion?: string
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* 自定义推理环境
|
|
697
|
+
*/
|
|
698
|
+
ReasoningImageInfo?: ImageInfo
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* 模型移动方式(CUT/COPY)
|
|
702
|
+
*/
|
|
703
|
+
ModelMoveMode?: string
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* 训练任务ID
|
|
707
|
+
*/
|
|
708
|
+
TrainingJobId?: string
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* 模型ID(导入新模型不需要,导入新版本需要)
|
|
712
|
+
*/
|
|
713
|
+
TrainingModelId?: string
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* 模型存储cos目录
|
|
717
|
+
*/
|
|
718
|
+
ModelOutputPath?: CosPathInfo
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* 模型来源 (JOB/COS/AUTO_ML)
|
|
722
|
+
*/
|
|
723
|
+
TrainingModelSource?: string
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* 模型偏好
|
|
727
|
+
*/
|
|
728
|
+
TrainingPreference?: string
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* 自动学习任务ID
|
|
732
|
+
*/
|
|
733
|
+
AutoMLTaskId?: string
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* 任务版本
|
|
737
|
+
*/
|
|
738
|
+
TrainingJobVersion?: string
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* 模型版本类型;
|
|
742
|
+
枚举值:NORMAL(通用) ACCELERATE(加速)
|
|
743
|
+
注意: 默认为NORMAL
|
|
744
|
+
*/
|
|
745
|
+
ModelVersionType?: string
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* 模型格式 (PYTORCH/TORCH_SCRIPT/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML)
|
|
749
|
+
*/
|
|
750
|
+
ModelFormat?: string
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* DescribeTrainingModelVersions返回参数结构体
|
|
755
|
+
*/
|
|
756
|
+
export interface DescribeTrainingModelVersionsResponse {
|
|
757
|
+
/**
|
|
758
|
+
* 模型版本列表
|
|
759
|
+
*/
|
|
760
|
+
TrainingModelVersions: Array<TrainingModelVersionDTO>
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
764
|
+
*/
|
|
765
|
+
RequestId?: string
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* 启动命令信息
|
|
770
|
+
*/
|
|
771
|
+
export interface StartCmdInfo {
|
|
772
|
+
/**
|
|
773
|
+
* 启动命令
|
|
774
|
+
*/
|
|
775
|
+
StartCmd?: string
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* ps启动命令
|
|
779
|
+
*/
|
|
780
|
+
PsStartCmd?: string
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* worker启动命令
|
|
784
|
+
*/
|
|
785
|
+
WorkerStartCmd?: string
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* DescribeTrainingModels返回参数结构体
|
|
790
|
+
*/
|
|
791
|
+
export interface DescribeTrainingModelsResponse {
|
|
792
|
+
/**
|
|
793
|
+
* 模型列表
|
|
794
|
+
*/
|
|
795
|
+
TrainingModels: Array<TrainingModelDTO>
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* 模型总数
|
|
799
|
+
*/
|
|
800
|
+
TotalCount: number
|
|
801
|
+
|
|
802
|
+
/**
|
|
803
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
804
|
+
*/
|
|
805
|
+
RequestId?: string
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* 资源配置
|
|
810
|
+
*/
|
|
811
|
+
export interface ResourceConfigInfo {
|
|
812
|
+
/**
|
|
813
|
+
* 角色,eg:PS、WORKER、DRIVER、EXECUTOR
|
|
814
|
+
*/
|
|
815
|
+
Role: string
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* cpu核数,1000=1核
|
|
819
|
+
*/
|
|
820
|
+
Cpu?: number
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* 内存,单位为MB
|
|
824
|
+
*/
|
|
825
|
+
Memory?: number
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* gpu卡类型
|
|
829
|
+
*/
|
|
830
|
+
GpuType?: string
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* gpu数
|
|
834
|
+
*/
|
|
835
|
+
Gpu?: number
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* 算力规格ID
|
|
839
|
+
计算规格 (for后付费),可选值如下:
|
|
840
|
+
TI.S.LARGE.POST: 4C8G
|
|
841
|
+
TI.S.2XLARGE16.POST: 8C16G
|
|
842
|
+
TI.S.2XLARGE32.POST: 8C32G
|
|
843
|
+
TI.S.4XLARGE32.POST: 16C32G
|
|
844
|
+
TI.S.4XLARGE64.POST: 16C64G
|
|
845
|
+
TI.S.6XLARGE48.POST: 24C48G
|
|
846
|
+
TI.S.6XLARGE96.POST: 24C96G
|
|
847
|
+
TI.S.8XLARGE64.POST: 32C64G
|
|
848
|
+
TI.S.8XLARGE128.POST : 32C128G
|
|
849
|
+
TI.GN10.2XLARGE40.POST: 8C40G V100*1
|
|
850
|
+
TI.GN10.5XLARGE80.POST: 18C80G V100*2
|
|
851
|
+
TI.GN10.10XLARGE160.POST : 32C160G V100*4
|
|
852
|
+
TI.GN10.20XLARGE320.POST : 72C320G V100*8
|
|
853
|
+
TI.GN7.8XLARGE128.POST: 32C128G T4*1
|
|
854
|
+
TI.GN7.10XLARGE160.POST: 40C160G T4*2
|
|
855
|
+
TI.GN7.20XLARGE320.POST: 80C32
|
|
856
|
+
*/
|
|
857
|
+
InstanceType?: string
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* 计算节点数
|
|
861
|
+
*/
|
|
862
|
+
InstanceNum?: number
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* 算力规格名称
|
|
866
|
+
计算规格 (for后付费),可选值如下:
|
|
867
|
+
4C8G
|
|
868
|
+
8C16G
|
|
869
|
+
8C32G
|
|
870
|
+
16C32G
|
|
871
|
+
6C64G
|
|
872
|
+
24C48G
|
|
873
|
+
24C96G
|
|
874
|
+
32C64G
|
|
875
|
+
32C128G
|
|
876
|
+
8C40G V100*1
|
|
877
|
+
8C80G V100*2
|
|
878
|
+
32C160G V100*4
|
|
879
|
+
72C320G V100*8
|
|
880
|
+
32C128G T4*1
|
|
881
|
+
40C160G T4*2
|
|
882
|
+
80C32
|
|
883
|
+
*/
|
|
884
|
+
InstanceTypeAlias?: string
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* 训练指标
|
|
889
|
+
*/
|
|
890
|
+
export interface TrainingMetric {
|
|
891
|
+
/**
|
|
892
|
+
* 指标名
|
|
893
|
+
*/
|
|
894
|
+
MetricName: string
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* 数据值
|
|
898
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
899
|
+
*/
|
|
900
|
+
Values: Array<TrainingDataPoint>
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* 上报的Epoch. 可能为空
|
|
904
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
905
|
+
*/
|
|
906
|
+
Epochs: Array<TrainingDataPoint>
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* 上报的Step. 可能为空
|
|
910
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
911
|
+
*/
|
|
912
|
+
Steps: Array<TrainingDataPoint>
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* 上报的TotalSteps. 可能为空
|
|
916
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
917
|
+
*/
|
|
918
|
+
TotalSteps: Array<TrainingDataPoint>
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* 描述腾讯云标签
|
|
923
|
+
*/
|
|
924
|
+
export interface Tag {
|
|
925
|
+
/**
|
|
926
|
+
* 标签键
|
|
927
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
928
|
+
*/
|
|
929
|
+
TagKey: string
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* 标签值
|
|
933
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
934
|
+
*/
|
|
935
|
+
TagValue: string
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* DescribeDatasets请求参数结构体
|
|
940
|
+
*/
|
|
941
|
+
export interface DescribeDatasetsRequest {
|
|
942
|
+
/**
|
|
943
|
+
* 数据集id列表
|
|
944
|
+
*/
|
|
945
|
+
DatasetIds?: Array<string>
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* 数据集查询过滤条件,多个Filter之间的关系为逻辑与(AND)关系,过滤字段Filter.Name,类型为String
|
|
949
|
+
DatasetName,数据集名称
|
|
950
|
+
DatasetScope,数据集范围,SCOPE_DATASET_PRIVATE或SCOPE_DATASET_PUBLIC
|
|
951
|
+
*/
|
|
952
|
+
Filters?: Array<Filter>
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* 标签过滤条件
|
|
956
|
+
*/
|
|
957
|
+
TagFilters?: Array<TagFilter>
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* 排序值,支持Asc或Desc,默认Desc
|
|
961
|
+
*/
|
|
962
|
+
Order?: string
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* 排序字段,支持CreateTime或UpdateTime,默认CreateTime
|
|
966
|
+
*/
|
|
967
|
+
OrderField?: string
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* 偏移值
|
|
971
|
+
*/
|
|
972
|
+
Offset?: number
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* 返回数据个数,默认20,最大支持200
|
|
976
|
+
*/
|
|
977
|
+
Limit?: number
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* DeleteTrainingModel返回参数结构体
|
|
982
|
+
*/
|
|
983
|
+
export interface DeleteTrainingModelResponse {
|
|
984
|
+
/**
|
|
985
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
986
|
+
*/
|
|
987
|
+
RequestId?: string
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* DescribeInferTemplates返回参数结构体
|
|
992
|
+
*/
|
|
993
|
+
export interface DescribeInferTemplatesResponse {
|
|
994
|
+
/**
|
|
995
|
+
* 模板列表
|
|
996
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
997
|
+
*/
|
|
998
|
+
FrameworkTemplates: Array<InferTemplateGroup>
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1002
|
+
*/
|
|
1003
|
+
RequestId?: string
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* DescribeInferTemplates请求参数结构体
|
|
1008
|
+
*/
|
|
1009
|
+
export type DescribeInferTemplatesRequest = null
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* gpu 详情
|
|
1013
|
+
*/
|
|
1014
|
+
export interface GpuDetail {
|
|
1015
|
+
/**
|
|
1016
|
+
* GPU 显卡类型;枚举值: V100 A100 T4
|
|
1017
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1018
|
+
*/
|
|
1019
|
+
Name: string
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* GPU 显卡数;单位为1/100卡,比如100代表1卡
|
|
1023
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1024
|
+
*/
|
|
1025
|
+
Value: number
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* DescribeTrainingFrameworks请求参数结构体
|
|
1030
|
+
*/
|
|
1031
|
+
export type DescribeTrainingFrameworksRequest = null
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* 图像检测参数信息
|
|
1035
|
+
*/
|
|
1036
|
+
export interface DetectionLabelInfo {
|
|
1037
|
+
/**
|
|
1038
|
+
* 点坐标列表
|
|
1039
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1040
|
+
*/
|
|
1041
|
+
Points: Array<PointInfo>
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* 标签
|
|
1045
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1046
|
+
*/
|
|
1047
|
+
Labels: Array<string>
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* 类别
|
|
1051
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1052
|
+
*/
|
|
1053
|
+
FrameType: string
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* 推理镜像组
|
|
1058
|
+
*/
|
|
1059
|
+
export interface InferTemplateGroup {
|
|
1060
|
+
/**
|
|
1061
|
+
* 算法框架
|
|
1062
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1063
|
+
*/
|
|
1064
|
+
Framework: string
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* 版本号
|
|
1068
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1069
|
+
*/
|
|
1070
|
+
FrameworkVersion: string
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* 支持的训练框架集合
|
|
1074
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1075
|
+
*/
|
|
1076
|
+
Groups: Array<string>
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* 镜像模板参数列表
|
|
1080
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1081
|
+
*/
|
|
1082
|
+
InferTemplates: Array<InferTemplate>
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* 数据集详情
|
|
1087
|
+
*/
|
|
1088
|
+
export interface DatasetInfo {
|
|
1089
|
+
/**
|
|
1090
|
+
* 数据集id
|
|
1091
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1092
|
+
*/
|
|
1093
|
+
DatasetId: string
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* 数据集名称
|
|
1097
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1098
|
+
*/
|
|
1099
|
+
DatasetName: string
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
* 数据集创建者
|
|
1103
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1104
|
+
*/
|
|
1105
|
+
Creator: string
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* 数据集版本
|
|
1109
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1110
|
+
*/
|
|
1111
|
+
DatasetVersion: string
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* 数据集类型
|
|
1115
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1116
|
+
*/
|
|
1117
|
+
DatasetType: string
|
|
1118
|
+
|
|
1119
|
+
/**
|
|
1120
|
+
* 数据集标签
|
|
1121
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1122
|
+
*/
|
|
1123
|
+
DatasetTags: Array<Tag>
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* 数据集对应标注任务名称
|
|
1127
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1128
|
+
*/
|
|
1129
|
+
DatasetAnnotationTaskName: string
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* 数据集对应标注任务ID
|
|
1133
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1134
|
+
*/
|
|
1135
|
+
DatasetAnnotationTaskId: string
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* 处理进度
|
|
1139
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1140
|
+
*/
|
|
1141
|
+
Process: number
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* 数据集状态
|
|
1145
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1146
|
+
*/
|
|
1147
|
+
DatasetStatus: string
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* 错误详情
|
|
1151
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1152
|
+
*/
|
|
1153
|
+
ErrorMsg: string
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* 数据集创建时间
|
|
1157
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1158
|
+
*/
|
|
1159
|
+
CreateTime: string
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* 数据集更新时间
|
|
1163
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1164
|
+
*/
|
|
1165
|
+
UpdateTime: string
|
|
1166
|
+
|
|
1167
|
+
/**
|
|
1168
|
+
* 外部任务类型
|
|
1169
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1170
|
+
*/
|
|
1171
|
+
ExternalTaskType: string
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* 数据集存储大小
|
|
1175
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1176
|
+
*/
|
|
1177
|
+
DatasetSize: string
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* 数据集数据数量
|
|
1181
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1182
|
+
*/
|
|
1183
|
+
FileNum: number
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* 数据集源cos 路径
|
|
1187
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1188
|
+
*/
|
|
1189
|
+
StorageDataPath: CosPathInfo
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* 数据集输出cos路径
|
|
1193
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1194
|
+
*/
|
|
1195
|
+
StorageLabelPath: CosPathInfo
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* 数据集标注状态
|
|
1199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1200
|
+
*/
|
|
1201
|
+
AnnotationStatus: string
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* 数据集类型
|
|
1205
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1206
|
+
*/
|
|
1207
|
+
AnnotationType: string
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* 数据集标注格式
|
|
1211
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1212
|
+
*/
|
|
1213
|
+
AnnotationFormat: string
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* 数据集范围
|
|
1217
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1218
|
+
*/
|
|
1219
|
+
DatasetScope: string
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
/**
|
|
1223
|
+
* Tag过滤参数
|
|
1224
|
+
*/
|
|
1225
|
+
export interface TagFilter {
|
|
1226
|
+
/**
|
|
1227
|
+
* 标签键
|
|
1228
|
+
*/
|
|
1229
|
+
TagKey?: string
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* 多个标签值
|
|
1233
|
+
*/
|
|
1234
|
+
TagValues?: Array<string>
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* 镜像描述信息
|
|
1239
|
+
*/
|
|
1240
|
+
export interface ImageInfo {
|
|
1241
|
+
/**
|
|
1242
|
+
* 镜像类型:TCR为腾讯云TCR镜像; CCR为腾讯云TCR个人版镜像,PreSet为平台预置镜像
|
|
1243
|
+
*/
|
|
1244
|
+
ImageType: string
|
|
1245
|
+
|
|
1246
|
+
/**
|
|
1247
|
+
* 镜像地址
|
|
1248
|
+
*/
|
|
1249
|
+
ImageUrl: string
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* TCR镜像对应的地域
|
|
1253
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1254
|
+
*/
|
|
1255
|
+
RegistryRegion?: string
|
|
1256
|
+
|
|
1257
|
+
/**
|
|
1258
|
+
* TCR镜像对应的实例id
|
|
1259
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1260
|
+
*/
|
|
1261
|
+
RegistryId?: string
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* CreateTrainingTask返回参数结构体
|
|
1266
|
+
*/
|
|
1267
|
+
export interface CreateTrainingTaskResponse {
|
|
1268
|
+
/**
|
|
1269
|
+
* 训练任务ID
|
|
1270
|
+
*/
|
|
1271
|
+
Id: string
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1275
|
+
*/
|
|
1276
|
+
RequestId?: string
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* CreateTrainingTask请求参数结构体
|
|
1281
|
+
*/
|
|
1282
|
+
export interface CreateTrainingTaskRequest {
|
|
1283
|
+
/**
|
|
1284
|
+
* 训练任务名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头
|
|
1285
|
+
*/
|
|
1286
|
+
Name: string
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* 训练模式,通过DescribeTrainingFrameworks接口查询,eg:PS_WORKER、DDP、MPI、HOROVOD
|
|
1290
|
+
*/
|
|
1291
|
+
TrainingMode: string
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* 计费模式,eg:PREPAID预付费,即包年包月;POSTPAID_BY_HOUR按小时后付费
|
|
1295
|
+
*/
|
|
1296
|
+
ChargeType: string
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* 资源配置,需填写对应算力规格ID和节点数量,算力规格ID查询接口为DescribeBillingSpecsPrice,eg:[{"Role":"WORKER", "InstanceType": "TI.S.MEDIUM.POST", "InstanceNum": 1}]
|
|
1300
|
+
*/
|
|
1301
|
+
ResourceConfigInfos: Array<ResourceConfigInfo>
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* COS代码包路径
|
|
1305
|
+
*/
|
|
1306
|
+
CodePackagePath: CosPathInfo
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* COS训练输出路径
|
|
1310
|
+
*/
|
|
1311
|
+
Output: CosPathInfo
|
|
1312
|
+
|
|
1313
|
+
/**
|
|
1314
|
+
* 是否上报日志
|
|
1315
|
+
*/
|
|
1316
|
+
LogEnable: boolean
|
|
1317
|
+
|
|
1318
|
+
/**
|
|
1319
|
+
* 训练框架名称,通过DescribeTrainingFrameworks接口查询,eg:SPARK、TENSORFLOW、PYTORCH、LIGHT
|
|
1320
|
+
*/
|
|
1321
|
+
FrameworkName?: string
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* 训练框架版本,通过DescribeTrainingFrameworks接口查询,eg:1.15-py3.6-cpu、1.9-py3.6-cuda11.1-gpu
|
|
1325
|
+
*/
|
|
1326
|
+
FrameworkVersion?: string
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* 预付费专用资源组ID,通过DescribeBillingResourceGroups接口查询
|
|
1330
|
+
*/
|
|
1331
|
+
ResourceGroupId?: string
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* 标签配置
|
|
1335
|
+
*/
|
|
1336
|
+
Tags?: Array<Tag>
|
|
1337
|
+
|
|
1338
|
+
/**
|
|
1339
|
+
* 自定义镜像信息
|
|
1340
|
+
*/
|
|
1341
|
+
ImageInfo?: ImageInfo
|
|
1342
|
+
|
|
1343
|
+
/**
|
|
1344
|
+
* 启动命令信息,默认为sh start.sh
|
|
1345
|
+
*/
|
|
1346
|
+
StartCmdInfo?: StartCmdInfo
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* 数据来源,eg:DATASET、COS、CFS、HDFS
|
|
1350
|
+
*/
|
|
1351
|
+
DataSource?: string
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* 数据配置
|
|
1355
|
+
*/
|
|
1356
|
+
DataConfigs?: Array<DataConfig>
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* VPC Id
|
|
1360
|
+
*/
|
|
1361
|
+
VpcId?: string
|
|
1362
|
+
|
|
1363
|
+
/**
|
|
1364
|
+
* 子网Id
|
|
1365
|
+
*/
|
|
1366
|
+
SubnetId?: string
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* CLS日志配置
|
|
1370
|
+
*/
|
|
1371
|
+
LogConfig?: LogConfig
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* 调优参数
|
|
1375
|
+
*/
|
|
1376
|
+
TuningParameters?: string
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* 备注,最多500个字
|
|
1380
|
+
*/
|
|
1381
|
+
Remark?: string
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* DescribeDatasets返回参数结构体
|
|
1386
|
+
*/
|
|
1387
|
+
export interface DescribeDatasetsResponse {
|
|
1388
|
+
/**
|
|
1389
|
+
* 数据集总量(名称维度)
|
|
1390
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1391
|
+
*/
|
|
1392
|
+
TotalCount: number
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* 数据集按照数据集名称聚合的分组
|
|
1396
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1397
|
+
*/
|
|
1398
|
+
DatasetGroups: Array<DatasetGroup>
|
|
1399
|
+
|
|
1400
|
+
/**
|
|
1401
|
+
* 数据集ID总量
|
|
1402
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1403
|
+
*/
|
|
1404
|
+
DatasetIdNums: number
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1408
|
+
*/
|
|
1409
|
+
RequestId?: string
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* DescribeBillingSpecsPrice请求参数结构体
|
|
1414
|
+
*/
|
|
1415
|
+
export interface DescribeBillingSpecsPriceRequest {
|
|
1416
|
+
/**
|
|
1417
|
+
* 询价参数,支持批量询价
|
|
1418
|
+
*/
|
|
1419
|
+
SpecsParam: Array<SpecUnit>
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* 资源组节点信息
|
|
1424
|
+
*/
|
|
1425
|
+
export interface Instance {
|
|
1426
|
+
/**
|
|
1427
|
+
* 资源组节点id
|
|
1428
|
+
*/
|
|
1429
|
+
InstanceId: string
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* 节点已用资源
|
|
1433
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1434
|
+
*/
|
|
1435
|
+
UsedResource: ResourceInfo
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* 节点总资源
|
|
1439
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1440
|
+
*/
|
|
1441
|
+
TotalResource: ResourceInfo
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* 节点状态
|
|
1445
|
+
注意:此字段为枚举值
|
|
1446
|
+
说明:
|
|
1447
|
+
DEPLOYING: 部署中
|
|
1448
|
+
RUNNING: 运行中
|
|
1449
|
+
DEPLOY_FAILED: 部署失败
|
|
1450
|
+
RELEASING 释放中
|
|
1451
|
+
RELEASED:已释放
|
|
1452
|
+
EXCEPTION:异常
|
|
1453
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1454
|
+
*/
|
|
1455
|
+
InstanceStatus: string
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* 创建人
|
|
1459
|
+
*/
|
|
1460
|
+
SubUin: string
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* 创建时间:
|
|
1464
|
+
注意:北京时间,比如: 2021-12-01 12:00:00
|
|
1465
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1466
|
+
*/
|
|
1467
|
+
CreateTime: string
|
|
1468
|
+
|
|
1469
|
+
/**
|
|
1470
|
+
* 到期时间
|
|
1471
|
+
注意:北京时间,比如:2021-12-11 12:00:00
|
|
1472
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1473
|
+
*/
|
|
1474
|
+
ExpireTime: string
|
|
1475
|
+
|
|
1476
|
+
/**
|
|
1477
|
+
* 自动续费标识
|
|
1478
|
+
注意:此字段为枚举值
|
|
1479
|
+
说明:
|
|
1480
|
+
NOTIFY_AND_MANUAL_RENEW:手动续费(取消自动续费)且到期通知
|
|
1481
|
+
NOTIFY_AND_AUTO_RENEW:自动续费且到期通知
|
|
1482
|
+
DISABLE_NOTIFY_AND_MANUAL_RENEW:手动续费(取消自动续费)且到期不通知
|
|
1483
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1484
|
+
*/
|
|
1485
|
+
AutoRenewFlag: string
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* 计费项ID
|
|
1489
|
+
*/
|
|
1490
|
+
SpecId: string
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* 计费项别名
|
|
1494
|
+
*/
|
|
1495
|
+
SpecAlias: string
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* DeleteTrainingModel请求参数结构体
|
|
1500
|
+
*/
|
|
1501
|
+
export interface DeleteTrainingModelRequest {
|
|
1502
|
+
/**
|
|
1503
|
+
* 模型ID
|
|
1504
|
+
*/
|
|
1505
|
+
TrainingModelId: string
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
/**
|
|
1509
|
+
* DeleteTrainingTask返回参数结构体
|
|
1510
|
+
*/
|
|
1511
|
+
export interface DeleteTrainingTaskResponse {
|
|
1512
|
+
/**
|
|
1513
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1514
|
+
*/
|
|
1515
|
+
RequestId?: string
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
/**
|
|
1519
|
+
* 数据集组
|
|
1520
|
+
*/
|
|
1521
|
+
export interface DatasetGroup {
|
|
1522
|
+
/**
|
|
1523
|
+
* 数据集ID
|
|
1524
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1525
|
+
*/
|
|
1526
|
+
DatasetId: string
|
|
1527
|
+
|
|
1528
|
+
/**
|
|
1529
|
+
* 数据集名称
|
|
1530
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1531
|
+
*/
|
|
1532
|
+
DatasetName: string
|
|
1533
|
+
|
|
1534
|
+
/**
|
|
1535
|
+
* 创建者
|
|
1536
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1537
|
+
*/
|
|
1538
|
+
Creator: string
|
|
1539
|
+
|
|
1540
|
+
/**
|
|
1541
|
+
* 数据集版本
|
|
1542
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1543
|
+
*/
|
|
1544
|
+
DatasetVersion: string
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* 数据集类型
|
|
1548
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1549
|
+
*/
|
|
1550
|
+
DatasetType: string
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* 数据集标签
|
|
1554
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1555
|
+
*/
|
|
1556
|
+
DatasetTags: Array<Tag>
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* 数据集标注任务名称
|
|
1560
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1561
|
+
*/
|
|
1562
|
+
DatasetAnnotationTaskName: string
|
|
1563
|
+
|
|
1564
|
+
/**
|
|
1565
|
+
* 数据集标注任务ID
|
|
1566
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1567
|
+
*/
|
|
1568
|
+
DatasetAnnotationTaskId: string
|
|
1569
|
+
|
|
1570
|
+
/**
|
|
1571
|
+
* 处理进度
|
|
1572
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1573
|
+
*/
|
|
1574
|
+
Process: number
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* 数据集状态
|
|
1578
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1579
|
+
*/
|
|
1580
|
+
DatasetStatus: string
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* 错误详情
|
|
1584
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1585
|
+
*/
|
|
1586
|
+
ErrorMsg: string
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* 创建时间
|
|
1590
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1591
|
+
*/
|
|
1592
|
+
CreateTime: string
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* 更新时间
|
|
1596
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1597
|
+
*/
|
|
1598
|
+
UpdateTime: string
|
|
1599
|
+
|
|
1600
|
+
/**
|
|
1601
|
+
* 外部关联TASKType
|
|
1602
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1603
|
+
*/
|
|
1604
|
+
ExternalTaskType: string
|
|
1605
|
+
|
|
1606
|
+
/**
|
|
1607
|
+
* 数据集大小
|
|
1608
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1609
|
+
*/
|
|
1610
|
+
DatasetSize: string
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* 数据集数据量
|
|
1614
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1615
|
+
*/
|
|
1616
|
+
FileNum: number
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* 数据集源COS路径
|
|
1620
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1621
|
+
*/
|
|
1622
|
+
StorageDataPath: CosPathInfo
|
|
1623
|
+
|
|
1624
|
+
/**
|
|
1625
|
+
* 数据集标签存储路径
|
|
1626
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1627
|
+
*/
|
|
1628
|
+
StorageLabelPath: CosPathInfo
|
|
1629
|
+
|
|
1630
|
+
/**
|
|
1631
|
+
* 数据集版本聚合详情
|
|
1632
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1633
|
+
*/
|
|
1634
|
+
DatasetVersions: Array<DatasetInfo>
|
|
1635
|
+
|
|
1636
|
+
/**
|
|
1637
|
+
* 数据集标注状态
|
|
1638
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1639
|
+
*/
|
|
1640
|
+
AnnotationStatus: string
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
* 数据集类型
|
|
1644
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1645
|
+
*/
|
|
1646
|
+
AnnotationType: string
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* 数据集标注格式
|
|
1650
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1651
|
+
*/
|
|
1652
|
+
AnnotationFormat: string
|
|
1653
|
+
|
|
1654
|
+
/**
|
|
1655
|
+
* 数据集范围
|
|
1656
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1657
|
+
*/
|
|
1658
|
+
DatasetScope: string
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
/**
|
|
1662
|
+
* 训练数据
|
|
1663
|
+
*/
|
|
1664
|
+
export type TrainingDataPoint = null
|
|
1665
|
+
|
|
1666
|
+
/**
|
|
1667
|
+
* DescribeLatestTrainingMetrics请求参数结构体
|
|
1668
|
+
*/
|
|
1669
|
+
export interface DescribeLatestTrainingMetricsRequest {
|
|
1670
|
+
/**
|
|
1671
|
+
* 任务ID
|
|
1672
|
+
*/
|
|
1673
|
+
TaskId: string
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* 描述资源信息
|
|
1678
|
+
*/
|
|
1679
|
+
export interface ResourceInfo {
|
|
1680
|
+
/**
|
|
1681
|
+
* 处理器资源, 单位为1/1000核
|
|
1682
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1683
|
+
*/
|
|
1684
|
+
Cpu: number
|
|
1685
|
+
|
|
1686
|
+
/**
|
|
1687
|
+
* 内存资源, 单位为1M
|
|
1688
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1689
|
+
*/
|
|
1690
|
+
Memory: number
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* Gpu卡个数资源, 单位为0.01单位的GpuType.
|
|
1694
|
+
Gpu=100表示使用了“一张”gpu卡, 但此处的“一张”卡有可能是虚拟化后的1/4卡, 也有可能是整张卡. 取决于实例的机型
|
|
1695
|
+
例1 实例的机型带有1张虚拟gpu卡, 每张虚拟gpu卡对应1/4张实际T4卡, 则此时 GpuType=T4, Gpu=100, RealGpu=25.
|
|
1696
|
+
例2 实例的机型带有4张gpu整卡, 每张卡对应1张实际T4卡, 则 此时 GpuType=T4, Gpu=400, RealGpu=400.
|
|
1697
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1698
|
+
*/
|
|
1699
|
+
Gpu?: number
|
|
1700
|
+
|
|
1701
|
+
/**
|
|
1702
|
+
* Gpu卡型号 T4或者V100
|
|
1703
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1704
|
+
*/
|
|
1705
|
+
GpuType?: string
|
|
1706
|
+
|
|
1707
|
+
/**
|
|
1708
|
+
* 创建或更新时无需填写,仅展示需要关注
|
|
1709
|
+
后付费非整卡实例对应的实际的Gpu卡资源, 表示gpu资源对应实际的gpu卡个数.
|
|
1710
|
+
RealGpu=100表示实际使用了一张gpu卡, 对应实际的实例机型, 有可能代表带有1/4卡的实例4个, 或者带有1/2卡的实例2个, 或者带有1卡的实力1个.
|
|
1711
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1712
|
+
*/
|
|
1713
|
+
RealGpu?: number
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
/**
|
|
1717
|
+
* 资源信息
|
|
1718
|
+
*/
|
|
1719
|
+
export interface GroupResource {
|
|
1720
|
+
/**
|
|
1721
|
+
* CPU核数; 单位为1/1000核,比如100表示0.1核
|
|
1722
|
+
*/
|
|
1723
|
+
Cpu: number
|
|
1724
|
+
|
|
1725
|
+
/**
|
|
1726
|
+
* 内存;单位为MB
|
|
1727
|
+
*/
|
|
1728
|
+
Memory: number
|
|
1729
|
+
|
|
1730
|
+
/**
|
|
1731
|
+
* 总卡数;GPUDetail 显卡数之和;单位为1/100卡,比如100代表1卡
|
|
1732
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1733
|
+
*/
|
|
1734
|
+
Gpu: number
|
|
1735
|
+
|
|
1736
|
+
/**
|
|
1737
|
+
* Gpu详情
|
|
1738
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1739
|
+
*/
|
|
1740
|
+
GpuDetailSet: Array<GpuDetail>
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
/**
|
|
1744
|
+
* 数据集结构体
|
|
1745
|
+
*/
|
|
1746
|
+
export interface DataSetConfig {
|
|
1747
|
+
/**
|
|
1748
|
+
* 数据集ID
|
|
1749
|
+
*/
|
|
1750
|
+
Id: string
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* DeleteTrainingTask请求参数结构体
|
|
1755
|
+
*/
|
|
1756
|
+
export interface DeleteTrainingTaskRequest {
|
|
1757
|
+
/**
|
|
1758
|
+
* 训练任务ID
|
|
1759
|
+
*/
|
|
1760
|
+
Id: string
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* 过滤器
|
|
1765
|
+
*/
|
|
1766
|
+
export interface Filter {
|
|
1767
|
+
/**
|
|
1768
|
+
* 过滤字段名称
|
|
1769
|
+
*/
|
|
1770
|
+
Name?: string
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* 过滤字段取值
|
|
1774
|
+
*/
|
|
1775
|
+
Values?: Array<string>
|
|
1776
|
+
|
|
1777
|
+
/**
|
|
1778
|
+
* 是否开启反向查询
|
|
1779
|
+
*/
|
|
1780
|
+
Negative?: boolean
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* 是否开启模糊匹配
|
|
1784
|
+
*/
|
|
1785
|
+
Fuzzy?: boolean
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
/**
|
|
1789
|
+
* CreateDataset请求参数结构体
|
|
1790
|
+
*/
|
|
1791
|
+
export interface CreateDatasetRequest {
|
|
1792
|
+
/**
|
|
1793
|
+
* 数据集名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头
|
|
1794
|
+
*/
|
|
1795
|
+
DatasetName: string
|
|
1796
|
+
|
|
1797
|
+
/**
|
|
1798
|
+
* 数据集类型:
|
|
1799
|
+
TYPE_DATASET_TEXT,文本
|
|
1800
|
+
TYPE_DATASET_IMAGE,图片
|
|
1801
|
+
TYPE_DATASET_TABLE,表格
|
|
1802
|
+
TYPE_DATASET_OTHER,其他
|
|
1803
|
+
*/
|
|
1804
|
+
DatasetType: string
|
|
1805
|
+
|
|
1806
|
+
/**
|
|
1807
|
+
* 数据源cos路径
|
|
1808
|
+
*/
|
|
1809
|
+
StorageDataPath: CosPathInfo
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* 数据集标签cos存储路径
|
|
1813
|
+
*/
|
|
1814
|
+
StorageLabelPath: CosPathInfo
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* 数据集标签
|
|
1818
|
+
*/
|
|
1819
|
+
DatasetTags?: Array<Tag>
|
|
1820
|
+
|
|
1821
|
+
/**
|
|
1822
|
+
* 数据集标注状态:
|
|
1823
|
+
STATUS_NON_ANNOTATED,未标注
|
|
1824
|
+
STATUS_ANNOTATED,已标注
|
|
1825
|
+
*/
|
|
1826
|
+
AnnotationStatus?: string
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* 标注类型:
|
|
1830
|
+
ANNOTATION_TYPE_CLASSIFICATION,图片分类
|
|
1831
|
+
ANNOTATION_TYPE_DETECTION,目标检测
|
|
1832
|
+
ANNOTATION_TYPE_SEGMENTATION,图片分割
|
|
1833
|
+
ANNOTATION_TYPE_TRACKING,目标跟踪
|
|
1834
|
+
*/
|
|
1835
|
+
AnnotationType?: string
|
|
1836
|
+
|
|
1837
|
+
/**
|
|
1838
|
+
* 标注格式:
|
|
1839
|
+
ANNOTATION_FORMAT_TI,TI平台格式
|
|
1840
|
+
ANNOTATION_FORMAT_PASCAL,Pascal Voc
|
|
1841
|
+
ANNOTATION_FORMAT_COCO,COCO
|
|
1842
|
+
ANNOTATION_FORMAT_FILE,文件目录结构
|
|
1843
|
+
*/
|
|
1844
|
+
AnnotationFormat?: string
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* 表头信息
|
|
1848
|
+
*/
|
|
1849
|
+
SchemaInfos?: Array<SchemaInfo>
|
|
1850
|
+
|
|
1851
|
+
/**
|
|
1852
|
+
* 数据是否存在表头
|
|
1853
|
+
*/
|
|
1854
|
+
IsSchemaExisted?: boolean
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
/**
|
|
1858
|
+
* 模型列表
|
|
1859
|
+
*/
|
|
1860
|
+
export interface TrainingModelDTO {
|
|
1861
|
+
/**
|
|
1862
|
+
* 模型id
|
|
1863
|
+
*/
|
|
1864
|
+
TrainingModelId: string
|
|
1865
|
+
|
|
1866
|
+
/**
|
|
1867
|
+
* 模型名称
|
|
1868
|
+
*/
|
|
1869
|
+
TrainingModelName: string
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* 标签
|
|
1873
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1874
|
+
*/
|
|
1875
|
+
Tags: Array<Tag>
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* 模型创建时间
|
|
1879
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1880
|
+
*/
|
|
1881
|
+
CreateTime: string
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
/**
|
|
1885
|
+
* 自定义指标
|
|
1886
|
+
*/
|
|
1887
|
+
export interface CustomTrainingData {
|
|
1888
|
+
/**
|
|
1889
|
+
* 指标名
|
|
1890
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1891
|
+
*/
|
|
1892
|
+
MetricName?: string
|
|
1893
|
+
|
|
1894
|
+
/**
|
|
1895
|
+
* 指标
|
|
1896
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1897
|
+
*/
|
|
1898
|
+
Metrics?: Array<CustomTrainingMetric>
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
/**
|
|
1902
|
+
* 文本行信息
|
|
1903
|
+
*/
|
|
1904
|
+
export interface RowItem {
|
|
1905
|
+
/**
|
|
1906
|
+
* rowValue 数组
|
|
1907
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1908
|
+
*/
|
|
1909
|
+
Values: Array<RowValue>
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* CreateTrainingModel返回参数结构体
|
|
1914
|
+
*/
|
|
1915
|
+
export interface CreateTrainingModelResponse {
|
|
1916
|
+
/**
|
|
1917
|
+
* 模型ID,TrainingModel ID
|
|
1918
|
+
*/
|
|
1919
|
+
Id: string
|
|
1920
|
+
|
|
1921
|
+
/**
|
|
1922
|
+
* 模型版本ID
|
|
1923
|
+
*/
|
|
1924
|
+
TrainingModelVersionId: string
|
|
1925
|
+
|
|
1926
|
+
/**
|
|
1927
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1928
|
+
*/
|
|
1929
|
+
RequestId?: string
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
/**
|
|
1933
|
+
* 单条日志数据结构
|
|
1934
|
+
*/
|
|
1935
|
+
export interface LogIdentity {
|
|
1936
|
+
/**
|
|
1937
|
+
* 单条日志的ID
|
|
1938
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1939
|
+
*/
|
|
1940
|
+
Id: string
|
|
1941
|
+
|
|
1942
|
+
/**
|
|
1943
|
+
* 单条日志的内容
|
|
1944
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1945
|
+
*/
|
|
1946
|
+
Message: string
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* 这条日志对应的Pod名称
|
|
1950
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1951
|
+
*/
|
|
1952
|
+
PodName: string
|
|
1953
|
+
|
|
1954
|
+
/**
|
|
1955
|
+
* 日志的时间戳(RFC3339格式的时间字符串)
|
|
1956
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1957
|
+
*/
|
|
1958
|
+
Timestamp: string
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
/**
|
|
1962
|
+
* DescribeDatasetDetailStructured请求参数结构体
|
|
1963
|
+
*/
|
|
1964
|
+
export interface DescribeDatasetDetailStructuredRequest {
|
|
1965
|
+
/**
|
|
1966
|
+
* 数据集ID
|
|
1967
|
+
*/
|
|
1968
|
+
DatasetId: string
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* 偏移值
|
|
1972
|
+
*/
|
|
1973
|
+
Offset?: number
|
|
1974
|
+
|
|
1975
|
+
/**
|
|
1976
|
+
* 返回数据条数,默认20,目前最大支持2000条数据
|
|
1977
|
+
*/
|
|
1978
|
+
Limit?: number
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
/**
|
|
1982
|
+
* 图片分割参数信息
|
|
1983
|
+
*/
|
|
1984
|
+
export interface SegmentationInfo {
|
|
1985
|
+
/**
|
|
1986
|
+
* 点坐标数组
|
|
1987
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1988
|
+
*/
|
|
1989
|
+
Points: Array<PointInfo>
|
|
1990
|
+
|
|
1991
|
+
/**
|
|
1992
|
+
* 分割标签
|
|
1993
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1994
|
+
*/
|
|
1995
|
+
Label: string
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
* 灰度值
|
|
1999
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2000
|
+
*/
|
|
2001
|
+
Gray: number
|
|
2002
|
+
|
|
2003
|
+
/**
|
|
2004
|
+
* 颜色
|
|
2005
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2006
|
+
*/
|
|
2007
|
+
Color: string
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
/**
|
|
2011
|
+
* DeleteDataset返回参数结构体
|
|
2012
|
+
*/
|
|
2013
|
+
export interface DeleteDatasetResponse {
|
|
2014
|
+
/**
|
|
2015
|
+
* 删除的datasetId
|
|
2016
|
+
*/
|
|
2017
|
+
DatasetId: string
|
|
2018
|
+
|
|
2019
|
+
/**
|
|
2020
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2021
|
+
*/
|
|
2022
|
+
RequestId?: string
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
/**
|
|
2026
|
+
* 自定义训练指标数据点
|
|
2027
|
+
*/
|
|
2028
|
+
export interface CustomTrainingPoint {
|
|
2029
|
+
/**
|
|
2030
|
+
* X值
|
|
2031
|
+
*/
|
|
2032
|
+
XValue?: number
|
|
2033
|
+
|
|
2034
|
+
/**
|
|
2035
|
+
* Y值
|
|
2036
|
+
*/
|
|
2037
|
+
YValue?: number
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2041
|
+
* 训练任务详情
|
|
2042
|
+
*/
|
|
2043
|
+
export interface TrainingTaskDetail {
|
|
2044
|
+
/**
|
|
2045
|
+
* 训练任务ID
|
|
2046
|
+
*/
|
|
2047
|
+
Id: string
|
|
2048
|
+
|
|
2049
|
+
/**
|
|
2050
|
+
* 训练任务名称
|
|
2051
|
+
*/
|
|
2052
|
+
Name: string
|
|
2053
|
+
|
|
2054
|
+
/**
|
|
2055
|
+
* 主账号uin
|
|
2056
|
+
*/
|
|
2057
|
+
Uin: string
|
|
2058
|
+
|
|
2059
|
+
/**
|
|
2060
|
+
* 子账号uin
|
|
2061
|
+
*/
|
|
2062
|
+
SubUin: string
|
|
2063
|
+
|
|
2064
|
+
/**
|
|
2065
|
+
* 地域
|
|
2066
|
+
*/
|
|
2067
|
+
Region: string
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
* 训练框架名称,eg:SPARK、TENSORFLOW、PYTORCH、LIGHT
|
|
2071
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2072
|
+
*/
|
|
2073
|
+
FrameworkName: string
|
|
2074
|
+
|
|
2075
|
+
/**
|
|
2076
|
+
* 训练框架版本
|
|
2077
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2078
|
+
*/
|
|
2079
|
+
FrameworkVersion: string
|
|
2080
|
+
|
|
2081
|
+
/**
|
|
2082
|
+
* 训练模式,eg:PS_WORKER、DDP、MPI、HOROVOD
|
|
2083
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2084
|
+
*/
|
|
2085
|
+
TrainingMode: string
|
|
2086
|
+
|
|
2087
|
+
/**
|
|
2088
|
+
* 计费模式
|
|
2089
|
+
*/
|
|
2090
|
+
ChargeType: string
|
|
2091
|
+
|
|
2092
|
+
/**
|
|
2093
|
+
* 预付费专用资源组
|
|
2094
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2095
|
+
*/
|
|
2096
|
+
ResourceGroupId: string
|
|
2097
|
+
|
|
2098
|
+
/**
|
|
2099
|
+
* 资源配置
|
|
2100
|
+
*/
|
|
2101
|
+
ResourceConfigInfos: Array<ResourceConfigInfo>
|
|
2102
|
+
|
|
2103
|
+
/**
|
|
2104
|
+
* 标签
|
|
2105
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2106
|
+
*/
|
|
2107
|
+
Tags: Array<Tag>
|
|
2108
|
+
|
|
2109
|
+
/**
|
|
2110
|
+
* 自定义镜像信息
|
|
2111
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2112
|
+
*/
|
|
2113
|
+
ImageInfo: ImageInfo
|
|
2114
|
+
|
|
2115
|
+
/**
|
|
2116
|
+
* 代码包
|
|
2117
|
+
*/
|
|
2118
|
+
CodePackagePath: CosPathInfo
|
|
2119
|
+
|
|
2120
|
+
/**
|
|
2121
|
+
* 启动命令信息
|
|
2122
|
+
*/
|
|
2123
|
+
StartCmdInfo: StartCmdInfo
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* 数据来源,eg:DATASET、COS
|
|
2127
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2128
|
+
*/
|
|
2129
|
+
DataSource: string
|
|
2130
|
+
|
|
2131
|
+
/**
|
|
2132
|
+
* 数据配置
|
|
2133
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2134
|
+
*/
|
|
2135
|
+
DataConfigs: Array<DataConfig>
|
|
2136
|
+
|
|
2137
|
+
/**
|
|
2138
|
+
* 调优参数
|
|
2139
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2140
|
+
*/
|
|
2141
|
+
TuningParameters: string
|
|
2142
|
+
|
|
2143
|
+
/**
|
|
2144
|
+
* 训练输出
|
|
2145
|
+
*/
|
|
2146
|
+
Output: CosPathInfo
|
|
2147
|
+
|
|
2148
|
+
/**
|
|
2149
|
+
* 是否上报日志
|
|
2150
|
+
*/
|
|
2151
|
+
LogEnable: boolean
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* 日志配置
|
|
2155
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2156
|
+
*/
|
|
2157
|
+
LogConfig: LogConfig
|
|
2158
|
+
|
|
2159
|
+
/**
|
|
2160
|
+
* VPC ID
|
|
2161
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2162
|
+
*/
|
|
2163
|
+
VpcId: string
|
|
2164
|
+
|
|
2165
|
+
/**
|
|
2166
|
+
* 子网ID
|
|
2167
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2168
|
+
*/
|
|
2169
|
+
SubnetId: string
|
|
2170
|
+
|
|
2171
|
+
/**
|
|
2172
|
+
* 任务状态
|
|
2173
|
+
*/
|
|
2174
|
+
Status: string
|
|
2175
|
+
|
|
2176
|
+
/**
|
|
2177
|
+
* 运行时长
|
|
2178
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2179
|
+
*/
|
|
2180
|
+
RuntimeInSeconds: number
|
|
2181
|
+
|
|
2182
|
+
/**
|
|
2183
|
+
* 创建时间
|
|
2184
|
+
*/
|
|
2185
|
+
CreateTime: string
|
|
2186
|
+
|
|
2187
|
+
/**
|
|
2188
|
+
* 训练开始时间
|
|
2189
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2190
|
+
*/
|
|
2191
|
+
StartTime: string
|
|
2192
|
+
|
|
2193
|
+
/**
|
|
2194
|
+
* 计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中
|
|
2195
|
+
*/
|
|
2196
|
+
ChargeStatus: string
|
|
2197
|
+
|
|
2198
|
+
/**
|
|
2199
|
+
* 最近一次实例ID
|
|
2200
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2201
|
+
*/
|
|
2202
|
+
LatestInstanceId: string
|
|
2203
|
+
|
|
2204
|
+
/**
|
|
2205
|
+
* TensorBoard ID
|
|
2206
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2207
|
+
*/
|
|
2208
|
+
TensorBoardId: string
|
|
2209
|
+
|
|
2210
|
+
/**
|
|
2211
|
+
* 备注
|
|
2212
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2213
|
+
*/
|
|
2214
|
+
Remark: string
|
|
2215
|
+
|
|
2216
|
+
/**
|
|
2217
|
+
* 失败原因
|
|
2218
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2219
|
+
*/
|
|
2220
|
+
FailureReason: string
|
|
2221
|
+
|
|
2222
|
+
/**
|
|
2223
|
+
* 更新时间
|
|
2224
|
+
*/
|
|
2225
|
+
UpdateTime: string
|
|
2226
|
+
|
|
2227
|
+
/**
|
|
2228
|
+
* 训练结束时间
|
|
2229
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2230
|
+
*/
|
|
2231
|
+
EndTime: string
|
|
2232
|
+
|
|
2233
|
+
/**
|
|
2234
|
+
* 计费金额信息,eg:2.00元/小时 (for后付费)
|
|
2235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2236
|
+
*/
|
|
2237
|
+
BillingInfo: string
|
|
2238
|
+
|
|
2239
|
+
/**
|
|
2240
|
+
* 预付费专用资源组名称
|
|
2241
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2242
|
+
*/
|
|
2243
|
+
ResourceGroupName: string
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2246
|
+
/**
|
|
2247
|
+
* DescribeTrainingTasks返回参数结构体
|
|
2248
|
+
*/
|
|
2249
|
+
export interface DescribeTrainingTasksResponse {
|
|
2250
|
+
/**
|
|
2251
|
+
* 训练任务集
|
|
2252
|
+
*/
|
|
2253
|
+
TrainingTaskSet: Array<TrainingTaskSetItem>
|
|
2254
|
+
|
|
2255
|
+
/**
|
|
2256
|
+
* 数量
|
|
2257
|
+
*/
|
|
2258
|
+
TotalCount: number
|
|
2259
|
+
|
|
2260
|
+
/**
|
|
2261
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2262
|
+
*/
|
|
2263
|
+
RequestId?: string
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
/**
|
|
2267
|
+
* 框架信息列表
|
|
2268
|
+
*/
|
|
2269
|
+
export interface FrameworkInfo {
|
|
2270
|
+
/**
|
|
2271
|
+
* 框架名称
|
|
2272
|
+
*/
|
|
2273
|
+
Name: string
|
|
2274
|
+
|
|
2275
|
+
/**
|
|
2276
|
+
* 框架版本以及对应的训练模式
|
|
2277
|
+
*/
|
|
2278
|
+
VersionInfos: Array<FrameworkVersion>
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
/**
|
|
2282
|
+
* DescribeLogs返回参数结构体
|
|
2283
|
+
*/
|
|
2284
|
+
export interface DescribeLogsResponse {
|
|
2285
|
+
/**
|
|
2286
|
+
* 分页的游标
|
|
2287
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2288
|
+
*/
|
|
2289
|
+
Context: string
|
|
2290
|
+
|
|
2291
|
+
/**
|
|
2292
|
+
* 日志数组
|
|
2293
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2294
|
+
*/
|
|
2295
|
+
Content: Array<LogIdentity>
|
|
2296
|
+
|
|
2297
|
+
/**
|
|
2298
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2299
|
+
*/
|
|
2300
|
+
RequestId?: string
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
/**
|
|
2304
|
+
* 模型版本列表
|
|
2305
|
+
*/
|
|
2306
|
+
export interface TrainingModelVersionDTO {
|
|
2307
|
+
/**
|
|
2308
|
+
* 模型id
|
|
2309
|
+
*/
|
|
2310
|
+
TrainingModelId: string
|
|
2311
|
+
|
|
2312
|
+
/**
|
|
2313
|
+
* 模型版本id
|
|
2314
|
+
*/
|
|
2315
|
+
TrainingModelVersionId: string
|
|
2316
|
+
|
|
2317
|
+
/**
|
|
2318
|
+
* 模型版本
|
|
2319
|
+
*/
|
|
2320
|
+
TrainingModelVersion: string
|
|
2321
|
+
|
|
2322
|
+
/**
|
|
2323
|
+
* 模型来源
|
|
2324
|
+
*/
|
|
2325
|
+
TrainingModelSource: string
|
|
2326
|
+
|
|
2327
|
+
/**
|
|
2328
|
+
* 创建时间
|
|
2329
|
+
*/
|
|
2330
|
+
TrainingModelCreateTime: string
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* 创建人uin
|
|
2334
|
+
*/
|
|
2335
|
+
TrainingModelCreator: string
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* 算法框架
|
|
2339
|
+
*/
|
|
2340
|
+
AlgorithmFramework: string
|
|
2341
|
+
|
|
2342
|
+
/**
|
|
2343
|
+
* 推理环境
|
|
2344
|
+
*/
|
|
2345
|
+
ReasoningEnvironment: string
|
|
2346
|
+
|
|
2347
|
+
/**
|
|
2348
|
+
* 推理环境来源
|
|
2349
|
+
*/
|
|
2350
|
+
ReasoningEnvironmentSource: string
|
|
2351
|
+
|
|
2352
|
+
/**
|
|
2353
|
+
* 模型指标
|
|
2354
|
+
*/
|
|
2355
|
+
TrainingModelIndex: string
|
|
2356
|
+
|
|
2357
|
+
/**
|
|
2358
|
+
* 训练任务名称
|
|
2359
|
+
*/
|
|
2360
|
+
TrainingJobName: string
|
|
2361
|
+
|
|
2362
|
+
/**
|
|
2363
|
+
* 模型cos路径
|
|
2364
|
+
*/
|
|
2365
|
+
TrainingModelCosPath: CosPathInfo
|
|
2366
|
+
|
|
2367
|
+
/**
|
|
2368
|
+
* 模型名称
|
|
2369
|
+
*/
|
|
2370
|
+
TrainingModelName: string
|
|
2371
|
+
|
|
2372
|
+
/**
|
|
2373
|
+
* 训练任务id
|
|
2374
|
+
*/
|
|
2375
|
+
TrainingJobId: string
|
|
2376
|
+
|
|
2377
|
+
/**
|
|
2378
|
+
* 自定义推理环境
|
|
2379
|
+
*/
|
|
2380
|
+
ReasoningImageInfo: ImageInfo
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* 模型版本创建时间
|
|
2384
|
+
*/
|
|
2385
|
+
CreateTime: string
|
|
2386
|
+
|
|
2387
|
+
/**
|
|
2388
|
+
* 模型处理状态
|
|
2389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2390
|
+
*/
|
|
2391
|
+
TrainingModelStatus: string
|
|
2392
|
+
|
|
2393
|
+
/**
|
|
2394
|
+
* 模型处理进度
|
|
2395
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2396
|
+
*/
|
|
2397
|
+
TrainingModelProgress: number
|
|
2398
|
+
|
|
2399
|
+
/**
|
|
2400
|
+
* 模型错误信息
|
|
2401
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2402
|
+
*/
|
|
2403
|
+
TrainingModelErrorMsg: string
|
|
2404
|
+
|
|
2405
|
+
/**
|
|
2406
|
+
* 模型格式
|
|
2407
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2408
|
+
*/
|
|
2409
|
+
TrainingModelFormat: string
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2412
|
+
/**
|
|
2413
|
+
* DescribeTrainingTask请求参数结构体
|
|
2414
|
+
*/
|
|
2415
|
+
export interface DescribeTrainingTaskRequest {
|
|
2416
|
+
/**
|
|
2417
|
+
* 训练任务ID
|
|
2418
|
+
*/
|
|
2419
|
+
Id: string
|
|
2420
|
+
}
|
|
2421
|
+
|
|
2422
|
+
/**
|
|
2423
|
+
* 文件行信息
|
|
2424
|
+
*/
|
|
2425
|
+
export interface RowValue {
|
|
2426
|
+
/**
|
|
2427
|
+
* 列名
|
|
2428
|
+
*/
|
|
2429
|
+
Name: string
|
|
2430
|
+
|
|
2431
|
+
/**
|
|
2432
|
+
* 列值
|
|
2433
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2434
|
+
*/
|
|
2435
|
+
Value: string
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2438
|
+
/**
|
|
2439
|
+
* 出参类型
|
|
2440
|
+
*/
|
|
2441
|
+
export interface TrainingTaskSetItem {
|
|
2442
|
+
/**
|
|
2443
|
+
* 训练任务ID
|
|
2444
|
+
*/
|
|
2445
|
+
Id: string
|
|
2446
|
+
|
|
2447
|
+
/**
|
|
2448
|
+
* 训练任务名称
|
|
2449
|
+
*/
|
|
2450
|
+
Name: string
|
|
2451
|
+
|
|
2452
|
+
/**
|
|
2453
|
+
* 框架名称
|
|
2454
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2455
|
+
*/
|
|
2456
|
+
FrameworkName: string
|
|
2457
|
+
|
|
2458
|
+
/**
|
|
2459
|
+
* 训练框架版本
|
|
2460
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2461
|
+
*/
|
|
2462
|
+
FrameworkVersion: string
|
|
2463
|
+
|
|
2464
|
+
/**
|
|
2465
|
+
* 训练模式eg:PS_WORKER、DDP、MPI、HOROVOD
|
|
2466
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2467
|
+
*/
|
|
2468
|
+
TrainingMode: string
|
|
2469
|
+
|
|
2470
|
+
/**
|
|
2471
|
+
* 计费模式
|
|
2472
|
+
*/
|
|
2473
|
+
ChargeType: string
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
* 计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中
|
|
2477
|
+
*/
|
|
2478
|
+
ChargeStatus: string
|
|
2479
|
+
|
|
2480
|
+
/**
|
|
2481
|
+
* 预付费专用资源组
|
|
2482
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2483
|
+
*/
|
|
2484
|
+
ResourceGroupId: string
|
|
2485
|
+
|
|
2486
|
+
/**
|
|
2487
|
+
* 资源配置
|
|
2488
|
+
*/
|
|
2489
|
+
ResourceConfigInfos: Array<ResourceConfigInfo>
|
|
2490
|
+
|
|
2491
|
+
/**
|
|
2492
|
+
* 标签配置
|
|
2493
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2494
|
+
*/
|
|
2495
|
+
Tags: Array<Tag>
|
|
2496
|
+
|
|
2497
|
+
/**
|
|
2498
|
+
* 任务状态
|
|
2499
|
+
*/
|
|
2500
|
+
Status: string
|
|
2501
|
+
|
|
2502
|
+
/**
|
|
2503
|
+
* 运行时长
|
|
2504
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2505
|
+
*/
|
|
2506
|
+
RuntimeInSeconds: number
|
|
2507
|
+
|
|
2508
|
+
/**
|
|
2509
|
+
* 创建时间
|
|
2510
|
+
*/
|
|
2511
|
+
CreateTime: string
|
|
2512
|
+
|
|
2513
|
+
/**
|
|
2514
|
+
* 训练开始时间
|
|
2515
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2516
|
+
*/
|
|
2517
|
+
StartTime: string
|
|
2518
|
+
|
|
2519
|
+
/**
|
|
2520
|
+
* 训练结束时间
|
|
2521
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2522
|
+
*/
|
|
2523
|
+
EndTime: string
|
|
2524
|
+
|
|
2525
|
+
/**
|
|
2526
|
+
* 训练输出
|
|
2527
|
+
*/
|
|
2528
|
+
Output: CosPathInfo
|
|
2529
|
+
|
|
2530
|
+
/**
|
|
2531
|
+
* 失败原因
|
|
2532
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2533
|
+
*/
|
|
2534
|
+
FailureReason: string
|
|
2535
|
+
|
|
2536
|
+
/**
|
|
2537
|
+
* 更新时间
|
|
2538
|
+
*/
|
|
2539
|
+
UpdateTime: string
|
|
2540
|
+
|
|
2541
|
+
/**
|
|
2542
|
+
* 计费金额信息,eg:2.00元/小时 (for后付费)
|
|
2543
|
+
*/
|
|
2544
|
+
BillingInfo: string
|
|
2545
|
+
|
|
2546
|
+
/**
|
|
2547
|
+
* 预付费专用资源组名称
|
|
2548
|
+
*/
|
|
2549
|
+
ResourceGroupName: string
|
|
2550
|
+
|
|
2551
|
+
/**
|
|
2552
|
+
* 自定义镜像信息
|
|
2553
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2554
|
+
*/
|
|
2555
|
+
ImageInfo: ImageInfo
|
|
2556
|
+
}
|
|
2557
|
+
|
|
2558
|
+
/**
|
|
2559
|
+
* 表格数据集表头信息
|
|
2560
|
+
*/
|
|
2561
|
+
export interface SchemaInfo {
|
|
2562
|
+
/**
|
|
2563
|
+
* 长度30字符内
|
|
2564
|
+
*/
|
|
2565
|
+
Name: string
|
|
2566
|
+
|
|
2567
|
+
/**
|
|
2568
|
+
* 数据类型
|
|
2569
|
+
*/
|
|
2570
|
+
Type: string
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2573
|
+
/**
|
|
2574
|
+
* DeleteDataset请求参数结构体
|
|
2575
|
+
*/
|
|
2576
|
+
export interface DeleteDatasetRequest {
|
|
2577
|
+
/**
|
|
2578
|
+
* 数据集id
|
|
2579
|
+
*/
|
|
2580
|
+
DatasetId: string
|
|
2581
|
+
|
|
2582
|
+
/**
|
|
2583
|
+
* 是否删除cos标签文件
|
|
2584
|
+
*/
|
|
2585
|
+
DeleteLabelEnable: boolean
|
|
2586
|
+
}
|
|
2587
|
+
|
|
2588
|
+
/**
|
|
2589
|
+
* 自定义指标
|
|
2590
|
+
*/
|
|
2591
|
+
export interface CustomTrainingMetric {
|
|
2592
|
+
/**
|
|
2593
|
+
* X轴数据类型: TIMESTAMP; EPOCH; STEP
|
|
2594
|
+
*/
|
|
2595
|
+
XType?: string
|
|
2596
|
+
|
|
2597
|
+
/**
|
|
2598
|
+
* 数据点
|
|
2599
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2600
|
+
*/
|
|
2601
|
+
Points?: Array<CustomTrainingPoint>
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
/**
|
|
2605
|
+
* 数据配置
|
|
2606
|
+
*/
|
|
2607
|
+
export interface DataConfig {
|
|
2608
|
+
/**
|
|
2609
|
+
* 映射路径
|
|
2610
|
+
*/
|
|
2611
|
+
MappingPath: string
|
|
2612
|
+
|
|
2613
|
+
/**
|
|
2614
|
+
* DATASET、COS、CFS、HDFS
|
|
2615
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2616
|
+
*/
|
|
2617
|
+
DataSourceType: string
|
|
2618
|
+
|
|
2619
|
+
/**
|
|
2620
|
+
* 来自数据集的数据
|
|
2621
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2622
|
+
*/
|
|
2623
|
+
DataSetSource: DataSetConfig
|
|
2624
|
+
|
|
2625
|
+
/**
|
|
2626
|
+
* 来自cos的数据
|
|
2627
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2628
|
+
*/
|
|
2629
|
+
COSSource: CosPathInfo
|
|
2630
|
+
|
|
2631
|
+
/**
|
|
2632
|
+
* 来自CFS的数据
|
|
2633
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2634
|
+
*/
|
|
2635
|
+
CFSSource: CFSConfig
|
|
2636
|
+
|
|
2637
|
+
/**
|
|
2638
|
+
* 来自HDFS的数据
|
|
2639
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2640
|
+
*/
|
|
2641
|
+
HDFSSource: HDFSConfig
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
/**
|
|
2645
|
+
* PushTrainingMetrics返回参数结构体
|
|
2646
|
+
*/
|
|
2647
|
+
export interface PushTrainingMetricsResponse {
|
|
2648
|
+
/**
|
|
2649
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2650
|
+
*/
|
|
2651
|
+
RequestId?: string
|
|
2652
|
+
}
|
|
2653
|
+
|
|
2654
|
+
/**
|
|
2655
|
+
* StopTrainingTask返回参数结构体
|
|
2656
|
+
*/
|
|
2657
|
+
export interface StopTrainingTaskResponse {
|
|
2658
|
+
/**
|
|
2659
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2660
|
+
*/
|
|
2661
|
+
RequestId?: string
|
|
2662
|
+
}
|
|
2663
|
+
|
|
2664
|
+
/**
|
|
2665
|
+
* HDFS的参数配置
|
|
2666
|
+
*/
|
|
2667
|
+
export interface HDFSConfig {
|
|
2668
|
+
/**
|
|
2669
|
+
* 集群实例ID,实例ID形如: emr-xxxxxxxx
|
|
2670
|
+
*/
|
|
2671
|
+
Id: string
|
|
2672
|
+
|
|
2673
|
+
/**
|
|
2674
|
+
* 路径
|
|
2675
|
+
*/
|
|
2676
|
+
Path: string
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2679
|
+
/**
|
|
2680
|
+
* DescribeTrainingMetrics返回参数结构体
|
|
2681
|
+
*/
|
|
2682
|
+
export interface DescribeTrainingMetricsResponse {
|
|
2683
|
+
/**
|
|
2684
|
+
* 任务ID
|
|
2685
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2686
|
+
*/
|
|
2687
|
+
TaskId: string
|
|
2688
|
+
|
|
2689
|
+
/**
|
|
2690
|
+
* 训练指标数据
|
|
2691
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2692
|
+
*/
|
|
2693
|
+
Data: Array<CustomTrainingData>
|
|
2694
|
+
|
|
2695
|
+
/**
|
|
2696
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2697
|
+
*/
|
|
2698
|
+
RequestId?: string
|
|
2699
|
+
}
|
|
2700
|
+
|
|
2701
|
+
/**
|
|
2702
|
+
* DescribeTrainingTaskPods返回参数结构体
|
|
2703
|
+
*/
|
|
2704
|
+
export interface DescribeTrainingTaskPodsResponse {
|
|
2705
|
+
/**
|
|
2706
|
+
* pod名称列表
|
|
2707
|
+
*/
|
|
2708
|
+
PodNames: Array<string>
|
|
2709
|
+
|
|
2710
|
+
/**
|
|
2711
|
+
* 数量
|
|
2712
|
+
*/
|
|
2713
|
+
TotalCount: number
|
|
2714
|
+
|
|
2715
|
+
/**
|
|
2716
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2717
|
+
*/
|
|
2718
|
+
RequestId?: string
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
/**
|
|
2722
|
+
* OCR场景标签列表
|
|
2723
|
+
*/
|
|
2724
|
+
export interface OcrLabelInfo {
|
|
2725
|
+
/**
|
|
2726
|
+
* 坐标点围起来的框
|
|
2727
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2728
|
+
*/
|
|
2729
|
+
Points: Array<PointInfo>
|
|
2730
|
+
|
|
2731
|
+
/**
|
|
2732
|
+
* 框的形状:
|
|
2733
|
+
FRAME_TYPE_RECTANGLE
|
|
2734
|
+
FRAME_TYPE_POLYGON
|
|
2735
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2736
|
+
*/
|
|
2737
|
+
FrameType: string
|
|
2738
|
+
|
|
2739
|
+
/**
|
|
2740
|
+
* 智能结构化:key区域对应的内容
|
|
2741
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2742
|
+
*/
|
|
2743
|
+
Key: string
|
|
2744
|
+
|
|
2745
|
+
/**
|
|
2746
|
+
* 智能结构化:上述key的ID
|
|
2747
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2748
|
+
*/
|
|
2749
|
+
KeyId: string
|
|
2750
|
+
|
|
2751
|
+
/**
|
|
2752
|
+
* 识别:框区域的内容
|
|
2753
|
+
智能结构化:value区域对应的内容
|
|
2754
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2755
|
+
*/
|
|
2756
|
+
Value: string
|
|
2757
|
+
|
|
2758
|
+
/**
|
|
2759
|
+
* 智能结构化:value区域所关联的key 区域的keyID的集合
|
|
2760
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2761
|
+
*/
|
|
2762
|
+
KeyIdsForValue: Array<string>
|
|
2763
|
+
|
|
2764
|
+
/**
|
|
2765
|
+
* key或者value区域内容的方向:
|
|
2766
|
+
DIRECTION_VERTICAL
|
|
2767
|
+
DIRECTION_HORIZONTAL
|
|
2768
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2769
|
+
*/
|
|
2770
|
+
Direction: string
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2773
|
+
/**
|
|
2774
|
+
* DescribeTrainingModels请求参数结构体
|
|
2775
|
+
*/
|
|
2776
|
+
export interface DescribeTrainingModelsRequest {
|
|
2777
|
+
/**
|
|
2778
|
+
* 过滤器
|
|
2779
|
+
Filter.Name: 枚举值:
|
|
2780
|
+
keyword (模型名称)
|
|
2781
|
+
TrainingModelId (模型ID)
|
|
2782
|
+
ModelVersionType (模型版本类型) 其值Filter.Values支持: NORMAL(通用) ACCELERATE (加速)
|
|
2783
|
+
TrainingModelSource (模型来源) 其值Filter.Values支持: JOB/COS/AUTO_ML
|
|
2784
|
+
AlgorithmFramework (算法框架) 其值Filter.Values支持:TENSORFLOW/PYTORCH/DETECTRON2
|
|
2785
|
+
ModelFormat(模型格式)其值Filter.Values支持:
|
|
2786
|
+
TORCH_SCRIPT/PYTORCH/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML
|
|
2787
|
+
Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询
|
|
2788
|
+
每次请求的Filters的上限为10,Filter.Values的上限为100
|
|
2789
|
+
Filter.Fuzzy取值:true/false,是否支持模糊匹配
|
|
2790
|
+
*/
|
|
2791
|
+
Filters?: Array<Filter>
|
|
2792
|
+
|
|
2793
|
+
/**
|
|
2794
|
+
* 排序字段,默认CreateTime
|
|
2795
|
+
*/
|
|
2796
|
+
OrderField?: string
|
|
2797
|
+
|
|
2798
|
+
/**
|
|
2799
|
+
* 排序方式,ASC/DESC,默认DESC
|
|
2800
|
+
*/
|
|
2801
|
+
Order?: string
|
|
2802
|
+
|
|
2803
|
+
/**
|
|
2804
|
+
* 偏移量
|
|
2805
|
+
*/
|
|
2806
|
+
Offset?: number
|
|
2807
|
+
|
|
2808
|
+
/**
|
|
2809
|
+
* 返回结果数量
|
|
2810
|
+
*/
|
|
2811
|
+
Limit?: number
|
|
2812
|
+
|
|
2813
|
+
/**
|
|
2814
|
+
* 标签过滤
|
|
2815
|
+
*/
|
|
2816
|
+
TagFilters?: Array<TagFilter>
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2819
|
+
/**
|
|
2820
|
+
* 资源组
|
|
2821
|
+
*/
|
|
2822
|
+
export interface ResourceGroup {
|
|
2823
|
+
/**
|
|
2824
|
+
* 资源组id
|
|
2825
|
+
*/
|
|
2826
|
+
ResourceGroupId: string
|
|
2827
|
+
|
|
2828
|
+
/**
|
|
2829
|
+
* 资源组名称
|
|
2830
|
+
*/
|
|
2831
|
+
ResourceGroupName: string
|
|
2832
|
+
|
|
2833
|
+
/**
|
|
2834
|
+
* 可用节点个数(运行中的节点)
|
|
2835
|
+
*/
|
|
2836
|
+
FreeInstance: number
|
|
2837
|
+
|
|
2838
|
+
/**
|
|
2839
|
+
* 总节点个数(所有节点)
|
|
2840
|
+
*/
|
|
2841
|
+
TotalInstance: number
|
|
2842
|
+
|
|
2843
|
+
/**
|
|
2844
|
+
* 资资源组已用的资源
|
|
2845
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2846
|
+
*/
|
|
2847
|
+
UsedResource: GroupResource
|
|
2848
|
+
|
|
2849
|
+
/**
|
|
2850
|
+
* 资源组总资源
|
|
2851
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2852
|
+
*/
|
|
2853
|
+
TotalResource: GroupResource
|
|
2854
|
+
|
|
2855
|
+
/**
|
|
2856
|
+
* 节点信息
|
|
2857
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2858
|
+
*/
|
|
2859
|
+
InstanceSet: Array<Instance>
|
|
2860
|
+
|
|
2861
|
+
/**
|
|
2862
|
+
* 标签列表
|
|
2863
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2864
|
+
*/
|
|
2865
|
+
TagSet: Array<Tag>
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2868
|
+
/**
|
|
2869
|
+
* DescribeTrainingTask返回参数结构体
|
|
2870
|
+
*/
|
|
2871
|
+
export interface DescribeTrainingTaskResponse {
|
|
2872
|
+
/**
|
|
2873
|
+
* 训练任务详情
|
|
2874
|
+
*/
|
|
2875
|
+
TrainingTaskDetail: TrainingTaskDetail
|
|
2876
|
+
|
|
2877
|
+
/**
|
|
2878
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2879
|
+
*/
|
|
2880
|
+
RequestId?: string
|
|
2881
|
+
}
|
|
2882
|
+
|
|
2883
|
+
/**
|
|
2884
|
+
* 指标数据
|
|
2885
|
+
*/
|
|
2886
|
+
export interface MetricData {
|
|
2887
|
+
/**
|
|
2888
|
+
* 训练任务id
|
|
2889
|
+
*/
|
|
2890
|
+
TaskId: string
|
|
2891
|
+
|
|
2892
|
+
/**
|
|
2893
|
+
* 时间戳.unix timestamp,单位为秒
|
|
2894
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2895
|
+
*/
|
|
2896
|
+
Timestamp?: number
|
|
2897
|
+
|
|
2898
|
+
/**
|
|
2899
|
+
* 用户uin
|
|
2900
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2901
|
+
*/
|
|
2902
|
+
Uin?: string
|
|
2903
|
+
|
|
2904
|
+
/**
|
|
2905
|
+
* 本次上报数据所处的训练周期数。
|
|
2906
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2907
|
+
*/
|
|
2908
|
+
Epoch?: number
|
|
2909
|
+
|
|
2910
|
+
/**
|
|
2911
|
+
* 本次上报数据所处的训练迭代次数。
|
|
2912
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2913
|
+
*/
|
|
2914
|
+
Step?: number
|
|
2915
|
+
|
|
2916
|
+
/**
|
|
2917
|
+
* 训练停止所需的迭代总数。
|
|
2918
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2919
|
+
*/
|
|
2920
|
+
TotalSteps?: number
|
|
2921
|
+
|
|
2922
|
+
/**
|
|
2923
|
+
* 数据点。数组元素为不同指标的数据。数组长度不超过10。
|
|
2924
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2925
|
+
*/
|
|
2926
|
+
Points?: Array<DataPoint>
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
/**
|
|
2930
|
+
* DeleteTrainingModelVersion请求参数结构体
|
|
2931
|
+
*/
|
|
2932
|
+
export interface DeleteTrainingModelVersionRequest {
|
|
2933
|
+
/**
|
|
2934
|
+
* 模型版本ID
|
|
2935
|
+
*/
|
|
2936
|
+
TrainingModelVersionId: string
|
|
2937
|
+
}
|
|
2938
|
+
|
|
2939
|
+
/**
|
|
2940
|
+
* DescribeBillingSpecsPrice返回参数结构体
|
|
2941
|
+
*/
|
|
2942
|
+
export interface DescribeBillingSpecsPriceResponse {
|
|
2943
|
+
/**
|
|
2944
|
+
* 计费项价格,支持批量返回
|
|
2945
|
+
*/
|
|
2946
|
+
SpecsPrice: Array<SpecPrice>
|
|
2947
|
+
|
|
2948
|
+
/**
|
|
2949
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2950
|
+
*/
|
|
2951
|
+
RequestId?: string
|
|
2952
|
+
}
|
|
2953
|
+
|
|
2954
|
+
/**
|
|
2955
|
+
* DescribeTrainingModelVersion返回参数结构体
|
|
2956
|
+
*/
|
|
2957
|
+
export interface DescribeTrainingModelVersionResponse {
|
|
2958
|
+
/**
|
|
2959
|
+
* 模型版本
|
|
2960
|
+
*/
|
|
2961
|
+
TrainingModelVersion: TrainingModelVersionDTO
|
|
2962
|
+
|
|
2963
|
+
/**
|
|
2964
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2965
|
+
*/
|
|
2966
|
+
RequestId?: string
|
|
2967
|
+
}
|
|
2968
|
+
|
|
2969
|
+
/**
|
|
2970
|
+
* StopTrainingTask请求参数结构体
|
|
2971
|
+
*/
|
|
2972
|
+
export interface StopTrainingTaskRequest {
|
|
2973
|
+
/**
|
|
2974
|
+
* 训练任务ID
|
|
2975
|
+
*/
|
|
2976
|
+
Id: string
|
|
2977
|
+
}
|
|
2978
|
+
|
|
2979
|
+
/**
|
|
2980
|
+
* 日志配置
|
|
2981
|
+
*/
|
|
2982
|
+
export interface LogConfig {
|
|
2983
|
+
/**
|
|
2984
|
+
* 日志需要投递到cls的日志集
|
|
2985
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2986
|
+
*/
|
|
2987
|
+
LogsetId: string
|
|
2988
|
+
|
|
2989
|
+
/**
|
|
2990
|
+
* 日志需要投递到cls的主题
|
|
2991
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2992
|
+
*/
|
|
2993
|
+
TopicId: string
|
|
2994
|
+
}
|
|
2995
|
+
|
|
2996
|
+
/**
|
|
2997
|
+
* StartTrainingTask返回参数结构体
|
|
2998
|
+
*/
|
|
2999
|
+
export interface StartTrainingTaskResponse {
|
|
3000
|
+
/**
|
|
3001
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3002
|
+
*/
|
|
3003
|
+
RequestId?: string
|
|
3004
|
+
}
|