Class LaunchScriptCommand

java.lang.Object
qupath.ext.djl.ui.LaunchScriptCommand

public class LaunchScriptCommand extends Object
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 Details

  • Constructor Details

    • LaunchScriptCommand

      public LaunchScriptCommand()
  • Method Details

    • promptForScript

      public void promptForScript()
    • createLaunchScript

      public static String createLaunchScript(Map<String,String> params)
      Generate a .bat or .sh script to launch QuPath with the given parameters.
      Parameters:
      params -
      Returns: