From 5bf6abb8e6817f69703a81e39d8ebe2bf7cea703 Mon Sep 17 00:00:00 2001
From: ssarfjoo <saeed.sarfjoo@idiap.ch>
Date: Mon, 6 May 2019 17:51:20 +0200
Subject: [PATCH] update Idiap license

---
 lib/data_loaders/DataLoader.py                | 18 ++++++++++++++++++
 lib/data_loaders/VoxClsLoader.py              | 18 ++++++++++++++++++
 lib/feature_extractors/FeatureExtractor.py    | 17 ++++++++++++++++-
 .../SpectrogramExtractor.py                   | 16 ++++++++++++++++
 lib/feature_extractors/spectrogram_utils.py   | 18 ++++++++++++++++++
 lib/tools/testing_tools.py                    | 19 +++++++++++++++++++
 lib/tools/utils.py                            | 18 ++++++++++++++++++
 7 files changed, 123 insertions(+), 1 deletion(-)

diff --git a/lib/data_loaders/DataLoader.py b/lib/data_loaders/DataLoader.py
index 3903dbb..675f715 100644
--- a/lib/data_loaders/DataLoader.py
+++ b/lib/data_loaders/DataLoader.py
@@ -1,3 +1,21 @@
+#!/usr/bin/env python
+# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/
+# Written by Nam Le <nam.le@idiap.ch>,
+#
+# This file is part of unet.interspeech2019 package.
+#
+# unet.interspeech2019 is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3 as
+# published by the Free Software Foundation.
+#
+# unet.interspeech2019 is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with unet.interspeech2019. If not, see <http://www.gnu.org/licenses/>.
+
 import collections
 import re
 import sys
diff --git a/lib/data_loaders/VoxClsLoader.py b/lib/data_loaders/VoxClsLoader.py
index 1d68161..5ed4e29 100644
--- a/lib/data_loaders/VoxClsLoader.py
+++ b/lib/data_loaders/VoxClsLoader.py
@@ -1,3 +1,21 @@
+#!/usr/bin/env python
+# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/
+# Written by Nam Le <nam.le@idiap.ch>,
+#
+# This file is part of unet.interspeech2019 package.
+#
+# unet.interspeech2019 is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3 as
+# published by the Free Software Foundation.
+#
+# unet.interspeech2019 is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with unet.interspeech2019. If not, see <http://www.gnu.org/licenses/>.
+
 from __future__ import print_function
 import os
 import cPickle as pickle
diff --git a/lib/feature_extractors/FeatureExtractor.py b/lib/feature_extractors/FeatureExtractor.py
index b43a383..30998e4 100644
--- a/lib/feature_extractors/FeatureExtractor.py
+++ b/lib/feature_extractors/FeatureExtractor.py
@@ -1,5 +1,20 @@
 #!/usr/bin/env python
-
+# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/
+# Written by Nam Le <nam.le@idiap.ch>,
+#
+# This file is part of unet.interspeech2019 package.
+#
+# unet.interspeech2019 is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3 as
+# published by the Free Software Foundation.
+#
+# unet.interspeech2019 is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with unet.interspeech2019. If not, see <http://www.gnu.org/licenses/>.
 import os
 import json
 
diff --git a/lib/feature_extractors/SpectrogramExtractor.py b/lib/feature_extractors/SpectrogramExtractor.py
index a822ce9..77c186a 100644
--- a/lib/feature_extractors/SpectrogramExtractor.py
+++ b/lib/feature_extractors/SpectrogramExtractor.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/
+# Written by Nam Le <nam.le@idiap.ch>,
+#
+# This file is part of unet.interspeech2019 package.
+#
+# unet.interspeech2019 is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3 as
+# published by the Free Software Foundation.
+#
+# unet.interspeech2019 is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with unet.interspeech2019. If not, see <http://www.gnu.org/licenses/>.
 
 import os
 import json
diff --git a/lib/feature_extractors/spectrogram_utils.py b/lib/feature_extractors/spectrogram_utils.py
index 0b4bcc6..d61a83c 100644
--- a/lib/feature_extractors/spectrogram_utils.py
+++ b/lib/feature_extractors/spectrogram_utils.py
@@ -1,3 +1,21 @@
+#!/usr/bin/env python
+# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/
+# Written by Seyyed Saeed Sarfjoo <saeed.sarfjoo@idiap.ch>,
+#
+# This file is part of unet.interspeech2019 package.
+#
+# unet.interspeech2019 is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3 as
+# published by the Free Software Foundation.
+#
+# unet.interspeech2019 is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with unet.interspeech2019. If not, see <http://www.gnu.org/licenses/>.
+
 import os
 import math
 import numpy
diff --git a/lib/tools/testing_tools.py b/lib/tools/testing_tools.py
index 87b40c0..ba0c8b7 100644
--- a/lib/tools/testing_tools.py
+++ b/lib/tools/testing_tools.py
@@ -1,3 +1,22 @@
+#!/usr/bin/env python
+# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/
+# Written by Nam Le <nam.le@idiap.ch>,
+#            Seyyed Saeed Sarfjoo <saeed.sarfjoo@idiap.ch> 
+#
+# This file is part of unet.interspeech2019 package.
+#
+# unet.interspeech2019 is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3 as
+# published by the Free Software Foundation.
+#
+# unet.interspeech2019 is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with unet.interspeech2019. If not, see <http://www.gnu.org/licenses/>.
+
 from __future__ import print_function
 
 from sklearn.metrics import roc_curve, roc_auc_score, accuracy_score
diff --git a/lib/tools/utils.py b/lib/tools/utils.py
index fff24d8..b039259 100644
--- a/lib/tools/utils.py
+++ b/lib/tools/utils.py
@@ -1,3 +1,21 @@
+#!/usr/bin/env python
+# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/
+# Written by Nam Le <nam.le@idiap.ch>,
+#
+# This file is part of unet.interspeech2019 package.
+#
+# unet.interspeech2019 is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3 as
+# published by the Free Software Foundation.
+#
+# unet.interspeech2019 is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with unet.interspeech2019. If not, see <http://www.gnu.org/licenses/>.
+
 from scipy.spatial.distance import euclidean
 from copy import deepcopy
 import os
-- 
GitLab