Install extensions#
QuPath extensions can add extra features. We may not have time to explore them in the workshop, but these instructions show how to install one that we’ll mention - and that you may find useful later.
What to do
Start QuPath.
Navigate to . This will open a dialog window showing a list of extensions maintained by the QuPath team.
Fig. 2 QuPath’s extension manager.#
Click the green plus (+) icon on the row reading QuPath InstanSeg extension to open an install dialog for the InstanSeg extension.
In the dialog that appears, click “Install” for the latest version.
Fig. 3 Install dialog for the InstanSeg extension#
You can find more instructions for installing extensions in the QuPath docs.
Deep Java Library and PyTorch#
In order to use InstanSeg and other deep learning models in QuPath, we usually use Deep Java Library.
QuPath v0.7.0 includes the Deep Java Library extension by default. However, you’ll still need to download “engines” to run deep learning models.
Specifially, the InstanSeg extension you just installed needs the “PyTorch engine”.
What to do
Navigate to . This will open a dialog as follows:
Fig. 4 A dialog to manage Deep Java Library engines for QuPath.#
Click Check/Download under PyTorch, and DJL should attempt to download and install the appropriate version for your system.
Fig. 5 Deep Java Library engine management window, showing PyTorch available#
If your computer contains an NVIDIA GPU, you may also want to attempt to install GPU support, as explained in the QuPath docs. This can hugely speed up models for large images… although configuration can be a bit of a pain, so let us know if you get stuck.