Skip to contents

Probes the resolved Python interpreter to confirm that the six modules required by the SmallUNet pipeline (numpy, cv2, scipy, skimage, PIL, torch) can be imported.

Usage

grayleafspot_python_available(python = NULL, engine_model = "localunet")

Arguments

python

Optional character. Path to a specific Python executable.

engine_model

Character. Currently only "localunet" is supported.

Value

Logical TRUE if all required modules are importable, FALSE otherwise.