From 8804f29250f706242baac476862f258436bdfc4c Mon Sep 17 00:00:00 2001 From: Tilman Hausherr Date: Tue, 26 Nov 2024 19:30:58 +0100 Subject: [PATCH] TIKA-4239: revert debug output, didn't help --- .../java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tika-parsers/tika-parsers-ml/tika-dl/src/test/java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java b/tika-parsers/tika-parsers-ml/tika-dl/src/test/java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java index 3182206787..d6968a65d0 100644 --- a/tika-parsers/tika-parsers-ml/tika-dl/src/test/java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java +++ b/tika-parsers/tika-parsers-ml/tika-dl/src/test/java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java @@ -20,7 +20,6 @@ import static org.junit.jupiter.api.Assumptions.assumeFalse; import static org.junit.jupiter.api.Assumptions.assumeTrue; -import java.io.File; import java.io.InputStream; import org.apache.commons.lang3.SystemUtils; @@ -34,10 +33,6 @@ public class DL4JVGG16NetTest { @Test public void recognise() throws Exception { - String dir = System.getProperty("user.home"); - File f1 = new File(dir, ".tika-dl/models/keras/inception-v3/inception_v3_keras_2.h5"); - File f2 = new File(dir, ".tika-dl/models/keras/inception-v3/imagenet_class_index.json"); - System.out.println("cache file sizes: " + f1.length() + " " + f2.length()); assumeFalse(SystemUtils.OS_ARCH.equals("aarch64"), "doesn't yet work on aarch64"); TikaConfig config = null; try (InputStream is = getClass().getResourceAsStream("dl4j-vgg16-config.xml")) {