Skip to content

Commit b75046f

Browse files
committed
move to avoid showing path
1 parent b515d48 commit b75046f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/bioimage/modelrunner/pytorch/PytorchInterface.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ private Service getRunner() throws IOException, URISyntaxException {
166166
public void loadModel(String modelFolder, String modelSource)
167167
throws LoadModelException
168168
{
169-
System.out.println("[DEBUG 1]: " + ai.djl.util.Utils.getenv("PATH"));
170-
System.out.println("[DEBUG 2]: " + Platform.fromSystem("pytorch"));
171169
this.modelFolder = modelFolder;
172170
this.modelSource = modelSource;
173171
if (interprocessing) {
@@ -178,6 +176,8 @@ public void loadModel(String modelFolder, String modelSource)
178176
}
179177
return;
180178
}
179+
System.out.println("[DEBUG 1]: " + ai.djl.util.Utils.getenv("PATH"));
180+
System.out.println("[DEBUG 2]: " + Platform.fromSystem("pytorch"));
181181
try {
182182
String modelName = getModelName(modelSource);
183183
// Find the URL that corresponds to the file

0 commit comments

Comments
 (0)