Unverified Commit 6e9ce183 authored by Zaida Zhou's avatar Zaida Zhou Committed by GitHub
Browse files

Add copyright pre-commit-hook (#1742)

* first commit

* Add copyright pre-commit-hook
parent 0a8e67f7
# Copyright (c) OpenMMLab. All rights reserved.
import pytest import pytest
import torch import torch
......
# Copyright (c) OpenMMLab. All rights reserved.
import numpy as np import numpy as np
import pytest import pytest
import torch import torch
......
# Copyright (c) OpenMMLab. All rights reserved.
from unittest.mock import MagicMock, patch from unittest.mock import MagicMock, patch
import pytest import pytest
......
# Copyright (c) OpenMMLab. All rights reserved.
import tempfile import tempfile
import pytest import pytest
......
# Copyright (c) OpenMMLab. All rights reserved.
import sys import sys
from collections import OrderedDict from collections import OrderedDict
from tempfile import TemporaryDirectory from tempfile import TemporaryDirectory
......
# Copyright (c) OpenMMLab. All rights reserved.
import os import os
from unittest.mock import patch from unittest.mock import patch
......
# Copyright (c) OpenMMLab. All rights reserved.
import json import json
import os.path as osp import os.path as osp
import sys import sys
......
# Copyright (c) OpenMMLab. All rights reserved.
import numpy as np import numpy as np
import pytest import pytest
import torch import torch
......
# Copyright (c) OpenMMLab. All rights reserved.
"""Tests the hooks with runners. """Tests the hooks with runners.
CommandLine: CommandLine:
......
# Copyright (c) OpenMMLab. All rights reserved.
import sys import sys
import warnings import warnings
from unittest.mock import MagicMock from unittest.mock import MagicMock
......
# Copyright (c) OpenMMLab. All rights reserved.
import os import os
import random import random
......
# Copyright (c) OpenMMLab. All rights reserved.
import sys import sys
import pytest import pytest
......
# Copyright (c) OpenMMLab. All rights reserved.
import pytest import pytest
from torch.utils import model_zoo from torch.utils import model_zoo
......
# Copyright (c) OpenMMLab. All rights reserved.
import logging import logging
import os import os
import platform import platform
......
# Copyright (c) OpenMMLab. All rights reserved.
import pytest import pytest
import torch import torch
......
# Copyright (c) OpenMMLab. All rights reserved.
import pytest import pytest
import mmcv import mmcv
......
# Copyright (c) OpenMMLab. All rights reserved.
import numpy as np import numpy as np
import pytest import pytest
......
# Copyright (c) OpenMMLab. All rights reserved.
import pytest import pytest
import torch import torch
......
# Copyright (c) OpenMMLab. All rights reserved.
from unittest.mock import patch from unittest.mock import patch
import pytest import pytest
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment