aibabo
This commit is contained in:
@@ -23,6 +23,14 @@ public class InferenceSendDto {
|
||||
private String cd_model_type;
|
||||
private Double priority;
|
||||
|
||||
public String getCd_model_path() {
|
||||
return cd_model_path==null?null:cd_model_path.replace("kamcd-nfs", "data");
|
||||
}
|
||||
|
||||
public String getCls_model_path() {
|
||||
return cls_model_path==null?null:cls_model_path.replace("kamcd-nfs", "data");
|
||||
}
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@AllArgsConstructor
|
||||
@@ -34,5 +42,14 @@ public class InferenceSendDto {
|
||||
private Integer input2_year;
|
||||
private String input1_scene_path;
|
||||
private String input2_scene_path;
|
||||
|
||||
public String getInput1_scene_path() {
|
||||
|
||||
return input1_scene_path==null?null:input1_scene_path.replace("kamcd-nfs", "data");
|
||||
}
|
||||
|
||||
public String getInput2_scene_path() {
|
||||
return input2_scene_path==null?null:input2_scene_path.replace("kamcd-nfs", "data");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user