Skip to content

Commit

Permalink
update the available engines
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Oct 3, 2024
1 parent ca3d60c commit 7e14fb1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 21 deletions.
2 changes: 2 additions & 0 deletions src/main/java/io/bioimage/modelrunner/model/Model.java
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,8 @@ public void loadModel() throws LoadModelException
*/
public void close()
{
if (getEngineClassLoader() == null)
return;
DeepLearningEngineInterface engineInstance = getEngineClassLoader().getEngineInstance();
engineClassLoader.setEngineClassLoader();
engineInstance.closeModel();
Expand Down
42 changes: 21 additions & 21 deletions src/main/resources/availableDLVersions.json
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.3.3/tensorflow-core-api-0.3.3-windows-x86_64.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.4/javacpp-1.5.4-windows-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -470,7 +470,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.3.3/tensorflow-core-api-0.3.3-windows-x86_64-gpu.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.4/javacpp-1.5.4-windows-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -489,7 +489,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.3.3/tensorflow-core-api-0.3.3-linux-x86_64.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.4/javacpp-1.5.4-linux-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -508,7 +508,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.3.3/tensorflow-core-api-0.3.3-linux-x86_64-gpu.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.4/javacpp-1.5.4-linux-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -527,7 +527,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.3.3/tensorflow-core-api-0.3.3-macosx-x86_64.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.4/javacpp-1.5.4-macosx-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -546,7 +546,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.0/tensorflow-core-api-0.4.0-windows-x86_64.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.6/javacpp-1.5.6-windows-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -565,7 +565,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.0/tensorflow-core-api-0.4.0-windows-x86_64-gpu.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.6/javacpp-1.5.6-windows-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -584,7 +584,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.0/tensorflow-core-api-0.4.0-linux-x86_64.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.6/javacpp-1.5.6-linux-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -603,7 +603,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.0/tensorflow-core-api-0.4.0-linux-x86_64-gpu.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.6/javacpp-1.5.6-linux-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -622,7 +622,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.0/tensorflow-core-api-0.4.0-macosx-x86_64.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.6/javacpp-1.5.6-macosx-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -641,7 +641,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.0/tensorflow-core-api-0.4.0.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8-macosx-arm64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -660,7 +660,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.1/tensorflow-core-api-0.4.1-windows-x86_64.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.6/javacpp-1.5.6-windows-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -679,7 +679,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.1/tensorflow-core-api-0.4.1-windows-x86_64-gpu.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.6/javacpp-1.5.6-windows-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -698,7 +698,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.1/tensorflow-core-api-0.4.1-linux-x86_64.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.6/javacpp-1.5.6-linux-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -717,7 +717,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.1/tensorflow-core-api-0.4.1-linux-x86_64-gpu.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.6/javacpp-1.5.6-linux-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -736,7 +736,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.1/tensorflow-core-api-0.4.1-macosx-x86_64.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.6/javacpp-1.5.6-macosx-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -755,7 +755,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.2/tensorflow-core-api-0.4.2-windows-x86_64.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.6/javacpp-1.5.6-windows-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -774,7 +774,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.2/tensorflow-core-api-0.4.2-windows-x86_64-gpu.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.6/javacpp-1.5.6-windows-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -793,7 +793,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.2/tensorflow-core-api-0.4.2-linux-x86_64.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.6/javacpp-1.5.6-linux-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -812,7 +812,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.2/tensorflow-core-api-0.4.2-linux-x86_64-gpu.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.6/javacpp-1.5.6-linux-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand All @@ -831,7 +831,7 @@
"https://repo1.maven.org/maven2/org/tensorflow/tensorflow-core-api/0.4.2/tensorflow-core-api-0.4.2-macosx-x86_64.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.8/javacpp-1.5.8.jar",
"https://repo1.maven.org/maven2/org/bytedeco/javacpp/1.5.6/javacpp-1.5.6-macosx-x86_64.jar",
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.114156-7.jar"
"https://maven.scijava.org/service/local/repositories/snapshots/content/io/bioimage/dl-modelrunner-tensorflow-2b/0.4.2-SNAPSHOT/dl-modelrunner-tensorflow-2b-0.4.2-20241003.155959-13.jar"
]
},
{
Expand Down

0 comments on commit 7e14fb1

Please sign in to comment.