diff --git a/core/engine/cluster/cloud/cluster.sh b/core/engine/cluster/cloud/cluster.sh index 1140d791221b93065b726411acbf3477834467dc..1a0605fd9aeefbf87542e5e5156470eb1d81b836 100644 --- a/core/engine/cluster/cloud/cluster.sh +++ b/core/engine/cluster/cloud/cluster.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. +# +# 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. + ################################################### # Usage: submit.sh diff --git a/core/engine/cluster/cluster.py b/core/engine/cluster/cluster.py index 0f45b1b0bb97e810745d78ba3af218a2e36adcfb..3ce6bf66cd64a387aca4f81437f48ded37970098 100644 --- a/core/engine/cluster/cluster.py +++ b/core/engine/cluster/cluster.py @@ -16,7 +16,6 @@ from __future__ import print_function from __future__ import unicode_literals import subprocess -import sys import os import copy diff --git a/core/model.py b/core/model.py index c51ba2417da7d6d7530f29c2b0bc9f5090d810ea..fbafc69560e0768fd7a5f73b684d9bd6cbfbc4f9 100755 --- a/core/model.py +++ b/core/model.py @@ -15,7 +15,6 @@ import abc import paddle.fluid as fluid - from paddlerec.core.utils import envs diff --git a/core/trainers/cluster_trainer.py b/core/trainers/cluster_trainer.py index fa4238bf3e4e188df124c298e15211454f2c2ade..327dffe0cdbbf8db22be1e5a9b59d4e770563b37 100755 --- a/core/trainers/cluster_trainer.py +++ b/core/trainers/cluster_trainer.py @@ -25,7 +25,6 @@ import paddle.fluid as fluid from paddle.fluid.incubate.fleet.parameter_server.distribute_transpiler import fleet from paddle.fluid.incubate.fleet.parameter_server.distribute_transpiler.distributed_strategy import StrategyFactory from paddle.fluid.incubate.fleet.base.role_maker import PaddleCloudRoleMaker -from paddle.fluid.incubate.fleet.base.role_maker import MPISymetricRoleMaker from paddlerec.core.utils import envs from paddlerec.core.trainers.transpiler_trainer import TranspileTrainer diff --git a/core/trainers/tdm_cluster_trainer.py b/core/trainers/tdm_cluster_trainer.py index f4edc62a20d5f20eaac5d9f441d7a84522cba1f5..60e87bfdad5b8a68151f9e8ec489be0c91bee1e6 100755 --- a/core/trainers/tdm_cluster_trainer.py +++ b/core/trainers/tdm_cluster_trainer.py @@ -21,8 +21,6 @@ import logging import numpy as np import paddle.fluid as fluid from paddle.fluid.incubate.fleet.parameter_server.distribute_transpiler import fleet -from paddle.fluid.incubate.fleet.parameter_server.distribute_transpiler.distributed_strategy import StrategyFactory -from paddle.fluid.incubate.fleet.base.role_maker import PaddleCloudRoleMaker from paddlerec.core.utils import envs from paddlerec.core.trainers.cluster_trainer import ClusterTrainer diff --git a/core/trainers/tdm_single_trainer.py b/core/trainers/tdm_single_trainer.py index dce3c8d543a11ea54d6d636a0b770b1641fed967..8890ffd70372a4b7f09de84ad1e3f25c3c6ad866 100755 --- a/core/trainers/tdm_single_trainer.py +++ b/core/trainers/tdm_single_trainer.py @@ -20,7 +20,6 @@ from __future__ import print_function import logging import paddle.fluid as fluid -from paddlerec.core.trainers.transpiler_trainer import TranspileTrainer from paddlerec.core.trainers.single_trainer import SingleTrainer from paddlerec.core.utils import envs import numpy as np diff --git a/core/utils/dataloader_instance.py b/core/utils/dataloader_instance.py index 88b4a9f63662861f41ab2971f4fe751bf5c65ce3..6234882f4d49191d3b55770078863910a356e9cd 100755 --- a/core/utils/dataloader_instance.py +++ b/core/utils/dataloader_instance.py @@ -14,7 +14,6 @@ from __future__ import print_function import os -import sys from paddlerec.core.utils.envs import lazy_instance_by_fliename from paddlerec.core.utils.envs import get_global_env diff --git a/core/utils/table.py b/core/utils/table.py index 7c86d0f03edb47a7835ab7364ebe318985d091e2..08b7e5a06c3ad0177ddabeb299c90e65ed76ff24 100755 --- a/core/utils/table.py +++ b/core/utils/table.py @@ -12,9 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -import copy -import yaml - class TableMeta(object): """ diff --git a/models/contentunderstanding/classification/model.py b/models/contentunderstanding/classification/model.py index e4630820c868af8334fc8edfd2b6c1f4d9e77503..46869b44a5ae2671f31d75b6ac798ce5f4388fdc 100644 --- a/models/contentunderstanding/classification/model.py +++ b/models/contentunderstanding/classification/model.py @@ -12,16 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -import paddle.fluid as fluid -import math -from paddlerec.core.utils import envs from paddlerec.core.model import Model as ModelBase import paddle.fluid as fluid -import paddle.fluid.layers.nn as nn -import paddle.fluid.layers.tensor as tensor -import paddle.fluid.layers.control_flow as cf + class Model(ModelBase): def __init__(self, config): diff --git a/models/contentunderstanding/classification/reader.py b/models/contentunderstanding/classification/reader.py index f90097d702df461d226443c32570e46ea3a0b093..8c3f54863197df5b4b721ed9e4c80855990bbdfc 100644 --- a/models/contentunderstanding/classification/reader.py +++ b/models/contentunderstanding/classification/reader.py @@ -12,20 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -import re + import sys -import collections -import os -import six -import time -import numpy as np -import paddle.fluid as fluid -import paddle -import csv -import io + from paddlerec.core.reader import Reader -from paddlerec.core.utils import envs class TrainReader(Reader): def init(self): diff --git a/models/contentunderstanding/tagspace/model.py b/models/contentunderstanding/tagspace/model.py index 8b73da91513e34780d2c0f242ac58a5adb970c9a..7ed1fcf370fc82a9f36798d2700bdb072b1e9309 100644 --- a/models/contentunderstanding/tagspace/model.py +++ b/models/contentunderstanding/tagspace/model.py @@ -12,10 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -import paddle.fluid as fluid -import math - -from paddlerec.core.utils import envs from paddlerec.core.model import Model as ModelBase import paddle.fluid as fluid diff --git a/models/contentunderstanding/tagspace/reader.py b/models/contentunderstanding/tagspace/reader.py index fb973f7eb92eb9d1195a8c9e9aeaa3be52b2dc17..8c912a68b852cc183414406aa7d1786955d2741b 100644 --- a/models/contentunderstanding/tagspace/reader.py +++ b/models/contentunderstanding/tagspace/reader.py @@ -12,17 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -import re + import sys -import collections -import os -import six -import time import numpy as np -import paddle.fluid as fluid -import paddle -import csv -import io from paddlerec.core.reader import Reader from paddlerec.core.utils import envs diff --git a/models/match/dssm/model.py b/models/match/dssm/model.py index ef77a8f01ebb2e0cf13551001ecb8f071f1ace2f..e194462833f99e2f3702bc7994ff2376f1f57983 100755 --- a/models/match/dssm/model.py +++ b/models/match/dssm/model.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -import math import paddle.fluid as fluid from paddlerec.core.utils import envs diff --git a/models/match/dssm/synthetic_evaluate_reader.py b/models/match/dssm/synthetic_evaluate_reader.py index 1be5b13d48e17dfca1a0c11736074e80aadcbdc7..97f50abf9720060b008b90c7729e93d13701bb3b 100755 --- a/models/match/dssm/synthetic_evaluate_reader.py +++ b/models/match/dssm/synthetic_evaluate_reader.py @@ -14,7 +14,6 @@ from __future__ import print_function from paddlerec.core.reader import Reader -from paddlerec.core.utils import envs class EvaluateReader(Reader): diff --git a/models/match/dssm/synthetic_reader.py b/models/match/dssm/synthetic_reader.py index c4cfaf6dab61b4122a86e946dc004847c70465fb..cc829374435ea560d2d23bfab2386ca29c957c2d 100755 --- a/models/match/dssm/synthetic_reader.py +++ b/models/match/dssm/synthetic_reader.py @@ -14,7 +14,6 @@ from __future__ import print_function from paddlerec.core.reader import Reader -from paddlerec.core.utils import envs class TrainReader(Reader): diff --git a/models/match/multiview-simnet/data_process.sh b/models/match/multiview-simnet/data_process.sh index 15c6c908477cd3ba6a72a65bad039bb10295bd9c..91548c5863063f7a23cb2f713a3754b121b235b5 100755 --- a/models/match/multiview-simnet/data_process.sh +++ b/models/match/multiview-simnet/data_process.sh @@ -1,5 +1,20 @@ #! /bin/bash +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. +# +# 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. + + set -e echo "begin to prepare data" diff --git a/models/match/multiview-simnet/evaluate_reader.py b/models/match/multiview-simnet/evaluate_reader.py index b6aa5799c35845dfeea1c1fadca6e2a2e3164a2a..b68bae05c5e2edb5827266c60c949d50b6968a23 100755 --- a/models/match/multiview-simnet/evaluate_reader.py +++ b/models/match/multiview-simnet/evaluate_reader.py @@ -11,10 +11,7 @@ # 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. -import numpy as np -import io -import copy -import random + from paddlerec.core.reader import Reader from paddlerec.core.utils import envs diff --git a/models/match/multiview-simnet/model.py b/models/match/multiview-simnet/model.py index aa8d8db676155a3839496aa8096acc35cb784e90..cee41bad1f29c1065d824e349ff2ce16b0328917 100755 --- a/models/match/multiview-simnet/model.py +++ b/models/match/multiview-simnet/model.py @@ -12,10 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -import numpy as np -import math import paddle.fluid as fluid -import paddle.fluid.layers as layers import paddle.fluid.layers.tensor as tensor import paddle.fluid.layers.control_flow as cf diff --git a/models/match/multiview-simnet/reader.py b/models/match/multiview-simnet/reader.py index ea41fa88e14b6202f007e9a07122af0eadadd1f6..0ccec6606d119bc86640522560d377e1cb9ef1f8 100755 --- a/models/match/multiview-simnet/reader.py +++ b/models/match/multiview-simnet/reader.py @@ -11,10 +11,7 @@ # 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. -import numpy as np -import io -import copy -import random + from paddlerec.core.reader import Reader from paddlerec.core.utils import envs diff --git a/models/multitask/share-bottom/census_infer_reader.py b/models/multitask/share-bottom/census_infer_reader.py index c25ccea8c4416bbfe64d3cdda59f5ee13b0cfac1..d4071a1bcdd6232a40fc006523b7bea7c5735de0 100644 --- a/models/multitask/share-bottom/census_infer_reader.py +++ b/models/multitask/share-bottom/census_infer_reader.py @@ -14,8 +14,6 @@ from __future__ import print_function from paddlerec.core.reader import Reader -from paddlerec.core.utils import envs -import numpy as np class EvaluateReader(Reader): diff --git a/models/multitask/share-bottom/census_reader.py b/models/multitask/share-bottom/census_reader.py index 30997c632302c2a6e963099c9e2679978c9d9b61..abe6ba9a88c1cb0d7216c2facf8c2f4cf379577b 100644 --- a/models/multitask/share-bottom/census_reader.py +++ b/models/multitask/share-bottom/census_reader.py @@ -11,11 +11,10 @@ # 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. + from __future__ import print_function from paddlerec.core.reader import Reader -from paddlerec.core.utils import envs -import numpy as np class TrainReader(Reader): diff --git a/models/multitask/share-bottom/model.py b/models/multitask/share-bottom/model.py index a91729953421704986725ccd3540fa2fc29e27e4..b66438281073a7aba7015bf8272e871714e96700 100644 --- a/models/multitask/share-bottom/model.py +++ b/models/multitask/share-bottom/model.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -import math import paddle.fluid as fluid from paddlerec.core.utils import envs diff --git a/models/rank/dcn/criteo_reader.py b/models/rank/dcn/criteo_reader.py index a526d0fcbf2ce303dcc537b1ed8a6b0f50b73506..5c180ee21f55cc651aba52323cf876b3d67b2c77 100755 --- a/models/rank/dcn/criteo_reader.py +++ b/models/rank/dcn/criteo_reader.py @@ -13,7 +13,6 @@ # limitations under the License. from __future__ import print_function import math -import sys from paddlerec.core.reader import Reader from paddlerec.core.utils import envs @@ -21,7 +20,6 @@ try: import cPickle as pickle except ImportError: import pickle -from collections import Counter import os class TrainReader(Reader): diff --git a/models/rank/dcn/model.py b/models/rank/dcn/model.py index 7fbb3c6a2a2120159e9a0557a6583731d1d549eb..d9292492e24aee257f271f7bee9e0abaee69806a 100755 --- a/models/rank/dcn/model.py +++ b/models/rank/dcn/model.py @@ -13,7 +13,6 @@ # limitations under the License. import paddle.fluid as fluid -import math from paddlerec.core.utils import envs from paddlerec.core.model import Model as ModelBase diff --git a/models/rank/din/model.py b/models/rank/din/model.py index e218bb7f5b20b549fab42e74e75ecadbae8499c3..2abc658b6d5cb58aaff222e1121d2c4282bcd65f 100755 --- a/models/rank/din/model.py +++ b/models/rank/din/model.py @@ -13,7 +13,6 @@ # limitations under the License. import paddle.fluid as fluid -import math from paddlerec.core.utils import envs from paddlerec.core.model import Model as ModelBase diff --git a/models/rank/wide_deep/reader.py b/models/rank/wide_deep/reader.py index 945dd4a5084ea0eb0ef4b9cd21d640d95f29c5e1..f2a1058f018c31dfc45700fdc60be2150ffcfa01 100755 --- a/models/rank/wide_deep/reader.py +++ b/models/rank/wide_deep/reader.py @@ -14,7 +14,6 @@ from __future__ import print_function from paddlerec.core.reader import Reader -from paddlerec.core.utils import envs try: import cPickle as pickle except ImportError: diff --git a/models/rank/xdeepfm/criteo_reader.py b/models/rank/xdeepfm/criteo_reader.py index ee2dac5da5739cfbf0b832ba5d09ecd9d878b442..237d7d6d72eb422ead7727b5438050101623f91a 100755 --- a/models/rank/xdeepfm/criteo_reader.py +++ b/models/rank/xdeepfm/criteo_reader.py @@ -14,7 +14,6 @@ from __future__ import print_function from paddlerec.core.reader import Reader -from paddlerec.core.utils import envs try: import cPickle as pickle except ImportError: diff --git a/models/rank/xdeepfm/model.py b/models/rank/xdeepfm/model.py index d92ce81e3ec755b5d5200210ca4009bbf52a65eb..14b57ffb3e4ba2abbde313e8a86534e9e1e3846e 100755 --- a/models/rank/xdeepfm/model.py +++ b/models/rank/xdeepfm/model.py @@ -13,7 +13,6 @@ # limitations under the License. import paddle.fluid as fluid -import math from paddlerec.core.utils import envs from paddlerec.core.model import Model as ModelBase diff --git a/models/recall/gnn/data_process.sh b/models/recall/gnn/data_process.sh index 9aa009f03cf2595ea0cb54e691800486f26a21bf..38877b6906ecd65ef190aae5f1dcf5a74cece6d0 100755 --- a/models/recall/gnn/data_process.sh +++ b/models/recall/gnn/data_process.sh @@ -1,5 +1,19 @@ #! /bin/bash +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. +# +# 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. + set -e echo "begin to download data" diff --git a/models/recall/gnn/evaluate_reader.py b/models/recall/gnn/evaluate_reader.py index 3f6287767dbaad7dc9a2539347ad73b16a9f87de..4ced177e3fdb336b7f643b5a0d8f63b7e0aa5d0e 100755 --- a/models/recall/gnn/evaluate_reader.py +++ b/models/recall/gnn/evaluate_reader.py @@ -11,8 +11,8 @@ # 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. + import numpy as np -import io import copy import random from paddlerec.core.reader import Reader diff --git a/models/recall/gnn/reader.py b/models/recall/gnn/reader.py index a2b5eac10015c35fe124a17ba9aca8a52543f8a8..d9aab524e10f62601adea8472fe1ebd0915b7770 100755 --- a/models/recall/gnn/reader.py +++ b/models/recall/gnn/reader.py @@ -11,8 +11,8 @@ # 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. + import numpy as np -import io import copy import random from paddlerec.core.reader import Reader diff --git a/models/recall/gru4rec/hdfs.log b/models/recall/gru4rec/hdfs.log deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/models/recall/gru4rec/model.py b/models/recall/gru4rec/model.py index d77f3c254f4f20b12854dbf05af35c64613c4b84..32435416491209e5e5b909ccf5df5fb06c559738 100644 --- a/models/recall/gru4rec/model.py +++ b/models/recall/gru4rec/model.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -import math import paddle.fluid as fluid from paddlerec.core.utils import envs diff --git a/models/recall/gru4rec/rsc15_infer_reader.py b/models/recall/gru4rec/rsc15_infer_reader.py index 829726e3d8861292266c25dfba4298a1ee2f502a..4bde64cbf0bdb93a2863b9717c9509d993eb726a 100644 --- a/models/recall/gru4rec/rsc15_infer_reader.py +++ b/models/recall/gru4rec/rsc15_infer_reader.py @@ -14,7 +14,6 @@ from __future__ import print_function from paddlerec.core.reader import Reader -from paddlerec.core.utils import envs class EvaluateReader(Reader): diff --git a/models/recall/gru4rec/rsc15_reader.py b/models/recall/gru4rec/rsc15_reader.py index eeb2441dd697bce4b3d3dc51bc64f1e2bfc0d2ab..0abd6f41db693c3297d2ef89408e646f37ea9c70 100644 --- a/models/recall/gru4rec/rsc15_reader.py +++ b/models/recall/gru4rec/rsc15_reader.py @@ -14,7 +14,6 @@ from __future__ import print_function from paddlerec.core.reader import Reader -from paddlerec.core.utils import envs class TrainReader(Reader): diff --git a/models/recall/ssr/model.py b/models/recall/ssr/model.py index 3f93c8a12d6432634d1a4bf5d5835cef91cd70b7..e11e0cf1978713e00533da723c71a72d37abe734 100644 --- a/models/recall/ssr/model.py +++ b/models/recall/ssr/model.py @@ -12,13 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -import math import paddle.fluid as fluid from paddlerec.core.utils import envs from paddlerec.core.model import Model as ModelBase import paddle.fluid.layers.tensor as tensor -import paddle.fluid.layers.io as io import paddle.fluid.layers.control_flow as cf diff --git a/models/recall/ssr/ssr_infer_reader.py b/models/recall/ssr/ssr_infer_reader.py index b9e5f7263162551a7ae8cecdf86dc9b5423b53b0..5a40280b101d8f7064b98346e1ec6c30ad1e2845 100644 --- a/models/recall/ssr/ssr_infer_reader.py +++ b/models/recall/ssr/ssr_infer_reader.py @@ -15,7 +15,6 @@ from __future__ import print_function from paddlerec.core.reader import Reader from paddlerec.core.utils import envs -import random import numpy as np diff --git a/models/recall/ssr/ssr_reader.py b/models/recall/ssr/ssr_reader.py index e2a352650cb6d5bb09fda78d27c3925f5ce670a5..ba00457560b006ae30b619a769ca99bd26dfcc7a 100644 --- a/models/recall/ssr/ssr_reader.py +++ b/models/recall/ssr/ssr_reader.py @@ -14,7 +14,6 @@ from __future__ import print_function from paddlerec.core.reader import Reader -from paddlerec.core.utils import envs import random diff --git a/models/recall/word2vec/prepare_data.sh b/models/recall/word2vec/prepare_data.sh index 743ae99871ba1cc2d7309cda11117446613eb0e5..8b78eeedd94f088e206e35729a6b35d349b99039 100755 --- a/models/recall/word2vec/prepare_data.sh +++ b/models/recall/word2vec/prepare_data.sh @@ -1,5 +1,20 @@ #! /bin/bash +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. +# +# 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. + + # download train_data mkdir raw_data wget --no-check-certificate https://paddlerec.bj.bcebos.com/word2vec/1-billion-word-language-modeling-benchmark-r13output.tar diff --git a/models/recall/word2vec/w2v_evaluate_reader.py b/models/recall/word2vec/w2v_evaluate_reader.py index 7ab498869e9826ff82ead4be20f5a3abdc96c7bd..96d483dbf90f041fda2821b998d9f711d66cc2f8 100755 --- a/models/recall/word2vec/w2v_evaluate_reader.py +++ b/models/recall/word2vec/w2v_evaluate_reader.py @@ -11,7 +11,6 @@ # 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. -import numpy as np import io import six from paddlerec.core.reader import Reader diff --git a/setup.py b/setup.py index f3e97f97b1b51c6344275a4aa96583fd79004efe..ab0c2792a25ad0df70857d22f4610479beb97bb5 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,17 @@ +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. +# +# 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. + """ setup for paddle-rec. """