This is an automated email from the ASF dual-hosted git repository.
tilman pushed a commit to branch branch_2x
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/branch_2x by this push:
new 8804f2925 TIKA-4239: revert debug output, didn't help
8804f2925 is described below
commit 8804f29250f706242baac476862f258436bdfc4c
Author: Tilman Hausherr <[email protected]>
AuthorDate: Tue Nov 26 19:30:58 2024 +0100
TIKA-4239: revert debug output, didn't help
---
.../src/test/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 318220678..d6968a65d 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.Assertions.assertTrue;
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")) {