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 torch
......
# Copyright (c) OpenMMLab. All rights reserved.
import numpy as np
import pytest
import torch
......
# Copyright (c) OpenMMLab. All rights reserved.
from unittest.mock import MagicMock, patch
import pytest
......
# Copyright (c) OpenMMLab. All rights reserved.
import tempfile
import pytest
......
# Copyright (c) OpenMMLab. All rights reserved.
import sys
from collections import OrderedDict
from tempfile import TemporaryDirectory
......
# Copyright (c) OpenMMLab. All rights reserved.
import os
from unittest.mock import patch
......
# Copyright (c) OpenMMLab. All rights reserved.
import json
import os.path as osp
import sys
......
# Copyright (c) OpenMMLab. All rights reserved.
import numpy as np
import pytest
import torch
......
# Copyright (c) OpenMMLab. All rights reserved.
"""Tests the hooks with runners.
CommandLine:
......
# Copyright (c) OpenMMLab. All rights reserved.
import sys
import warnings
from unittest.mock import MagicMock
......
# Copyright (c) OpenMMLab. All rights reserved.
import os
import random
......
# Copyright (c) OpenMMLab. All rights reserved.
import sys
import pytest
......
# Copyright (c) OpenMMLab. All rights reserved.
import pytest
from torch.utils import model_zoo
......
# Copyright (c) OpenMMLab. All rights reserved.
import logging
import os
import platform
......
# Copyright (c) OpenMMLab. All rights reserved.
import pytest
import torch
......
# Copyright (c) OpenMMLab. All rights reserved.
import pytest
import mmcv
......
# Copyright (c) OpenMMLab. All rights reserved.
import numpy as np
import pytest
......
# Copyright (c) OpenMMLab. All rights reserved.
import pytest
import torch
......
# Copyright (c) OpenMMLab. All rights reserved.
from unittest.mock import patch
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