diff --git a/face-search-test/src/main/java/com/visual/face/search/valid/exps/FaceSearchExample.java b/face-search-test/src/main/java/com/visual/face/search/valid/exps/FaceSearchExample.java index 50626ec..5c63769 100644 --- a/face-search-test/src/main/java/com/visual/face/search/valid/exps/FaceSearchExample.java +++ b/face-search-test/src/main/java/com/visual/face/search/valid/exps/FaceSearchExample.java @@ -21,7 +21,7 @@ public class FaceSearchExample { //docker部署模式 //public static String serverHost = "http://127.0.0.1:56789"; //远程测试服务 - //public static String serverHost = "http://face-search.diven.nat300.top"; +// public static String serverHost = "http://face-search.diven.nat300.top"; public static String namespace = "namespace_1"; public static String collectionName = "collect_20211201_v11"; public static FaceSearch faceSearch = FaceSearch.build(serverHost, namespace, collectionName); @@ -49,7 +49,7 @@ public class FaceSearchExample { /**添加样本数据*/ public static void index(){ - String indexPath = "face-search-test/src/main/resources/image/noface"; + String indexPath = "face-search-test/src/main/resources/image/validate/noface"; for(String name : Objects.requireNonNull(new File(indexPath).list())){ System.out.println(name); File files[] = Paths.get(indexPath, name).toFile().listFiles();