From 749b1dc35c04746299a180d8cc6bcdc514c6000a Mon Sep 17 00:00:00 2001 From: hansheng-zhang <1718810184@qq.com> Date: Mon, 15 Jul 2024 21:58:50 +0800 Subject: [PATCH] modify acknowledgement --- models/tts/jets/alignments.py | 6 ++++-- models/tts/jets/jets.py | 9 ++++----- models/tts/jets/jets_dataset.py | 2 +- models/tts/jets/jets_inference.py | 2 +- models/tts/jets/jets_loss.py | 8 ++++---- models/tts/jets/jets_trainer.py | 2 +- models/tts/jets/length_regulator.py | 6 ++++-- 7 files changed, 19 insertions(+), 16 deletions(-) diff --git a/models/tts/jets/alignments.py b/models/tts/jets/alignments.py index bc73653b..a96a5000 100644 --- a/models/tts/jets/alignments.py +++ b/models/tts/jets/alignments.py @@ -1,5 +1,7 @@ -# Copyright 2022 Dan Lim -# Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) +# Copyright (c) 2024 Amphion. +# +# This code is modified from https://github.com/imdanboy/jets/blob/main/espnet2/gan_tts/jets/alignments.py +# Licensed under Apache License 2.0 import numpy as np import torch diff --git a/models/tts/jets/jets.py b/models/tts/jets/jets.py index 9867d25e..3940b372 100644 --- a/models/tts/jets/jets.py +++ b/models/tts/jets/jets.py @@ -1,8 +1,7 @@ -# Copyright (c) 2023 Amphion. -# Copyright 2022 Dan Lim -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - +# Copyright (c) 2024 Amphion. +# +# This code is modified from https://github.com/imdanboy/jets/blob/main/espnet2/gan_tts/jets/generator.py +# Licensed under Apache License 2.0 import torch import torch.nn as nn diff --git a/models/tts/jets/jets_dataset.py b/models/tts/jets/jets_dataset.py index 1a221ea9..6909468d 100644 --- a/models/tts/jets/jets_dataset.py +++ b/models/tts/jets/jets_dataset.py @@ -1,4 +1,4 @@ -# Copyright (c) 2023 Amphion. +# Copyright (c) 2024 Amphion. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/models/tts/jets/jets_inference.py b/models/tts/jets/jets_inference.py index 07610637..35610c4b 100644 --- a/models/tts/jets/jets_inference.py +++ b/models/tts/jets/jets_inference.py @@ -1,4 +1,4 @@ -# Copyright (c) 2023 Amphion. +# Copyright (c) 2024 Amphion. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/models/tts/jets/jets_loss.py b/models/tts/jets/jets_loss.py index 02695fd4..dfded4c6 100644 --- a/models/tts/jets/jets_loss.py +++ b/models/tts/jets/jets_loss.py @@ -1,7 +1,7 @@ -# Copyright 2020 Nagoya University (Tomoki Hayashi) -# Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) -# Copyright 2022 Dan Lim -# Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) +# Copyright (c) 2024 Amphion. +# +# This code is modified from https://github.com/imdanboy/jets/blob/main/espnet2/gan_tts/jets/loss.py +# Licensed under Apache License 2.0 from typing import List, Optional, Tuple, Union diff --git a/models/tts/jets/jets_trainer.py b/models/tts/jets/jets_trainer.py index f0999b4b..925dc928 100644 --- a/models/tts/jets/jets_trainer.py +++ b/models/tts/jets/jets_trainer.py @@ -1,4 +1,4 @@ -# Copyright (c) 2023 Amphion. +# Copyright (c) 2024 Amphion. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/models/tts/jets/length_regulator.py b/models/tts/jets/length_regulator.py index 59d985df..ce30f331 100644 --- a/models/tts/jets/length_regulator.py +++ b/models/tts/jets/length_regulator.py @@ -1,5 +1,7 @@ -# Copyright 2022 Dan Lim -# Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) +# Copyright (c) 2024 Amphion. +# +# This code is modified from https://github.com/imdanboy/jets/blob/main/espnet2/gan_tts/jets/length_regulator.py +# Licensed under Apache License 2.0 import torch