Compare commits
2 Commits
fcdba49430
...
48b46035fd
| Author | SHA1 | Date | |
|---|---|---|---|
| 48b46035fd | |||
| 1b9c7faf22 |
@@ -23,6 +23,14 @@ public class InferenceSendDto {
|
|||||||
private String cd_model_type;
|
private String cd_model_type;
|
||||||
private Double priority;
|
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
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@@ -34,5 +42,14 @@ public class InferenceSendDto {
|
|||||||
private Integer input2_year;
|
private Integer input2_year;
|
||||||
private String input1_scene_path;
|
private String input1_scene_path;
|
||||||
private String input2_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