|
|
|
@@ -24,7 +24,7 @@ public class AimController extends BaseController { |
|
|
|
@GetMapping("/getExpTrainInfos/{experiment_id}") |
|
|
|
@ApiOperation("获取当前实验的模型训练指标信息") |
|
|
|
@ApiResponse |
|
|
|
public GenericsAjaxResult<List<InsMetricInfoVo>> getExpTrainInfos(@RequestParam(value = "offset") String offset, |
|
|
|
public GenericsAjaxResult<List<InsMetricInfoVo>> getExpTrainInfos(@RequestParam(value = "offset", required = false) String offset, |
|
|
|
@RequestParam(value = "limit") int limit, |
|
|
|
@PathVariable("experiment_id") Integer experimentId) throws Exception { |
|
|
|
return genericsSuccess(aimService.getExpTrainInfos(experimentId, offset, limit)); |
|
|
|
@@ -33,7 +33,7 @@ public class AimController extends BaseController { |
|
|
|
@GetMapping("/getExpEvaluateInfos/{experiment_id}") |
|
|
|
@ApiOperation("获取当前实验的模型推理指标信息") |
|
|
|
@ApiResponse |
|
|
|
public GenericsAjaxResult<List<InsMetricInfoVo>> getExpEvaluateInfos(@RequestParam(value = "offset") String offset, |
|
|
|
public GenericsAjaxResult<List<InsMetricInfoVo>> getExpEvaluateInfos(@RequestParam(value = "offset", required = false) String offset, |
|
|
|
@RequestParam(value = "limit") int limit, |
|
|
|
@PathVariable("experiment_id") Integer experimentId) throws Exception { |
|
|
|
return genericsSuccess(aimService.getExpEvaluateInfos(experimentId, offset, limit)); |
|
|
|
|