diff --git a/src/anomalib/metrics/per_image/__init__.py b/src/anomalib/metrics/per_image/__init__.py index f32f7f3e34..11c23fba24 100644 --- a/src/anomalib/metrics/per_image/__init__.py +++ b/src/anomalib/metrics/per_image/__init__.py @@ -3,7 +3,13 @@ author: jpcbertoldo """ -# Copyright (C) 2022 Intel Corporation +# Original Code +# Copyright (c) 2024 @jpcbertoldo +# https://github.com/jpcbertoldo/aupimo +# SPDX-License-Identifier: MIT +# +# Modified +# Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 from .binclf_curve import per_image_binclf_curve, per_image_fpr, per_image_tpr diff --git a/src/anomalib/metrics/per_image/_binclf_curve_numba.py b/src/anomalib/metrics/per_image/_binclf_curve_numba.py index fe004185c8..3efe04b52c 100644 --- a/src/anomalib/metrics/per_image/_binclf_curve_numba.py +++ b/src/anomalib/metrics/per_image/_binclf_curve_numba.py @@ -5,7 +5,13 @@ author: jpcbertoldo """ -# Copyright (C) 2022 Intel Corporation +# Original Code +# Copyright (c) 2024 @jpcbertoldo +# https://github.com/jpcbertoldo/aupimo +# SPDX-License-Identifier: MIT +# +# Modified +# Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import numba diff --git a/src/anomalib/metrics/per_image/_validate.py b/src/anomalib/metrics/per_image/_validate.py index 34996df752..28fbe6114c 100644 --- a/src/anomalib/metrics/per_image/_validate.py +++ b/src/anomalib/metrics/per_image/_validate.py @@ -5,7 +5,13 @@ author: jpcbertoldo """ -# Copyright (C) 2022 Intel Corporation +# Original Code +# Copyright (c) 2024 @jpcbertoldo +# https://github.com/jpcbertoldo/aupimo +# SPDX-License-Identifier: MIT +# +# Modified +# Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 from __future__ import annotations diff --git a/src/anomalib/metrics/per_image/binclf_curve.py b/src/anomalib/metrics/per_image/binclf_curve.py index 8c814da59f..6805baf1e8 100644 --- a/src/anomalib/metrics/per_image/binclf_curve.py +++ b/src/anomalib/metrics/per_image/binclf_curve.py @@ -11,7 +11,13 @@ author: jpcbertoldo """ -# Copyright (C) 2022 Intel Corporation +# Original Code +# Copyright (c) 2024 @jpcbertoldo +# https://github.com/jpcbertoldo/aupimo +# SPDX-License-Identifier: MIT +# +# Modified +# Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 from __future__ import annotations diff --git a/src/anomalib/metrics/per_image/binclf_curve_numpy.py b/src/anomalib/metrics/per_image/binclf_curve_numpy.py index 690e9b3f4c..ffdd9e753d 100644 --- a/src/anomalib/metrics/per_image/binclf_curve_numpy.py +++ b/src/anomalib/metrics/per_image/binclf_curve_numpy.py @@ -7,7 +7,13 @@ author: jpcbertoldo """ -# Copyright (C) 2022 Intel Corporation +# Original Code +# Copyright (c) 2024 @jpcbertoldo +# https://github.com/jpcbertoldo/aupimo +# SPDX-License-Identifier: MIT +# +# Modified +# Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import itertools diff --git a/src/anomalib/metrics/per_image/pimo.py b/src/anomalib/metrics/per_image/pimo.py index f467984405..d8305d8bba 100644 --- a/src/anomalib/metrics/per_image/pimo.py +++ b/src/anomalib/metrics/per_image/pimo.py @@ -9,7 +9,13 @@ author: jpcbertoldo """ -# Copyright (C) 2022 Intel Corporation +# Original Code +# Copyright (c) 2024 @jpcbertoldo +# https://github.com/jpcbertoldo/aupimo +# SPDX-License-Identifier: MIT +# +# Modified +# Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 from __future__ import annotations diff --git a/src/anomalib/metrics/per_image/pimo_numpy.py b/src/anomalib/metrics/per_image/pimo_numpy.py index 15ca1a2d49..a9a0109566 100644 --- a/src/anomalib/metrics/per_image/pimo_numpy.py +++ b/src/anomalib/metrics/per_image/pimo_numpy.py @@ -25,7 +25,13 @@ author: jpcbertoldo """ -# Copyright (C) 2022 Intel Corporation +# Original Code +# Copyright (c) 2024 @jpcbertoldo +# https://github.com/jpcbertoldo/aupimo +# SPDX-License-Identifier: MIT +# +# Modified +# Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import logging diff --git a/src/anomalib/metrics/per_image/utils.py b/src/anomalib/metrics/per_image/utils.py index 0f0e3a1723..aeab08a55f 100644 --- a/src/anomalib/metrics/per_image/utils.py +++ b/src/anomalib/metrics/per_image/utils.py @@ -1,4 +1,14 @@ """Torch-oriented interfaces for `utils.py`.""" + +# Original Code +# Copyright (c) 2024 @jpcbertoldo +# https://github.com/jpcbertoldo/aupimo +# SPDX-License-Identifier: MIT +# +# Modified +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + from __future__ import annotations import logging diff --git a/src/anomalib/metrics/per_image/utils_numpy.py b/src/anomalib/metrics/per_image/utils_numpy.py index 989bdbe1d0..4ef627ec22 100644 --- a/src/anomalib/metrics/per_image/utils_numpy.py +++ b/src/anomalib/metrics/per_image/utils_numpy.py @@ -3,7 +3,13 @@ author: jpcbertoldo """ -# Copyright (C) 2022 Intel Corporation +# Original Code +# Copyright (c) 2024 @jpcbertoldo +# https://github.com/jpcbertoldo/aupimo +# SPDX-License-Identifier: MIT +# +# Modified +# Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 from __future__ import annotations