diff --git a/ppgan/faceutils/dlibutils/dlib_utils.py b/ppgan/faceutils/dlibutils/dlib_utils.py index 665276da0a5d0acfa18c8de852c20b138b3d0eec..3cfff09ca5df971b8e7c604a7bb3b8d62fc6ea0d 100644 --- a/ppgan/faceutils/dlibutils/dlib_utils.py +++ b/ppgan/faceutils/dlibutils/dlib_utils.py @@ -1,16 +1,6 @@ -# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# code was heavily based on https://github.com/wtjiang98/PSGAN +# MIT License +# Copyright (c) 2020 Wentao Jiang import os import os.path as osp diff --git a/ppgan/faceutils/mask/face_parser.py b/ppgan/faceutils/mask/face_parser.py index 38dd9a4d894d0daf8b68e339abde734533b9201c..c01701979914f0643bbc7f898f66002d929e9095 100644 --- a/ppgan/faceutils/mask/face_parser.py +++ b/ppgan/faceutils/mask/face_parser.py @@ -1,16 +1,7 @@ -# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# code was heavily based on https://github.com/wtjiang98/PSGAN +# MIT License +# Copyright (c) 2020 Wentao Jiang + import os.path as osp diff --git a/ppgan/faceutils/mask/model.py b/ppgan/faceutils/mask/model.py index a61f7979b1a7758b622abda4f49c4eca24cdd8cf..9bb6294047e5b005918aa0dba2871680fbf9bf44 100644 --- a/ppgan/faceutils/mask/model.py +++ b/ppgan/faceutils/mask/model.py @@ -1,16 +1,7 @@ -# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# code was heavily based on https://github.com/wtjiang98/PSGAN +# MIT License +# Copyright (c) 2020 Wentao Jiang + import paddle import paddle.nn as nn diff --git a/ppgan/models/discriminators/nlayers.py b/ppgan/models/discriminators/nlayers.py index 938b1f43ee297333e9b485f434ee242d6ba4ec05..2d8f4d46c9b1e8e5cf802e8606a1e3f8d8031c68 100644 --- a/ppgan/models/discriminators/nlayers.py +++ b/ppgan/models/discriminators/nlayers.py @@ -12,6 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the License. +# code was heavily based on https://github.com/wtjiang98/PSGAN +# MIT License +# Copyright (c) 2020 Wentao Jiang + import paddle import functools import numpy as np diff --git a/ppgan/models/generators/makeup.py b/ppgan/models/generators/makeup.py index 5f80ae4f4106f6f0bb07af840757d2b02ca3685d..4ac8178fb982a18d932e30a2b767733ffaa67f05 100644 --- a/ppgan/models/generators/makeup.py +++ b/ppgan/models/generators/makeup.py @@ -12,6 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the License. +# code was heavily based on https://github.com/wtjiang98/PSGAN +# MIT License +# Copyright (c) 2020 Wentao Jiang + import paddle import paddle.nn as nn import paddle.nn.functional as F diff --git a/ppgan/models/makeup_model.py b/ppgan/models/makeup_model.py index c7cb9873a3f698daaf780041952fc778cd7778c3..63868cb8b6d0b03095247a384ca325b3d93de5ba 100644 --- a/ppgan/models/makeup_model.py +++ b/ppgan/models/makeup_model.py @@ -11,6 +11,11 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + +# code was heavily based on https://github.com/wtjiang98/PSGAN +# MIT License +# Copyright (c) 2020 Wentao Jiang + import os import numpy as np diff --git a/ppgan/utils/preprocess.py b/ppgan/utils/preprocess.py index 10613c79211ca8c9ce3ddd7077a7a6687a73e85f..28fc34d870e4c63ab5a7c5738e1d8cf6e24fbce4 100644 --- a/ppgan/utils/preprocess.py +++ b/ppgan/utils/preprocess.py @@ -1,16 +1,6 @@ -# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# code was heavily based on https://github.com/wtjiang98/PSGAN +# MIT License +# Copyright (c) 2020 Wentao Jiang import cv2 import numpy as np