From 23e0d6c732462e8a66c51a2ca14c08058bd5c4c4 Mon Sep 17 00:00:00 2001 From: Nicki Skafte Date: Wed, 30 Oct 2024 14:29:17 +0100 Subject: [PATCH] add additional copyright --- src/torchmetrics/functional/audio/nisqa.py | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/torchmetrics/functional/audio/nisqa.py b/src/torchmetrics/functional/audio/nisqa.py index fb552f02adb..6696f93965d 100644 --- a/src/torchmetrics/functional/audio/nisqa.py +++ b/src/torchmetrics/functional/audio/nisqa.py @@ -12,6 +12,29 @@ # See the License for the specific language governing permissions and # limitations under the License. +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# Code related main NISQA model definition are under the following copyright + +# Copyright (c) 2021 Gabriel Mittag, Quality and Usability Lab + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + import copy import math import os