Skip to content

Commit

Permalink
adapt to new jdll
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Sep 5, 2023
1 parent a82612e commit ee227c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
<!-- NB: Deploy releases to the SciJava Maven repository. -->
<releaseProfiles>sign,deploy-to-scijava</releaseProfiles>

<dl-modelrunner.version>0.3.11</dl-modelrunner.version>
<dl-modelrunner.version>0.3.12-SNAPSHOT</dl-modelrunner.version>
<tensorflow-core.version>0.4.1</tensorflow-core.version>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,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();
Expand All @@ -203,7 +203,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();
Expand Down

0 comments on commit ee227c1

Please sign in to comment.