Skip to content

Commit 58cb91c

Browse files
Update LaunchScriptCommand.java
1 parent 072b603 commit 58cb91c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/qupath/ext/djl/ui/LaunchScriptCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ public static String createLaunchScript(Map<String, String> params) {
229229
paths.add(condaPath);
230230
paths.add(condaPath + File.separator + "bin");
231231
paths.add(condaPath + File.separator + "lib");
232+
paths.add(condaPath + File.separator + "lib" + File.separator + "site-packages" + File.separator + "torch" + File.separator + "lib");
232233
var dirCudnn = findCuDnnDir(new File(condaPath));
233234
if (dirCudnn != null)
234235
cudnnPath = dirCudnn.getAbsolutePath();

0 commit comments

Comments
 (0)