From 57b5c82ae3fbf2d9fe4beda3d9ade9be613430dd Mon Sep 17 00:00:00 2001
From: carlosuc3m <100329787@alumnos.uc3m.es>
Date: Tue, 5 Sep 2023 19:45:51 +0200
Subject: [PATCH] updat to new jdll
---
pom.xml | 2 +-
.../tensorflow/v2/api050/Tensorflow2Interface.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index 4997e1f..7bf1850 100644
--- a/pom.xml
+++ b/pom.xml
@@ -125,7 +125,7 @@
sign,deploy-to-scijava
- 0.3.11
+ 0.3.12-SNAPSHOT
0.5.0
[11,)
11
diff --git a/src/main/java/io/bioimage/modelrunner/tensorflow/v2/api050/Tensorflow2Interface.java b/src/main/java/io/bioimage/modelrunner/tensorflow/v2/api050/Tensorflow2Interface.java
index 71c01f8..f47e8f3 100644
--- a/src/main/java/io/bioimage/modelrunner/tensorflow/v2/api050/Tensorflow2Interface.java
+++ b/src/main/java/io/bioimage/modelrunner/tensorflow/v2/api050/Tensorflow2Interface.java
@@ -184,7 +184,7 @@ public class Tensorflow2Interface implements DeepLearningEngineInterface {
public Tensorflow2Interface() throws IOException
{
boolean isWin = PlatformDetection.isWindows();
- boolean isIntel = new PlatformDetection().getArch().equals(PlatformDetection.ARCH_X86_64);
+ boolean isIntel = PlatformDetection.getArch().equals(PlatformDetection.ARCH_X86_64);
if (true || (isWin && isIntel)) {
interprocessing = true;
tmpDir = getTemporaryDir();
@@ -205,7 +205,7 @@ private Tensorflow2Interface(boolean doInterprocessing) throws IOException
interprocessing = false;
} else {
boolean isMac = PlatformDetection.isMacOS();
- boolean isIntel = new PlatformDetection().getArch().equals(PlatformDetection.ARCH_X86_64);
+ boolean isIntel = PlatformDetection.getArch().equals(PlatformDetection.ARCH_X86_64);
if (isMac && isIntel) {
interprocessing = true;
tmpDir = getTemporaryDir();