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