diff --git a/bob/paper/ijcb2021_synthetic_dataset/generate/__init__.py b/bob/paper/ijcb2021_synthetic_dataset/generate/__init__.py index 8b6b33ce599e38c8f22565cdaa5d91d63fa612a2..8597d8c0341f0e24ee44f52f71bb12f57821d021 100644 --- a/bob/paper/ijcb2021_synthetic_dataset/generate/__init__.py +++ b/bob/paper/ijcb2021_synthetic_dataset/generate/__init__.py @@ -1,4 +1,8 @@ - +# Copyright (c) 2021, Idiap Research Institute. All rights reserved. +# +# This work is made available under a custom license, Non-Commercial Research and Educational Use Only +# To view a copy of this license, visit +# https://gitlab.idiap.ch/bob/bob.paper.ijcb2021_synthetic_dataset/-/blob/master/LICENSE.txt import numpy as np from pkgutil import extend_path __path__ = extend_path(__path__, __name__) diff --git a/bob/paper/ijcb2021_synthetic_dataset/generate/db_generator.py b/bob/paper/ijcb2021_synthetic_dataset/generate/db_generator.py index 0ed5bf4e9c47b564185e9b0437b43cd8d0d95d43..da3c2f6ffffbb91a212f042bf0ac0aaaf38456ea 100644 --- a/bob/paper/ijcb2021_synthetic_dataset/generate/db_generator.py +++ b/bob/paper/ijcb2021_synthetic_dataset/generate/db_generator.py @@ -1,3 +1,8 @@ +# Copyright (c) 2021, Idiap Research Institute. All rights reserved. +# +# This work is made available under a Non-Commercial Reserach and Educational Use Only license. +# To view a copy of this license, visit +# https://gitlab.idiap.ch/bob/bob.paper.ijcb2021_synthetic_dataset/-/blob/master/LICENSE.txt import os import h5py import numpy as np diff --git a/bob/paper/ijcb2021_synthetic_dataset/generate/face_wrapper.py b/bob/paper/ijcb2021_synthetic_dataset/generate/face_wrapper.py index 6d34f1b2f7177a9fd05481fa82022882d6921b87..4bb575b9651cce4fd86db7efd1d094d2a6f4e299 100644 --- a/bob/paper/ijcb2021_synthetic_dataset/generate/face_wrapper.py +++ b/bob/paper/ijcb2021_synthetic_dataset/generate/face_wrapper.py @@ -1,3 +1,8 @@ +# Copyright (c) 2021, Idiap Research Institute. All rights reserved. +# +# This work is made available under a custom license, Non-Commercial Research and Educational Use Only +# To view a copy of this license, visit +# https://gitlab.idiap.ch/bob/bob.paper.ijcb2021_synthetic_dataset/-/blob/master/LICENSE.txt import os import numpy as np from scipy.spatial.distance import cosine as cosine_dist diff --git a/bob/paper/ijcb2021_synthetic_dataset/latent/analysis.py b/bob/paper/ijcb2021_synthetic_dataset/latent/analysis.py index 632311cb829263ddfe8f10d099a08788d94c79b0..dee6bd07748e8978d11b01889a30463c3efd86c6 100644 --- a/bob/paper/ijcb2021_synthetic_dataset/latent/analysis.py +++ b/bob/paper/ijcb2021_synthetic_dataset/latent/analysis.py @@ -1,3 +1,8 @@ +# Copyright (c) 2021, Idiap Research Institute. All rights reserved. +# +# This work is made available under a custom license, Non-Commercial Research and Educational Use Only +# To view a copy of this license, visit +# https://gitlab.idiap.ch/bob/bob.paper.ijcb2021_synthetic_dataset/-/blob/master/LICENSE.txt from bob.extension import rc from bob.db.multipie import Database as Multipie import os diff --git a/bob/paper/ijcb2021_synthetic_dataset/latent/editing.py b/bob/paper/ijcb2021_synthetic_dataset/latent/editing.py index 9edb81439dc6fd3a55c5df4dc833e27238a7b9c4..d44c0700aaa4fe5750ffe4d5275aa86fbd48b024 100644 --- a/bob/paper/ijcb2021_synthetic_dataset/latent/editing.py +++ b/bob/paper/ijcb2021_synthetic_dataset/latent/editing.py @@ -1,3 +1,8 @@ +# Copyright (c) 2021, Idiap Research Institute. All rights reserved. +# +# This work is made available under a custom license, Non-Commercial Research and Educational Use Only +# To view a copy of this license, visit +# https://gitlab.idiap.ch/bob/bob.paper.ijcb2021_synthetic_dataset/-/blob/master/LICENSE.txt import numpy as np LATENT_DIM = 512 diff --git a/bob/paper/ijcb2021_synthetic_dataset/script/compute_latent_directions.py b/bob/paper/ijcb2021_synthetic_dataset/script/compute_latent_directions.py index b5d4f30ddb178811512498cb470596a107115762..e180d3104b4d5c0c1bc061641c1a3255d2c9920e 100644 --- a/bob/paper/ijcb2021_synthetic_dataset/script/compute_latent_directions.py +++ b/bob/paper/ijcb2021_synthetic_dataset/script/compute_latent_directions.py @@ -1,3 +1,8 @@ +# Copyright (c) 2021, Idiap Research Institute. All rights reserved. +# +# This work is made available under a custom license, Non-Commercial Research and Educational Use Only +# To view a copy of this license, visit +# https://gitlab.idiap.ch/bob/bob.paper.ijcb2021_synthetic_dataset/-/blob/master/LICENSE.txt import os from bob.extension import rc import click diff --git a/bob/paper/ijcb2021_synthetic_dataset/script/generate_db.py b/bob/paper/ijcb2021_synthetic_dataset/script/generate_db.py index 9ae0e01ac2869064e120a40dc264ad2041194820..5b50b169a42f2bbbfe0a3a2215008753b536188e 100644 --- a/bob/paper/ijcb2021_synthetic_dataset/script/generate_db.py +++ b/bob/paper/ijcb2021_synthetic_dataset/script/generate_db.py @@ -1,3 +1,8 @@ +# Copyright (c) 2021, Idiap Research Institute. All rights reserved. +# +# This work is made available under a custom license, Non-Commercial Research and Educational Use Only +# To view a copy of this license, visit +# https://gitlab.idiap.ch/bob/bob.paper.ijcb2021_synthetic_dataset/-/blob/master/LICENSE.txt from bob.extension import rc from bob.bio.face.preprocessor import FaceCrop from bob.bio.face_ongoing.configs.baselines.msceleb.inception_resnet_v2.centerloss_rgb import extractor diff --git a/bob/paper/ijcb2021_synthetic_dataset/script/project_db.py b/bob/paper/ijcb2021_synthetic_dataset/script/project_db.py index e550cc64c6fc95e6e4edf1c2251ecbcdc84627ad..fc8857a53586cc0d8b2e62a7c8bb919bbfcefdc7 100644 --- a/bob/paper/ijcb2021_synthetic_dataset/script/project_db.py +++ b/bob/paper/ijcb2021_synthetic_dataset/script/project_db.py @@ -1,3 +1,8 @@ +# Copyright (c) 2021, Idiap Research Institute. All rights reserved. +# +# This work is made available under a custom license, Non-Commercial Research and Educational Use Only +# To view a copy of this license, visit +# https://gitlab.idiap.ch/bob/bob.paper.ijcb2021_synthetic_dataset/-/blob/master/LICENSE.txt import os import click diff --git a/bob/paper/ijcb2021_synthetic_dataset/stylegan2/generator.py b/bob/paper/ijcb2021_synthetic_dataset/stylegan2/generator.py index 0232f36fc0b6bd9b4a45070e2bad6ac753255d78..27802f06b5a280b6e15d3446a25eae1a95c1ccb1 100644 --- a/bob/paper/ijcb2021_synthetic_dataset/stylegan2/generator.py +++ b/bob/paper/ijcb2021_synthetic_dataset/stylegan2/generator.py @@ -1,3 +1,8 @@ +# Copyright (c) 2021, Idiap Research Institute. All rights reserved. +# +# This work is made available under a custom license, Non-Commercial Research and Educational Use Only +# To view a copy of this license, visit +# https://gitlab.idiap.ch/bob/bob.paper.ijcb2021_synthetic_dataset/-/blob/master/LICENSE.txt from . import dnnlib from .dnnlib import tflib from .. import utils diff --git a/bob/paper/ijcb2021_synthetic_dataset/stylegan2/preprocessor.py b/bob/paper/ijcb2021_synthetic_dataset/stylegan2/preprocessor.py index fc22323330b886ca1e3d8159244ac17792dcf971..13904299b2e36a8ddbd3fdc5cf3bd72ad90d4c7a 100644 --- a/bob/paper/ijcb2021_synthetic_dataset/stylegan2/preprocessor.py +++ b/bob/paper/ijcb2021_synthetic_dataset/stylegan2/preprocessor.py @@ -1,3 +1,8 @@ +# Copyright (c) 2021, Idiap Research Institute. All rights reserved. +# +# This work is made available under a custom license, Non-Commercial Research and Educational Use Only +# To view a copy of this license, visit +# https://gitlab.idiap.ch/bob/bob.paper.ijcb2021_synthetic_dataset/-/blob/master/LICENSE.txt import dlib import PIL.Image import bob.io.image @@ -49,7 +54,16 @@ class FFHQCropper(object): This code was entirely borrowed from https://github.com/NVlabs/ffhq-dataset/blob/master/download_ffhq.py (recreate_aligned_images() function), - with a few adaptations. + with a few adaptations. + + License disclaimer: + # Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. + # + # This work is licensed under the Creative Commons + # Attribution-NonCommercial-ShareAlike 4.0 International License. + # To view a copy of this license, visit + # http://creativecommons.org/licenses/by-nc-sa/4.0/ or send a letter to + # Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. """ lm = np.array(lm) diff --git a/bob/paper/ijcb2021_synthetic_dataset/utils/__init__.py b/bob/paper/ijcb2021_synthetic_dataset/utils/__init__.py index 5088ea49d2b4ccd58bf4470741a2d22be7113f7e..bc83dce6d99c12774c73f0f426c2f7114fd38932 100644 --- a/bob/paper/ijcb2021_synthetic_dataset/utils/__init__.py +++ b/bob/paper/ijcb2021_synthetic_dataset/utils/__init__.py @@ -1,3 +1,9 @@ + +# Copyright (c) 2021, Idiap Research Institute. All rights reserved. +# +# This work is made available under a custom license, Non-Commercial Research and Educational Use Only +# To view a copy of this license, visit +# https://gitlab.idiap.ch/bob/bob.paper.ijcb2021_synthetic_dataset/-/blob/master/LICENSE.txt from pkgutil import extend_path __path__ = extend_path(__path__, __name__) import numpy as np diff --git a/bob/paper/ijcb2021_synthetic_dataset/utils/download.py b/bob/paper/ijcb2021_synthetic_dataset/utils/download.py index 6be803563954029372addc932a8878e9857fe17c..2462c968033a63b69c5223f184994f70d2006684 100644 --- a/bob/paper/ijcb2021_synthetic_dataset/utils/download.py +++ b/bob/paper/ijcb2021_synthetic_dataset/utils/download.py @@ -1,3 +1,9 @@ + +# Copyright (c) 2021, Idiap Research Institute. All rights reserved. +# +# This work is made available under a custom license, Non-Commercial Research and Educational Use Only +# To view a copy of this license, visit +# https://gitlab.idiap.ch/bob/bob.paper.ijcb2021_synthetic_dataset/-/blob/master/LICENSE.txt import os import urllib.request import bz2 diff --git a/bob/paper/ijcb2021_synthetic_dataset/utils/plotting.py b/bob/paper/ijcb2021_synthetic_dataset/utils/plotting.py index efffdcaa2436ddfc926c70cbb62567c1eff92467..43adb3bb4ece02a64a0b579b30932cc8bc90813b 100644 --- a/bob/paper/ijcb2021_synthetic_dataset/utils/plotting.py +++ b/bob/paper/ijcb2021_synthetic_dataset/utils/plotting.py @@ -1,3 +1,8 @@ +# Copyright (c) 2021, Idiap Research Institute. All rights reserved. +# +# This work is made available under a custom license, Non-Commercial Research and Educational Use Only +# To view a copy of this license, visit +# https://gitlab.idiap.ch/bob/bob.paper.ijcb2021_synthetic_dataset/-/blob/master/LICENSE.txt import matplotlib.pyplot as plt import bob.io.image import numpy as np