MOOSE (Multi-organ objective segmentation) a data-centric AI solution that generates multilabel organ segmentations to facilitate systemic TB whole-person research.The pipeline is based on nn-UNet and has the capability to segment 120 unique tissue classes from a whole-body 18F-FDG PET/CT image.
Description A potential error where
moosez
/torch
cannot detectcuda
. This happened twice, once on Windows and once on Ubuntu.To Reproduce Steps to reproduce the behaviour:
moosez
pip install
the latest or specified moose versionmoosez
folder structure and runmoosez
on itmoosez
/torch
has trouble finding the correctcuda
version, the error/warning will be displayed as below.Expected behaviour
moosez
/torch
recognizes the correctcuda
version and determines the GPU as the prediction accelerator.Screenshots This might be the error/warning. The prediction will run on the CPU afterwards.
System information:
Fix The fix for both was to reinstall
torch
with the corresponding command from https://pytorch.org/get-started/locally/