diff --git a/checkbox-support/checkbox_support/vendor/brisque/brisque.py b/checkbox-support/checkbox_support/vendor/brisque/brisque.py index 7336ea25a..b6b5735c5 100644 --- a/checkbox-support/checkbox_support/vendor/brisque/brisque.py +++ b/checkbox-support/checkbox_support/vendor/brisque/brisque.py @@ -7,7 +7,11 @@ import cv2 import numpy as np -from .svm import svmutil +try: + from .svm import svmutil +except ImportError: + from libsvm import svmutil + from .models import MODEL_PATH