diff --git a/luxonis_ml/data/datasets/annotation.py b/luxonis_ml/data/datasets/annotation.py index a7b36a2a..adb0f92e 100644 --- a/luxonis_ml/data/datasets/annotation.py +++ b/luxonis_ml/data/datasets/annotation.py @@ -498,7 +498,7 @@ def validate_path(cls, path: FilePath) -> FilePath: np.load(path) except Exception as e: raise ValueError( - f"Failed to load array annotation from {path}" + f"Failed to load array annotation from {path}. {str(e)}" ) from e return path