diff --git a/.dev_scripts/benchmark_regression.py b/.dev_scripts/benchmark/benchmark_regression.py similarity index 98% rename from .dev_scripts/benchmark_regression.py rename to .dev_scripts/benchmark/benchmark_regression.py index f8604442b7..c21856f9b4 100644 --- a/.dev_scripts/benchmark_regression.py +++ b/.dev_scripts/benchmark/benchmark_regression.py @@ -1,3 +1,4 @@ +# Copyright (c) OpenMMLab. All rights reserved. import argparse import math import os @@ -31,7 +32,7 @@ def parse_args(): parser.add_argument( '--config', help='test config file path', - default='./.dev_scripts/benchmark_regression_cfg_tmpl.yaml') + default='./.dev_scripts/benchmark/benchmark_regression_cfg.yaml') parser.add_argument( '--priority', nargs=2, diff --git a/.dev_scripts/benchmark_regression_cfg_tmpl.yaml b/.dev_scripts/benchmark/benchmark_regression_cfg_tmpl.yaml similarity index 100% rename from .dev_scripts/benchmark_regression_cfg_tmpl.yaml rename to .dev_scripts/benchmark/benchmark_regression_cfg_tmpl.yaml diff --git a/mmpose/datasets/datasets/top_down/topdown_mhp_dataset.py b/mmpose/datasets/datasets/top_down/topdown_mhp_dataset.py index 8f29f15b01..cd6d5ada16 100644 --- a/mmpose/datasets/datasets/top_down/topdown_mhp_dataset.py +++ b/mmpose/datasets/datasets/top_down/topdown_mhp_dataset.py @@ -1,3 +1,4 @@ +# Copyright (c) OpenMMLab. All rights reserved. import warnings import numpy as np diff --git a/tests/__init__.py b/tests/__init__.py index e69de29bb2..ef101fec61 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -0,0 +1 @@ +# Copyright (c) OpenMMLab. All rights reserved. diff --git a/tests/test_apis/test_inference_3d.py b/tests/test_apis/test_inference_3d.py index f4ce839675..02928f91c9 100644 --- a/tests/test_apis/test_inference_3d.py +++ b/tests/test_apis/test_inference_3d.py @@ -1,3 +1,4 @@ +# Copyright (c) OpenMMLab. All rights reserved. import os.path as osp import tempfile diff --git a/tests/test_datasets/test_mesh_dataset.py b/tests/test_datasets/test_mesh_dataset.py index 9eb8a90034..59938a0658 100644 --- a/tests/test_datasets/test_mesh_dataset.py +++ b/tests/test_datasets/test_mesh_dataset.py @@ -1,3 +1,4 @@ +# Copyright (c) OpenMMLab. All rights reserved. import tempfile from mmpose.datasets import DATASETS diff --git a/tests/test_external/test_smpl.py b/tests/test_external/test_smpl.py index 3cd4a55c75..cd054768e8 100644 --- a/tests/test_external/test_smpl.py +++ b/tests/test_external/test_smpl.py @@ -1,3 +1,4 @@ +# Copyright (c) OpenMMLab. All rights reserved. import os.path as osp import tempfile diff --git a/tests/test_models/test_mesh_forward.py b/tests/test_models/test_mesh_forward.py index ac03eb3497..a6538f55dc 100644 --- a/tests/test_models/test_mesh_forward.py +++ b/tests/test_models/test_mesh_forward.py @@ -1,3 +1,4 @@ +# Copyright (c) OpenMMLab. All rights reserved. import os.path as osp import tempfile diff --git a/tests/utils/mesh_utils.py b/tests/utils/mesh_utils.py index 2760ba26d9..a03b5ab28a 100644 --- a/tests/utils/mesh_utils.py +++ b/tests/utils/mesh_utils.py @@ -1,3 +1,4 @@ +# Copyright (c) OpenMMLab. All rights reserved. import os import pickle