Package qupath.ext.djl.ui
Class LaunchScriptCommand
java.lang.Object
qupath.ext.djl.ui.LaunchScriptCommand
Command to generate a launch script for QuPath.
This is primarily intended to help with managing CUDA/cuDNN using a conda environment. The script helps with setting environment variables and system properties so that the expected versions of CUDA/cuDNN are used.
It also makes it possible to set some Deep Java Library properties, e.g. to change the PyTorch version that is used.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateLaunchScript(Map<String, String> params) Generate a .bat or .sh script to launch QuPath with the given parameters.void
-
Field Details
-
KEY_CONDA_PATH
- See Also:
-
KEY_QUPATH_EXE
- See Also:
-
KEY_PYTORCH_VERSION
- See Also:
-
KEY_PYTORCH_LIBRARY_PATH
- See Also:
-
KEY_PYTORCH_FLAVOR
- See Also:
-
-
Constructor Details
-
LaunchScriptCommand
public LaunchScriptCommand()
-
-
Method Details
-
promptForScript
public void promptForScript() -
createLaunchScript
Generate a .bat or .sh script to launch QuPath with the given parameters.- Parameters:
params-- Returns:
-