diff --git a/simba/data_processors/cuda/image.py b/simba/data_processors/cuda/image.py index 5380e4619..500c68b8f 100644 --- a/simba/data_processors/cuda/image.py +++ b/simba/data_processors/cuda/image.py @@ -19,7 +19,10 @@ import cv2 import numpy as np -from cupyx.scipy.ndimage import rotate +try: + from cupyx.scipy.ndimage import rotate +except: + from scipy.ndimage import rotate from numba import cuda from simba.data_processors.cuda.utils import _cuda_mse