diff --git a/ppdet/data/tests/run_all_tests.py b/ppdet/data/tests/run_all_tests.py index 220b9f4fbe2022b2deef7944caf9026260d8084d..a1882d5dd38a4da14335244e7603af47568b7bbf 100644 --- a/ppdet/data/tests/run_all_tests.py +++ b/ppdet/data/tests/run_all_tests.py @@ -1,3 +1,16 @@ +# Copyright (c) 2019 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. #!/usr/bin/python #-*-coding:utf-8-*- """Run all tests diff --git a/ppdet/data/tests/set_env.py b/ppdet/data/tests/set_env.py index 0f97e0164d28c0628b5915e176cc0d35e5952f11..bc46ac0f10e3b1690cf59bd6803eedd0bee6d9d4 100644 --- a/ppdet/data/tests/set_env.py +++ b/ppdet/data/tests/set_env.py @@ -1,3 +1,16 @@ +# Copyright (c) 2019 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. import sys import os import six diff --git a/ppdet/data/tests/test_iterator_source.py b/ppdet/data/tests/test_iterator_source.py index 1d8604177b8fee8374c572a5afe2e779769a5097..c32a734fb258dce2205d24f1dc60479fadaf57a6 100644 --- a/ppdet/data/tests/test_iterator_source.py +++ b/ppdet/data/tests/test_iterator_source.py @@ -1,3 +1,16 @@ +# Copyright (c) 2019 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. import os import time import unittest diff --git a/ppdet/data/tests/test_operator.py b/ppdet/data/tests/test_operator.py index 05544bd226beae7af6eb165d40b5b1089a96b1f9..85d5b229d48fab968f38639d5f7533e5646f25c3 100644 --- a/ppdet/data/tests/test_operator.py +++ b/ppdet/data/tests/test_operator.py @@ -1,3 +1,16 @@ +# Copyright (c) 2019 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. import os import unittest import logging diff --git a/ppdet/data/tests/test_reader.py b/ppdet/data/tests/test_reader.py index 48fbc9d2cc49d3d222daeb3609cf840ade045645..e94484dff077d9b12a82f7337cd9cb165e8bd23f 100644 --- a/ppdet/data/tests/test_reader.py +++ b/ppdet/data/tests/test_reader.py @@ -1,3 +1,16 @@ +# Copyright (c) 2019 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. import os import time import unittest diff --git a/ppdet/data/tests/test_roidb_source.py b/ppdet/data/tests/test_roidb_source.py index ad197ce2a93bddaf5ae1686f5e4bc89facf3d7f2..105cc9cd7d9d971bf2a3f69cccf251ce2943275a 100644 --- a/ppdet/data/tests/test_roidb_source.py +++ b/ppdet/data/tests/test_roidb_source.py @@ -1,3 +1,16 @@ +# Copyright (c) 2019 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. import os import time import unittest diff --git a/ppdet/data/tests/test_transformer.py b/ppdet/data/tests/test_transformer.py index 47c177e44469e131db2b8fb153386c00b93e6ced..9123669293e6d0f432d1e90aa32e933d7fb6851c 100644 --- a/ppdet/data/tests/test_transformer.py +++ b/ppdet/data/tests/test_transformer.py @@ -1,3 +1,16 @@ +# Copyright (c) 2019 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. import os import time import unittest