diff --git a/SE_algorithms.py b/SE_algorithms.py index 605e8421050d88e51ec449f4b65f953cd5c8f70a..f36bcc11a3dc6ef70d5fa3841a6476d08d73328a 100644 --- a/SE_algorithms.py +++ b/SE_algorithms.py @@ -1,11 +1,24 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ -Copyright (c) by Inria and CentraleSupelec - 2019 +This code implements the speech enhancement method published in: S. Leglaive, +X. Alameda-Pineda, L. Girin, R. Horaud, "A recurrent variational autoencoder +for speech enhancement", IEEE International Conference on Acoustics Speech and +Signal Processing (ICASSP), Barcelona, Spain, 2020. + +Copyright (c) 2019-2020 by Inria and CentraleSupelec Authored by Simon Leglaive (simon.leglaive@centralesupelec.fr) -License agreement in LICENSE.txt + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License (version 3) +as published by the Free Software Foundation. + +You should have received a copy of the GNU Affero General Public License +along with this program (LICENSE.txt). If not, see +<https://www.gnu.org/licenses/>. """ + my_seed = 0 import numpy as np np.random.seed(my_seed) diff --git a/main.py b/main.py index 931fee2614d83f135f8f752040d618317d507d9b..43f463a07b2b31d4c53c12594c8369215a2443ba 100644 --- a/main.py +++ b/main.py @@ -1,9 +1,21 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ -Copyright (c) by Inria and CentraleSupelec - 2019 +This code implements the speech enhancement method published in: S. Leglaive, +X. Alameda-Pineda, L. Girin, R. Horaud, "A recurrent variational autoencoder +for speech enhancement", IEEE International Conference on Acoustics Speech and +Signal Processing (ICASSP), Barcelona, Spain, 2020. + +Copyright (c) 2019-2020 by Inria and CentraleSupelec Authored by Simon Leglaive (simon.leglaive@centralesupelec.fr) -License agreement in LICENSE.txt + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License (version 3) +as published by the Free Software Foundation. + +You should have received a copy of the GNU Affero General Public License +along with this program (LICENSE.txt). If not, see +<https://www.gnu.org/licenses/>. """ my_seed = 0 diff --git a/training/VAEs.py b/training/VAEs.py index 0037974f346ec3b5ac059354d730d92f6930d734..67ecf2e86ea58c991ca90d43159ad597733b6f89 100644 --- a/training/VAEs.py +++ b/training/VAEs.py @@ -1,11 +1,24 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ -Copyright (c) by Inria and CentraleSupelec - 2019 +This code implements the speech enhancement method published in: S. Leglaive, +X. Alameda-Pineda, L. Girin, R. Horaud, "A recurrent variational autoencoder +for speech enhancement", IEEE International Conference on Acoustics Speech and +Signal Processing (ICASSP), Barcelona, Spain, 2020. + +Copyright (c) 2019-2020 by Inria and CentraleSupelec Authored by Simon Leglaive (simon.leglaive@centralesupelec.fr) -License agreement in LICENSE.txt + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License (version 3) +as published by the Free Software Foundation. + +You should have received a copy of the GNU Affero General Public License +along with this program (LICENSE.txt). If not, see +<https://www.gnu.org/licenses/>. """ + import torch from torch import nn from collections import OrderedDict diff --git a/training/speech_dataset.py b/training/speech_dataset.py index 65ac51f40ce2d2bb82d1b2e99d79971feefff877..45bda853c4a6ba5e4b08643e423e3c8a5a25f800 100644 --- a/training/speech_dataset.py +++ b/training/speech_dataset.py @@ -1,11 +1,24 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ -Copyright (c) by Inria and CentraleSupelec - 2019 +This code implements the speech enhancement method published in: S. Leglaive, +X. Alameda-Pineda, L. Girin, R. Horaud, "A recurrent variational autoencoder +for speech enhancement", IEEE International Conference on Acoustics Speech and +Signal Processing (ICASSP), Barcelona, Spain, 2020. + +Copyright (c) 2019-2020 by Inria and CentraleSupelec Authored by Simon Leglaive (simon.leglaive@centralesupelec.fr) -License agreement in LICENSE.txt + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License (version 3) +as published by the Free Software Foundation. + +You should have received a copy of the GNU Affero General Public License +along with this program (LICENSE.txt). If not, see +<https://www.gnu.org/licenses/>. """ + import torch from torch.utils import data import os diff --git a/training/train_BRNN_WSJ0.py b/training/train_BRNN_WSJ0.py index 1d3510331f7a814691a605ebb8f846b0ebe3ed6b..0b7eec5d89fb5bf03f09cd29bd8827591efd25c9 100644 --- a/training/train_BRNN_WSJ0.py +++ b/training/train_BRNN_WSJ0.py @@ -1,11 +1,24 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ -Copyright (c) by Inria and CentraleSupelec - 2019 +This code implements the speech enhancement method published in: S. Leglaive, +X. Alameda-Pineda, L. Girin, R. Horaud, "A recurrent variational autoencoder +for speech enhancement", IEEE International Conference on Acoustics Speech and +Signal Processing (ICASSP), Barcelona, Spain, 2020. + +Copyright (c) 2019-2020 by Inria and CentraleSupelec Authored by Simon Leglaive (simon.leglaive@centralesupelec.fr) -License agreement in LICENSE.txt + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License (version 3) +as published by the Free Software Foundation. + +You should have received a copy of the GNU Affero General Public License +along with this program (LICENSE.txt). If not, see +<https://www.gnu.org/licenses/>. """ + my_seed = 0 import numpy as np np.random.seed(my_seed) diff --git a/training/train_FFNN_WSJ0.py b/training/train_FFNN_WSJ0.py index c6bf8a67c2e5c19fe2e69c200fcfedab027e17ba..59132000324f0c9cd30ab46963f396edddfa7dcc 100644 --- a/training/train_FFNN_WSJ0.py +++ b/training/train_FFNN_WSJ0.py @@ -1,11 +1,24 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ -Copyright (c) by Inria and CentraleSupelec - 2019 +This code implements the speech enhancement method published in: S. Leglaive, +X. Alameda-Pineda, L. Girin, R. Horaud, "A recurrent variational autoencoder +for speech enhancement", IEEE International Conference on Acoustics Speech and +Signal Processing (ICASSP), Barcelona, Spain, 2020. + +Copyright (c) 2019-2020 by Inria and CentraleSupelec Authored by Simon Leglaive (simon.leglaive@centralesupelec.fr) -License agreement in LICENSE.txt + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License (version 3) +as published by the Free Software Foundation. + +You should have received a copy of the GNU Affero General Public License +along with this program (LICENSE.txt). If not, see +<https://www.gnu.org/licenses/>. """ + my_seed = 0 import numpy as np np.random.seed(my_seed) diff --git a/training/train_RNN_WSJ0.py b/training/train_RNN_WSJ0.py index da0ddfbe0440267b61e12e5f4075adce2dc4ad43..eaf983340fe7070dcfbfb001122ef4d3e28637d4 100644 --- a/training/train_RNN_WSJ0.py +++ b/training/train_RNN_WSJ0.py @@ -1,11 +1,24 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ -Copyright (c) by Inria and CentraleSupelec - 2019 +This code implements the speech enhancement method published in: S. Leglaive, +X. Alameda-Pineda, L. Girin, R. Horaud, "A recurrent variational autoencoder +for speech enhancement", IEEE International Conference on Acoustics Speech and +Signal Processing (ICASSP), Barcelona, Spain, 2020. + +Copyright (c) 2019-2020 by Inria and CentraleSupelec Authored by Simon Leglaive (simon.leglaive@centralesupelec.fr) -License agreement in LICENSE.txt + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License (version 3) +as published by the Free Software Foundation. + +You should have received a copy of the GNU Affero General Public License +along with this program (LICENSE.txt). If not, see +<https://www.gnu.org/licenses/>. """ + my_seed = 0 import numpy as np np.random.seed(my_seed)