This PR adds a build option to disable the use of the GPU with ONNX. If ALICEVISION_USE_ONNX_GPU is set to OFF, then ONNX will always be used with the CPU. Otherwise, it will be used with the GPU for the image segmentation module (currently, the sphere detection module only supports running ONNX on the CPU).
Description
This PR adds a build option to disable the use of the GPU with ONNX. If
ALICEVISION_USE_ONNX_GPU
is set toOFF
, then ONNX will always be used with the CPU. Otherwise, it will be used with the GPU for the image segmentation module (currently, the sphere detection module only supports running ONNX on the CPU).