Skip to content

Commit

Permalink
catch errors not inly exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Nov 19, 2024
1 parent e9e6eab commit c9ca764
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
import org.tensorflow.framework.MetaGraphDef;
import org.tensorflow.framework.SignatureDef;
import org.tensorflow.framework.TensorInfo;
import org.yaml.snakeyaml.Yaml;

/**
* TODO
Expand Down Expand Up @@ -636,6 +637,7 @@ private static String getCurrentClasspath() throws UnsupportedEncodingException
String modelrunnerPath = getPathFromClass(DeepLearningEngineInterface.class);
String imglib2Path = getPathFromClass(NativeType.class);
String gsonPath = getPathFromClass(Gson.class);
String snakeYaml = getPathFromClass(Yaml.class);
String jnaPath = getPathFromClass(com.sun.jna.Library.class);
String jnaPlatformPath = getPathFromClass(com.sun.jna.platform.FileUtils.class);
if (modelrunnerPath == null || (modelrunnerPath.endsWith("DeepLearningEngineInterface.class")
Expand Down

0 comments on commit c9ca764

Please sign in to comment.